 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alex Vinokur Guest
|
Posted: Sun Dec 28, 2003 6:46 pm Post subject: Re: Counting program lines except comments |
|
|
"Alex Vinokur" <alexvn (AT) bigfoot (DOT) com> wrote
| Quote: | Is there any tool to count C-program lines except comments?
[snip] |
Counter of C/C++ source lines and bytes can be downloaded at :
http://alexvn.freeservers.com/s1/download.html ("Counter of C/C++ source lines and bytes").
NAME
nlcs - count C/C++ source lines and bytes
SYNOPSIS
nlcs [OPTIONS]... [FILE]...
DESCRIPTION
Count code-lines, empty-lines, comment-lines,
code-fields, empty-fields, comment-fields of C/C++-sources
which have been successfully compiled.
Summary and detailed reports are generated.
Here is Summary Report Sample.
--- Summary Report ---
==================================
| Quote: | : Lines : Bytes |
--------------------------------|
Code Only : 47 : 873 |
Code+Comment : 32 : - |
Comment Only : 20 : 984 |
Empty : 87 : 441 |
................................|
* Total : 186 : 2298 |
================================== |
=====================================
Alex Vinokur
mailto:alexvn (AT) connect (DOT) to
http://mathforum.org/library/view/10978.html
=====================================
|
|
| Back to top |
|
 |
Alex Vinokur Guest
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|