I have been working on the open source IDE, Monodevelop for some time now. The module I was working on was one that measured code quality using several metrics like, depth of inheritance and code source cyclomatic complexity. To do this, I had to use the NRefactory parser infrastructure and walk through the AST. A lof of cool things can be done with it.
Get it here!
http://code.google.com/p/monodevelopcodemetrics/downloads/list
Here are some screenshots.
The TreeView shows the classes in the projects. The right hand side column shows the depth of inheritance.
Expanding the TreeView you get the methods implemented within the class. The right hand side shows cyclomatic complexity.
Expandable inner entries are inner classes.
Tuesday, February 2, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment