Standard Analyses

SemmleCode Professional comes with a wide range of pre-packaged analyses, from architectural properties and metrics, to statement-level checks for likely bugs and violations of best practice.


Prolific authors

This query shows authors who have contributed to more than 10 classes and interfaces, in order of number of contributions.

How to Interpret the Query Results

Running this query on the source code of the Alfresco content management system yields the following result, displayed as a bar chart:

Every bar represents an author, its height indicating the number of compilation units the author has contributed to. This number is displayed on mouse-over:

The most prolific author for Alfresco seems to be Juergen Hoeller, who has contributed to 1620 classes and interfaces.

How to Address the Query Results

The results of this query are purely informative and do not necessarily indicate specific problems.

Source Code
import default

from string author, Documentable d, int n
where author = d.getAuthor() and
      n = count(RefType t | ((Documentable)t).getAuthor() = author) and
      n > 10
select author as Author,
       n as ContributedTypes
order by ContributedTypes desc
References