#2 Add num metrics and order of metrics

open
nobody
None
5
2009-12-29
2009-12-29
No

I've made some improvements (at least for me) for the metrics.
It seems that in my company some emphasis is made on the amount of documentation, i.e relation between code lines and comment lines.
Also public methods should be documented.
Therefore I have created a number of metrics:
NPM Number of Public Methods
NUPM Number of Undocumented Public Methods
ALOC All Lines Of Code (just line count of the source files)

Furhermore I added a vector for the metrics such that the default order can be preserved from the order in the plugin.xml (which I have also changed to have some hierarchy)

Frans

Discussion

  • frans bouwmans

    frans bouwmans - 2009-12-29

    diff file with changed files

     
  • frans bouwmans

    frans bouwmans - 2009-12-29

    New calculator for AllLinesOfFile

     
  • G.B.

    G.B. - 2010-01-06

    Thanks for sharing,
    I'll see what I can add directly in the plugin.
    I'm not sure to see how you use the result of the ALOC compared to the TLOC

     

Log in to post a comment.