Description
Author/Programmer: Axel Gerstmair
Date: Summer, 1999
A small program that counts lines of code and shows some other statistics about one or more files.
Features
- counts lines and bytes of code, comment, and whitespace
- processes one or more files, which can be specified through wildcards (*.*)
- subdirectories can be processed recursively
- shows statistics summary for all processed files
- supports C, C++, Java, Perl, Pascal, and SQL files
- file type support can be easily extended
Files
The code is written in C++ but I have used only a few conveniences of C++, such as references (no object orientation!).
- COPYING
- COPYRIGHT
- README
- TODO
- codestat.cpp
- codestat.h
- codestat.exe
You can download both the source code and the binary, whichever you please. The binary is a DOS executable and should run without any problems in a command prompt under Windows 9x/NT/2000/XP etc. It has been compiled with DJGPP.
Download (14.9 kB, .zip, English) - Source code
Download (50.8 kB, .zip, English) - Binary (DOS executable)