"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of Openswan-3.0.0.tar.gz (22 Jan 19:25, 10507480 Bytes)

About: Openswan is an implementation of IPsec for the Linux operating system (code fork of the terminated FreeS/WAN project). Latest release (github.com).



Fossies downloads: /linux/miscOpenswan-3.0.0.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 3972  (3419 files + 33 symlinks within 520 directories)

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

The corresponding CLOC output data:
    3195 text files.
    2849 unique files.                              
    1736 files ignored.

github.com/AlDanial/cloc v 1.88  T=1.82 s (821.0 files/s, 305841.1 lines/s)
--------------------------------------------------------------------------------
Language           files     blank   comment      code    scale   3rd gen. equiv
--------------------------------------------------------------------------------
diff                  67       666      5024    222847 x   1.00 =      222847.00
C                    581     25814     27524    146886 x   0.77 =      113102.22
XML                  207      2912       293     33421 x   1.90 =       63499.90
HTML                  29       497       461     17450 x   1.90 =       33155.00
C/C++ Header         229      4393      9402     16832 x   1.00 =       16832.00
make                 199      1735      2143      4823 x   2.50 =       12057.50
PO File               17       861      3435      4388 x   1.50 =        6582.00
SVG                    4        50       328      4274 x   1.00 =        4274.00
Assembly               4       402       456      3881 x   0.25 =         970.25
Perl                  24       965       562      3863 x   4.00 =       15452.00
Bourne Shell          78       585       730      2674 x   3.81 =       10187.94
yacc                   2       142        98       769 x   1.51 =        1161.19
Objective-C            6       183       135       697 x   2.96 =        2063.12
Python                 3       266       143       688 x   4.20 =        2889.60
Pascal                 1       140         0       506 x   0.88 =         445.28
Bourne Again Shell     4       117        38       448 x   3.81 =        1706.88
lex                    2       109        87       443 x   1.00 =         443.00
SWIG                   4        92        84       337 x   2.50 =         842.50
D                      7        67         0       289 x   1.70 =         491.30
Markdown               7        83         0       233 x   1.00 =         233.00
sed                   16         2         0        78 x   4.00 =         312.00
YAML                   1        11         1        57 x   0.90 =          51.30
NAnt script            1         3         0        14 x   1.90 =          26.60
Protocol Buffers       1         2         0         8 x   2.00 =          16.00
Lisp                   1         1         0         3 x   1.25 =           3.75
--------------------------------------------------------------------------------
SUM:                1495     40098     50944    465909 x   1.09 =      509645.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)