Public Information for Job 564

Created By: demo
Created At: Wed, 12 Jun 2013 22:26:31 -0500

Input Dataset: 2013 February/SF

Last Submitted At: Wed, 12 Jun 2013 22:26:31 -0500
Last Finished At: Wed, 12 Jun 2013 22:33:19 -0500 (6m 48s)

Source Code

# What are the 5 largest projects, in terms of AST nodes? # Output is in Millions of AST nodes. p: Project = input; top5: output top(5) of string weight int; astCount := 0; visit(p, visitor { # only look at the latest snapshot before n: CodeRepository -> { snapshot := getsnapshot(n); foreach (i: int; def(snapshot[i])) visit(snapshot[i]); stop; } # by default, count all visited nodes before _ -> astCount++; # these nodes are not part of the AST, so do nothing when visiting before Project, ChangedFile -> ; }); top5 << p.project_url weight astCount / 1000000;

Output

Job Output Size: 262 bytes

top5[] = http://sourceforge.net/projects/jnode, 44
top5[] = http://sourceforge.net/projects/adempiere, 39
top5[] = http://sourceforge.net/projects/fudaa, 39
top5[] = http://sourceforge.net/projects/exist, 18
top5[] = http://sourceforge.net/projects/jmlspecs, 18

Compilation

Status: Finished
Started: Wed, 12 Jun 2013 22:26:32 -0500
Finished: Wed, 12 Jun 2013 22:26:35 -0500 (3s)

Execution

Status: Finished
Started: Wed, 12 Jun 2013 22:26:41 -0500
Finished: Wed, 12 Jun 2013 22:33:19 -0500 (6m 38s)