"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of mrtg-2.17.10.tar.gz (19 Jan 11:25, 1084792 Bytes)

About: MRTG (Multi Router Traffic Grapher) monitors the traffic load on network links and generate HTML pages to see this traffic load over time in graphical form.



Fossies downloads: /linux/miscmrtg-2.17.10.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 623  (532 files + 4 symlinks within 87 directories)

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

The corresponding CLOC output data:
     509 text files.
     234 unique files.                              
     302 files ignored.

github.com/AlDanial/cloc v 1.92  T=0.18 s (1298.1 files/s, 306396.0 lines/s)
--------------------------------------------------------------------------------
Language           files     blank   comment      code    scale   3rd gen. equiv
--------------------------------------------------------------------------------
Perl                 133      6939     10029     26371 x   4.00 =      105484.00
C                     17       569       568      4464 x   0.77 =        3437.28
HTML                  27       310       113      1061 x   1.90 =        2015.90
Bourne Again Shell     8       127       293       998 x   3.81 =        3802.38
ASP                    6       110        82       740 x   1.29 =         954.60
PHP                    9        81        32       489 x   3.50 =        1711.50
CSS                    2        46         5       396 x   1.00 =         396.00
awk                    3         9        53       225 x   3.81 =         857.25
m4                     1        32         6       184 x   1.00 =         184.00
Bourne Shell          12        37        92       181 x   3.81 =         689.61
C/C++ Header           5        32        28       101 x   1.00 =         101.00
Korn Shell             1        26        29        94 x   3.81 =         358.14
C Shell                2        15        31        51 x   3.81 =         194.31
make                   2        22        10        50 x   2.50 =         125.00
DOS Batch              5        23         1        33 x   0.63 =          20.79
diff                   1         1        22        20 x   1.00 =          20.00
--------------------------------------------------------------------------------
SUM:                 234      8379     11394     35458 x   3.39 =      120351.76
--------------------------------------------------------------------------------

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)