code metrics

Ary Borenszweig ary at esperanto.org.ar
Mon Nov 12 17:43:06 PST 2007


Robert Fraser escribió:
> BCS Wrote:
> 
>> What is out there for code metric tools?
>>
>> I'm thinking:
>> --cycomatic complexity
>> --KLOC/KSLOC
>> --average/max nesting depth
>> --methods/class
>> --call count from function
>> --call count to function
> 
> Descent's got 'em (descent.ui.metrics)

Well, not all of them, just:
- Lines Of Code in Method
- Number Of Fields
- Number Of Levels
- Number Of Parameters
- Number Of Statements

Since this is a port of Eclipse-Metrics ( 
http://eclipse-metrics.sourceforge.net/ ) for JDT, once Descent supports 
retrieving bindings (i.e.: what type is this variable?), you'll get what 
Eclipse-Metrics offers you. :-)


More information about the Digitalmars-d-learn mailing list