"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of samhain-4.4.2.tar.gz (1 Aug 12:51, 2163060 Bytes)

About: Samhain is a file integrity / host-based intrusion detection system (HIDS). It provides file integrity checking and logfile monitoring/analysis, as well as rootkit detection, port monitoring, detection of rogue SUID executables, and hidden processes.



Fossies downloads: /linux/miscsamhain-4.4.2.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 341  (329 files within 12 directories)

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

The corresponding CLOC output data:
     316 text files.
     298 unique files.                              
      92 files ignored.

github.com/AlDanial/cloc v 1.86  T=0.32 s (702.5 files/s, 437215.3 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
C                    102     15816     10233     81556 x   0.77 =       62798.12
Bourne Shell          33      1351      1573      9360 x   3.81 =       35661.60
Assembly               1         0         0      5756 x   0.25 =        1439.00
C/C++ Header          74      1536      2140      3591 x   1.00 =        3591.00
HTML                   8       367       539      2613 x   1.90 =        4964.70
m4                     1       288       138      2455 x   1.00 =        2455.00
Perl                   3       114       144       280 x   4.00 =        1120.00
XSLT                   1         9         0       138 x   1.90 =         262.20
PHP                    1         5         9        18 x   3.50 =          63.00
DTD                    1         0         0        11 x   1.90 =          20.90
-------------------------------------------------------------------------------
SUM:                225     19486     14776    105778 x   1.06 =      112375.52
-------------------------------------------------------------------------------

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)