"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of cppcheck-2.1.tar.bz2 (13 Jun 18:16, 2480943 Bytes)

About: Cppcheck is a static analysis tool for C/C++ code. It checks for memory leaks, mismatching allocation-deallocation, buffer overrun, and many more.



Fossies downloads: /linux/misccppcheck-2.1.tar.bz2  (tar.gz|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 924  (824 files within 100 directories)

Histograms of CLOC analysis data of cppcheck-2.1.tar.bz2 (y-axes: linear scale)
Histograms of CLOC analysis data of cppcheck-2.1.tar.bz2 (y-axes: logarithm scale)

The corresponding CLOC output data:
     786 text files.
     757 unique files.                              
     115 files ignored.

github.com/AlDanial/cloc v 1.86  T=2.47 s (273.0 files/s, 187238.8 lines/s)
-----------------------------------------------------------------------------------
Language              files     blank   comment      code    scale   3rd gen. equiv
-----------------------------------------------------------------------------------
C++                      220     28554     15608    211366 x   1.51 =      319162.66
XML                       85       819      6659     77302 x   1.90 =      146873.80
Qt Linguist               12       421         0     34916 x   1.00 =       34916.00
C                         74      3264      5647     23901 x   0.77 =       18403.77
C/C++ Header             129      4486      9182     14072 x   1.00 =       14072.00
Python                    42      1586      1395      8768 x   4.20 =       36825.60
Qt                        15         2         0      5328 x   2.00 =       10656.00
HTML                       2        69         3      1242 x   1.90 =        2359.80
Markdown                   7       712         0      1242 x   1.00 =        1242.00
Bourne Shell              22       163       141       718 x   3.81 =        2735.58
CMake                     21       101        28       650 x   1.00 =         650.00
YAML                      10        85       105       625 x   0.90 =         562.50
make                       3       193        24       611 x   2.50 =        1527.50
C#                         1        24        22       285 x   1.36 =         387.60
Qt Project                 8        39         8       268 x   1.00 =         268.00
WiX source                 1        18         1       222 x   1.90 =         421.80
SVG                        3         2         2       171 x   1.00 =         171.00
DOS Batch                  4        24        15       112 x   0.63 =          70.56
Bourne Again Shell         3        19        84       104 x   3.81 =         396.24
Windows Resource File      3         3         2        68 x   1.00 =          68.00
JSON                       3         0         0        43 x   2.50 =         107.50
MSBuild script             1         4         0        41 x   1.90 =          77.90
WiX include                2         3         0        40 x   1.90 =          76.00
ProGuard                   1        10        13        15 x   2.50 =          37.50
INI                        1         2         0        10 x   1.00 =          10.00
-----------------------------------------------------------------------------------
SUM:                    673     40603     38939    382120 x   1.55 =      592079.31
-----------------------------------------------------------------------------------

A hint: This "standard" CLOC analysis has included all package contents files (with the exception of files generated by code-production systems such as GNU autotools). But there exists a perhaps more "realistic" alternative CLOC analysis (among others better suited for an optional codespell check rating) that tries additionally to exclude third party code but also files containing fonts, codepage or character set definitions, dictionaries, names, SVG or non-English languages.
Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  Codespell  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)