CVS commit analyzer is a set of three Perl scripts designed to generate weekly statistics on CVS activity for the GNOME Project.
The first script, countcommits.pl, receives CVS commit emails on standard input and stores the data in a specified file. The script can be used in conjunction with an Exim filter to feed the relevant data.
The second script, analysecommits.pl, performs analysis on the stored data and generates a list of the top 20 active modules and active developers. The output of this analysis can be seen in the sample output section below.
The third and final script, rotateandmail.pl, rotates the data file and sends an email containing the output of the aforementioned analysis.
Sample Output:
Most Active Modules:
92 galeon
71 SashMo
71 evolution
49 mc
38 libgnome
34 libcompat
33 eazel-hacking
33 libgnomeui
31 gtkhtml
30 gnome-utils
28 web-devel-2
27 dia
25 gtk+
24 gnome-i18n
23 gnome-db
22 gail
21 gtranslator
20 libxslt
19 gtkhtml2
18 libical [97 active modules omitted]
Most Active Developers:
127 martin
45 rodrigo
38 proskin
34 ramiro
32 mmueller
31 menthos
30 rodo
27 damon
26 veillard
25 chatham
24 aheitner
23 kabalak
22 olau
22 kmaraas
22 cyrille
21 atevstef
20 bcameron
19 jirka
16 maubury
16 christof [115 active developers omitted]
The only requirement to use this tool is Perl. Overall, the CVS commit analyser is a simple and useful tool for developers looking to get insights into the CVS activity of the GNOME Project.
Version 0.1: N/A