Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
November 12, 2007 code metrics | ||||
---|---|---|---|---|
| ||||
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 |
November 13, 2007 Re: code metrics | ||||
---|---|---|---|---|
| ||||
Posted in reply to BCS | 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)
|
November 13, 2007 Re: code metrics | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert Fraser | 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. :-) |
November 13, 2007 Re: code metrics | ||||
---|---|---|---|---|
| ||||
Posted in reply to Robert Fraser | Reply to Robert,
> 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)
>
Hmm, I guess that might start to cover it. However I was thinking more of a command line tool of tool. MY end goal would be to hook it into the build process or source control so the stats can be monitored over time. For what I'm looking for the tool would have to be fairly well de coupled from anything extraneous.
|
November 13, 2007 Re: code metrics | ||||
---|---|---|---|---|
| ||||
Posted in reply to BCS | 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
Ohloh.net has metrics, but it doesn't support the D programming language.
|
Copyright © 1999-2021 by the D Language Foundation