|
|
JavaNCSS - Filtering Getters and Setters
|
|
|
| |
November 25th 2009
|
Here's a really simple program which takes JavaNCSS output and filters out the getters and setters, since these can obscure the average complexity scores pretty significantly. If you have a bunch of DTO or model classes, your average complexity can look really low, even if other classes are very complex.
You can use it like so...
c:\> javancss –function –recursive c:\codebase\myproj\src | java FilterGettersAndSetters
Here is the class file and here is the source. Let me know if it doesn't work!
|
|
I'm currently living in Pittsburgh, PA, working as a Senior Technical Consultant for Summa, and just finished up my Masters degree in Philosophy. (thesis here!) My blog is mostly on understanding how to better analyze, make, and influence decisions in the world of enterprise software development. Subscribe here or write me at ben_northrop at yahoo dot com.
|
Comments (0)
None so far!
|
|