October 06, 2005 Re: measuring LoC ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to zwang | Man: "Doctor, when I do this it hurts"
Doctor: "Then - dont do that. That will be $75."
:D
zwang wrote:
> Call me paranoid, but the first thing I throw to LoCd is a zero-byte file. And Bang! Access violation. :)
|
October 06, 2005 Re: measuring LoC ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Thomas Kühne | >> Btw, how is any of you measuring LoC ? (with what tool I mean)
>>
>
> http://thomas.kuehne.cn/tools/locd.html
>
> Thomas
I think it's pretty common to not count lines containing only { or } as a LOC. From a few samples it looks like locd counts such lines.
|
October 06, 2005 Re: measuring LoC ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ben Hinkle | "Ben Hinkle" <ben.hinkle@gmail.com> wrote in message news:di20ka$20ef$1@digitaldaemon.com... > I think it's pretty common to not count lines containing only { or } as a LOC. From a few samples it looks like locd counts such lines. If one wants to go down that path, I'd count # of statements + # of expression nodes + number of declarations. |
October 06, 2005 Re: measuring LoC ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to JT Attachments: | JT schrieb:
> Man: "Doctor, when I do this it hurts"
>
> Doctor: "Then - dont do that. That will be $75."
>
> :D
>
> zwang wrote:
>
>> Call me paranoid, but the first thing I throw to LoCd is a zero-byte file. And Bang! Access violation. :)
;)
Fixed
|
October 06, 2005 Re: measuring LoC ? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruno Medeiros | On Wed, 5 Oct 2005 13:46:22 +0300, Bruno Medeiros wrote: > Btw, how is any of you measuring LoC ? (with what tool I mean) I just found another simple and quick measure. Zip the source up and look at the compressed size. Anything < 750kB is small, < 1500kB medium and beyond that large. The compression ratio is also directly related to your COBOL constant, which defines how fast the bones in your fingertips will start showing due to excessive typing. -K -- Kai Backman, programmer, kai@shorthike.com http://www.ShortHike.com - space station game |
Copyright © 1999-2021 by the D Language Foundation