"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of iptables-1.8.7.tar.bz2 (15 Jan 23:12, 717862 Bytes)

About: iptables is the userspace tool built on top of netfilter: the new packet alteration/filtering framework for Linux 2.4/2.6.



Fossies downloads: /linux/misciptables-1.8.7.tar.bz2  (tar.gz|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 803  (766 files within 37 directories)

Histograms of CLOC analysis data of iptables-1.8.7.tar.bz2 (y-axes: linear scale)
Histograms of CLOC analysis data of iptables-1.8.7.tar.bz2 (y-axes: logarithm scale)

The corresponding CLOC output data:
     766 text files.
     736 unique files.                              
     395 files ignored.

github.com/AlDanial/cloc v 1.88  T=0.22 s (1665.5 files/s, 340900.5 lines/s)
--------------------------------------------------------------------------------
Language           files     blank   comment      code    scale   3rd gen. equiv
--------------------------------------------------------------------------------
C                    166      7933      2905     50004 x   0.77 =       38503.08
C/C++ Header         140      1478      2110      6047 x   1.00 =        6047.00
Bourne Again Shell    44       487       150      1836 x   3.81 =        6995.16
XML                    1       146         7       772 x   1.90 =        1466.80
Bourne Shell           9       111        55       714 x   3.81 =        2720.34
Python                 2        90        68       343 x   4.20 =        1440.60
m4                     1        34         0       240 x   1.00 =         240.00
make                   7        38        13       219 x   2.50 =         547.50
XSLT                   1        12        24       102 x   1.90 =         193.80
--------------------------------------------------------------------------------
SUM:                 371     10329      5332     60277 x   0.96 =       58154.28
--------------------------------------------------------------------------------

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)