[MonoDevelop] Code Metrics update

Lluis Sanchez Gual slluis.devel at gmail.com
Fri Mar 26 12:25:12 EDT 2010


El ds 20 de 03 de 2010 a les 07:09 +0530, en/na nikhil sarda va
escriure:
> Hi,
> I am posting a patch against the latest svn check out. This diff can
> patch a fresh copy of MD (no need to download beta/alpha versions)
> Apart from the features I implemented earlier, this current update can
> do the following
> 1) Shows metrics by project
> 2) Clicking on items automatically updates the contextual text buffer
> (note that it does not work on the project, coz I have not implemented
> it yet)
> 3) Double clicking takes you to the actual location of the code
> 4) Metrics is calculated MUCH faster (<15 seconds on my machine)
> 5) Tree is updated on the go

This time it worked for me. Nice work!
Just a couple of comments:
      * Sorting doesn't work very well. If I click on a column header I
        get a lot of gtk warnings and it doesn't really sort.
      * The Class Coupling column is always 0

I also have a more general comment: showing the resulting numbers of the
metrics is ok, but it is not very useful to me. For example, I don't
know what Cyclometric Complexity or Afferent Coupling means, and which
values are good or bad. For a metrics add-in to be really useful it has
to collect the data, but it also has to cook it, and present the results
in a way that makes it easy to draw conclusions. I should be able to
quickly see what's good and what's bad about the analyzed code.

Lluis.



More information about the Monodevelop-list mailing list