SW Metrics

Ξ April 29th, 2008 | → 0 Comments |
Tools |, , , |

Collecting SW metrics is a periodic task, usually performed once a month. Some of the tools supporting this task are:

  • CLOC is a perl script capable of counting blank lines, comment lines and general source code lines in languages/tools used by me (C/C++, Java, Perl, Bash, Make).
    It’s very simple to use. Just call cloc <src-dir>.
  • StatCVS is another tool, for projects that are under CVS version control. It gathers the CVS log information and created a toon of HTML information, containing activity reports, time line for the developed LOC, by-developer reports, etc…
    To use, just dump the log by calling cvs log > output.log and then call java -jar statcvs.jar output.log <module>;.