"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of ossec-hids-3.7.0.tar.gz (17 Jan 16:29, 2518737 Bytes)

About: OSSEC is an host-based intrusion detection system. It performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.



Fossies downloads: /linux/miscossec-hids-3.7.0.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 1768  (1532 files + 1 symlink + within 235 directories)

Histograms of CLOC analysis data of ossec-hids-3.7.0.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of ossec-hids-3.7.0.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
    1518 text files.
     880 unique files.                              
     652 files ignored.

github.com/AlDanial/cloc v 1.92  T=0.88 s (1003.6 files/s, 239049.4 lines/s)
---------------------------------------------------------------------------------------
Language                  files     blank   comment      code    scale   3rd gen. equiv
---------------------------------------------------------------------------------------
C                           355     17406     14888     85655 x   0.77 =       65954.35
XML                         132      2461      2360     20348 x   1.90 =       38661.20
C/C++ Header                164      3477      5911      9693 x   1.00 =        9693.00
HTML                          5      3546        12      8449 x   1.90 =       16053.10
Bourne Shell                 56      1264       931      5166 x   3.81 =       19682.46
MSBuild script                7         1         0      4675 x   1.90 =        8882.50
Assembly                      8      1033      1471      2755 x   0.25 =         688.75
Perl                         15       278       423      1978 x   4.00 =        7912.00
Ada                          10       599       560      1681 x   0.52 =         874.12
make                         13       473       168      1424 x   2.50 =        3560.00
Pascal                        5       219       551      1200 x   0.88 =        1056.00
Markdown                      5       312         0       934 x   1.00 =         934.00
INI                          38       324        50       933 x   1.00 =         933.00
C#                            9       230       506       879 x   1.36 =        1195.44
Visual Studio Solution        6         5         5       645 x   1.00 =         645.00
C++                           5       172       136       599 x   1.51 =         904.49
Windows Module Definition     4        16        17       270 x   1.00 =         270.00
diff                          5        18        80       255 x   1.00 =         255.00
Expect                        5        25        57       208 x   2.00 =         416.00
CMake                         1        32        31       186 x   1.00 =         186.00
YAML                          2        29         4       175 x   0.90 =         157.50
Bourne Again Shell            4        33        37       154 x   3.81 =         586.74
Python                        3        11         5       142 x   4.20 =         596.40
DOS Batch                     7        51        21       140 x   0.63 =          88.20
Windows Resource File         5        16        11       130 x   1.00 =         130.00
SQL                           2        21        19       123 x   2.29 =         281.67
CSS                           2        18         0       105 x   1.00 =         105.00
PHP                           1        19         6        99 x   3.50 =         346.50
Prolog                        1        22         3        41 x   1.25 =          51.25
SAS                           1        14        22        32 x   1.50 =          48.00
m4                            1         5         0        27 x   1.00 =          27.00
NAnt script                   1         7         0        26 x   1.90 =          49.40
Korn Shell                    1         1         5        23 x   3.81 =          87.63
Dockerfile                    1         2         4        20 x   2.00 =          40.00
---------------------------------------------------------------------------------------
SUM:                        880     32140     28294    149170 x   1.22 =      181351.70
---------------------------------------------------------------------------------------

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)