"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of sshguard-2.4.1.tar.gz (1 Aug 07:21, 723940 Bytes)

About: sshguard is a log monitor that protects networked hosts from brute force attacks against services, most notably SSH.



Fossies downloads: /linux/miscsshguard-2.4.1.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 86  (78 files within 8 directories)

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

The corresponding CLOC output data:
      78 text files.
      63 unique files.                              
      23 files ignored.

github.com/AlDanial/cloc v 1.86  T=0.19 s (284.6 files/s, 423878.2 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
C                     14      7512      1519     67940 x   0.77 =       52313.80
Bourne Shell          13       161       246       849 x   3.81 =        3234.69
reStructuredText       6       251        17       729 x   1.50 =        1093.50
C/C++ Header          13       201      1178       422 x   1.00 =         422.00
yacc                   1        56        74       244 x   1.51 =         368.44
lex                    1        75       110       183 x   1.00 =         183.00
make                   5        20         0        77 x   2.50 =         192.50
m4                     1         7         0        33 x   1.00 =          33.00
XML                    1         0         0        16 x   1.90 =          30.40
-------------------------------------------------------------------------------
SUM:                 55      8283      3144     70493 x   0.82 =       57871.33
-------------------------------------------------------------------------------

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)