Recognized extensions are: .cs .c .cpp .h .idl .odl .rc .rc2 .inl .java .bas .cls .frm
This section
file name total code
--------------------------------------------------------- ------- -------
The next set of sections shows a summary for each project directory found. A project is a sub-directory under the starting directory. Here's a sample:
-------------------------------------------------------------------------------
Project: astyle
Total dirs : 17
Total files : 370
Total source files : 329
----------------------------
.cpp files : 307 (35068 lines)
.h files : 22 ( 2494 lines)
----------------------------
Total 0 length files : 0
Total 0 comment files: 143
Largest file : ./astyle/astyleOrig/ASBeautifier.cpp ( 1830 lines)
Total switches : 41
Total classes : 49
Total lines : 37562
Code lines : 26510
Percent code lines : 71%
There is a final summary section that gives the same information but across all projects.
Typical Output:
file name total code
--------------------------------------------------------- ------- -------
./astyle/astyle/ASBeautifier.cpp 1430 1108 77%
./astyle/astyle/ASBeautifier.h 72 62 86%
./w32chat/w32chat.h 9 7 78%
./w32chat/w32chat.rc 149 70 47%
-------------------------------------------------------------------------------
Project: astyle
Total dirs : 17
Total files : 370
Total source files : 329
----------------------------
.cpp files : 307 (35068 lines)
.h files : 22 ( 2494 lines)
----------------------------
Total 0 length files : 0
Total 0 comment files: 143
Largest file : ./astyle/astyleOrig/ASBeautifier.cpp ( 1830 lines)
Total switches : 41
Total classes : 49
Total lines : 37562
Code lines : 26510
Percent code lines : 71%
-------------------------------------------------------------------------------
Totals:
Total dirs : 77
Total files : 910
Total source files : 555
----------------------------
.c files : 2 ( 213 lines)
.cpp files : 339 (38605 lines)
.cs files : 37 ( 4244 lines)
.h files : 65 ( 3750 lines)
.java files : 111 (12035 lines)
.rc files : 1 ( 149 lines)
----------------------------
Total 0 length files : 1
Total 0 comment files: 148
Largest file : ./astyle/astyleOrig/ASBeautifier.cpp ( 1830 lines)
Total switches : 51
Total classes : 247
Total lines : 58996
Code lines : 42885
Percent code lines : 73%