|
List Info
Thread: Code line counter
|
|
| Code line counter |

|
2006-11-28 10:56:41 |
Hello to all.
Maybe this is not the best list to put this question but
maybe anyone can help
me.
Anyone knows some free program running in linux to count the
number of code
lines in one project.
Maybe something integrated with kdevelop (or not).
If does not exist a plugin for kdevelop maybe is a good
thing to put in the
roadmap to implement
Thanks for any answer.
--
Jorge Almeida
j-almeida criticalsoftware.com
DISCLAIMER: This message may contain confidential
information or privileged material and is intended only for
the individual(s) named. If you are not a named addressee
and mistakenly received this message you should not copy or
otherwise disseminate it: please delete this e-mail from
your system and notify the sender immediately. E-mail
transmissions are not guaranteed to be secure or without
errors as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete or contain viruses.
Therefore, the sender does not accept liability for any
errors or omissions in the contents of this message that
arise as a result of e-mail transmissions. Please request a
hard copy version if verification is required. Critical
Software, SA.
_______________________________________________
kdevelop mailing list
kdevelop barney.cs.uni-potsdam.de
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdev
elop
|
|
| Code line counter |

|
2006-11-28 11:49:33 |
On the command line, the word count program comes with every
Linux. It
can also count lines with the -l option.
e.g.
cd src/
wc -l *.cpp *.hpp
ppl
On 11/28/06, Jorge Almeida <j-almeida criticalsoftware.com> wrote:
>
> Hello to all.
>
> Maybe this is not the best list to put this question
but maybe anyone can help
> me.
>
> Anyone knows some free program running in linux to
count the number of code
> lines in one project.
> Maybe something integrated with kdevelop (or not).
>
> If does not exist a plugin for kdevelop maybe is a good
thing to put in the
> roadmap to implement
>
> Thanks for any answer.
>
> --
> Jorge Almeida
> j-almeida criticalsoftware.com
> DISCLAIMER: This message may contain confidential
information or privileged material and is intended only for
the individual(s) named. If you are not a named addressee
and mistakenly received this message you should not copy or
otherwise disseminate it: please delete this e-mail from
your system and notify the sender immediately. E-mail
transmissions are not guaranteed to be secure or without
errors as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete or contain viruses.
Therefore, the sender does not accept liability for any
errors or omissions in the contents of this message that
arise as a result of e-mail transmissions. Please request a
hard copy version if verification is required. Critical
Software, SA.
>
_______________________________________________
kdevelop mailing list
kdevelop barney.cs.uni-potsdam.de
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdev
elop
|
|
| Code line counter |

|
2006-11-28 12:08:49 |
On 28.11.06 07:49:33, Pierre-Paul Lavoie wrote:
> On the command line, the word count program comes with
every Linux. It
> can also count lines with the -l option.
>
> e.g.
> cd src/
> wc -l *.cpp *.hpp
Which normally doesn't reflect the LOC at all, due to the
large amount
of documentation in good programs ;)
But a simple parser that throws away C/C++ comments and
preprocessor
directives is easily implementable with flex/bison.
Andreas
--
Day of inquiry. You will be subpoenaed.
_______________________________________________
kdevelop mailing list
kdevelop barney.cs.uni-potsdam.de
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdev
elop
|
|
| Code line counter |

|
2006-11-28 12:08:49 |
On 28.11.06 07:49:33, Pierre-Paul Lavoie wrote:
> On the command line, the word count program comes with
every Linux. It
> can also count lines with the -l option.
>
> e.g.
> cd src/
> wc -l *.cpp *.hpp
Which normally doesn't reflect the LOC at all, due to the
large amount
of documentation in good programs ;)
But a simple parser that throws away C/C++ comments and
preprocessor
directives is easily implementable with flex/bison.
Andreas
--
Day of inquiry. You will be subpoenaed.
_______________________________________________
kdevelop mailing list
kdevelop barney.cs.uni-potsdam.de
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdev
elop
|
|
| Code line counter |

|
2006-11-28 12:52:56 |
Yes of course. wc gives what I would call the most trivial
LOC metric.
There are many third party programs that can give you
different
metrics.
Personally I'd go with that instead of trying to implement
my own.
ppl
On 11/28/06, Andreas Pakulat <apaku gmx.de> wrote:
> On 28.11.06 07:49:33, Pierre-Paul Lavoie wrote:
> > On the command line, the word count program comes
with every Linux. It
> > can also count lines with the -l option.
> >
> > e.g.
> > cd src/
> > wc -l *.cpp *.hpp
>
> Which normally doesn't reflect the LOC at all, due to
the large amount
> of documentation in good programs ;)
>
> But a simple parser that throws away C/C++ comments and
preprocessor
> directives is easily implementable with flex/bison.
>
> Andreas
>
> --
> Day of inquiry. You will be subpoenaed.
_______________________________________________
kdevelop mailing list
kdevelop barney.cs.uni-potsdam.de
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdev
elop
|
|
| Code line counter |

|
2006-11-28 12:52:56 |
Yes of course. wc gives what I would call the most trivial
LOC metric.
There are many third party programs that can give you
different
metrics.
Personally I'd go with that instead of trying to implement
my own.
ppl
On 11/28/06, Andreas Pakulat <apaku gmx.de> wrote:
> On 28.11.06 07:49:33, Pierre-Paul Lavoie wrote:
> > On the command line, the word count program comes
with every Linux. It
> > can also count lines with the -l option.
> >
> > e.g.
> > cd src/
> > wc -l *.cpp *.hpp
>
> Which normally doesn't reflect the LOC at all, due to
the large amount
> of documentation in good programs ;)
>
> But a simple parser that throws away C/C++ comments and
preprocessor
> directives is easily implementable with flex/bison.
>
> Andreas
>
> --
> Day of inquiry. You will be subpoenaed.
_______________________________________________
kdevelop mailing list
kdevelop barney.cs.uni-potsdam.de
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdev
elop
|
|
[1-6]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|