Well, you could read in you someclass.java file and parse it for "if", "while" and other flow control statements and have a counter increment each time one show up...
or have a separate counter for each flow control key word so that you can do you calculations...
In in the process, you get to parse you own file and determine what it cyclometic value is... hopefully its not over 20...
- MaxxDmg...
- ' He who never sleeps... '