"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of sudo-1.9.2.tar.gz (22 Jul 04:27, 3890859 Bytes)

About: Sudo (su "do") allows a system administrator to delegate authority to give certain users the ability to run some commands as root or another user.



Fossies downloads: /linux/miscsudo-1.9.2.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 1005  (1005 files)

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

The corresponding CLOC output data:
     896 text files.
     830 unique files.                              
     415 files ignored.

github.com/AlDanial/cloc v 1.86  T=0.50 s (1046.3 files/s, 544882.3 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
C                    277     12100     17641     85594 x   0.77 =       65907.38
PO File               67     22914     34772     62056 x   1.50 =       93084.00
Bourne Shell          58      1301       989      8370 x   3.81 =       31889.70
C/C++ Header          84      1603      4615      8317 x   1.00 =        8317.00
m4                     7       358       482      5017 x   1.00 =        5017.00
yacc                   2       200       156      1958 x   1.51 =        2956.58
lex                    1       139        90       963 x   1.00 =         963.00
Puppet                 3        79       366       544 x   2.00 =        1088.00
Perl                   3        69        96       417 x   4.00 =        1668.00
Python                10       152       209       345 x   4.20 =        1449.00
sed                    4        14         1       197 x   4.00 =         788.00
Expect                 6         0         0        97 x   2.00 =         194.00
Protocol Buffers       1        14        28        92 x   2.00 =         184.00
-------------------------------------------------------------------------------
SUM:                523     38943     59445    173967 x   1.23 =      213505.66
-------------------------------------------------------------------------------

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)