Ryan Davis
8/25/2007 11:28:00 AM
On Aug 25, 2007, at 04:24 , Ryan Davis wrote:
>
> On Aug 24, 2007, at 07:52 , Sam Pierson wrote:
>
>> To normalize the "final score" shouldn't it be divided by the
>> number of
>> lines of code to indicate an overall complexity metric?
>
> the flog total score is an overall complexity metric.
>
> dividing.by.loc.is.bad ==
>
> dividing.
> by.
> loc.
> is.
> bad
Just in case the above is unclear... it is completely valid ruby syntax:
% flog
dividing.by.loc.is.bad ==
dividing.
by.
loc.
is.
bad
^d
Total score = 17.0
main#none: (17.0)
4.0: dividing
3.6: by
3.2: loc
2.8: is
2.4: bad
1.0: ==