"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of snort-2.9.20.tar.gz (8 Jun 13:42, 7009894 Bytes)

About: Snort is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.



Fossies downloads: / linux / misc / snort-2.9.20.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: CLOC analysis | Meta information | Member browsing
No. of package member files: 1565  (1468 regular files in 97 directories)

Histograms of CLOC analysis data of snort-2.9.20.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of snort-2.9.20.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
    1446 text files.
    1237 unique files.                              
     231 files ignored.

github.com/AlDanial/cloc v 1.92  T=1.14 s (1089.0 files/s, 450608.2 lines/s)
-----------------------------------------------------------------------------------
Language              files     blank   comment      code    scale   3rd gen. equiv
-----------------------------------------------------------------------------------
C                       529     52667     60904    281643 x   0.77 =      216865.11
C/C++ Header            598     11265     27183     43214 x   1.00 =       43214.00
TeX                       1      4563        83     16012 x   1.50 =       24018.00
XML                      24        81         0      8404 x   1.90 =       15967.60
make                     72       662        96      2966 x   2.50 =        7415.00
Bourne Shell              2        29        70       800 x   3.81 =        3048.00
yacc                      1        69        73       497 x   1.51 =         750.47
lex                       1        37        51       210 x   1.00 =         210.00
Windows Message File      1         0         0        51 x   1.00 =          51.00
Perl                      1        13         5        50 x   4.00 =         200.00
CSV                       1        17         0        29 x   0.10 =           2.90
DTD                       1         0         0        26 x   1.90 =          49.40
sed                       1         0         2        14 x   4.00 =          56.00
INI                       1         2        11        10 x   1.00 =          10.00
DOS Batch                 1         8         9         7 x   0.63 =           4.41
Bourne Again Shell        1         2         8         5 x   3.81 =          19.05
Windows Resource File     1         0         0         2 x   1.00 =           2.00
-----------------------------------------------------------------------------------
SUM:                   1237     69415     88495    353940 x   0.88 =      311882.94
-----------------------------------------------------------------------------------

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)