"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of ntp-4.2.8p15.tar.gz (23 Jun 11:24, 7015970 Bytes)

About: NTP is the the Official Reference Implementation of the Network Time Protocol (NTP) that synchronize the clocks of computers over a network.



Fossies downloads: /linux/miscntp-4.2.8p15.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 1981  (1816 files within 165 directories)

Histograms of CLOC analysis data of ntp-4.2.8p15.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of ntp-4.2.8p15.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
    1730 text files.
    1596 unique files.                              
     396 files ignored.

github.com/AlDanial/cloc v 1.86  T=1.05 s (1271.9 files/s, 452845.8 lines/s)
---------------------------------------------------------------------------------------
Language                  files     blank   comment      code    scale   3rd gen. equiv
---------------------------------------------------------------------------------------
C                            598     41370     59505    220374 x   0.77 =      169687.98
C/C++ Header                 367      8641     27687     31709 x   1.00 =       31709.00
HTML                         122      1013       479     26297 x   1.90 =       49964.30
m4                            44      1004       708     10818 x   1.00 =       10818.00
MSBuild script                17         0         0      9595 x   1.90 =       18230.50
Windows Module Definition     24       289         5      9193 x   1.00 =        9193.00
XML                           37         0         0      7411 x   1.90 =       14080.90
Perl                          14       724       335      4147 x   4.00 =       16588.00
make                          41       987       335      3528 x   2.50 =        8820.00
Bourne Shell                  31       361       419      2232 x   3.81 =        8503.92
yacc                           1       193        94      1524 x   1.51 =        2301.24
Python                         3       344       166      1407 x   4.20 =        5909.40
Ruby                           8       179       118       817 x   4.20 =        3431.40
awk                            9         4       313       417 x   3.81 =        1588.77
DOS Batch                      3       117        94       344 x   0.63 =         216.72
Markdown                       1        47         0       120 x   1.00 =         120.00
CSS                            2        36         0        92 x   1.00 =          92.00
sed                            4         2         8        64 x   4.00 =         256.00
Korn Shell                     1        16        21        48 x   3.81 =         182.88
YAML                           3         3        12        42 x   0.90 =          37.80
Assembly                       5         0         0        37 x   0.25 =           9.25
Windows Message File           1         7       134        20 x   1.00 =          20.00
Windows Resource File          1         0         0         2 x   1.00 =           2.00
---------------------------------------------------------------------------------------
SUM:                       1337     55337     90433    330238 x   1.07 =      351763.06
---------------------------------------------------------------------------------------

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)