"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of scalpel-2.0.tar.gz (20 Apr 2011, 1436379 Bytes)

About: Scalpel is a file carver that reads a database of header and footer definitions and extracts matching files or data fragments from a set of image files or raw device files (useful for digital forensics investigation or file recovery).



Fossies downloads: /linux/misc/oldscalpel-2.0.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 306  (279 files within 27 directories)

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

The corresponding CLOC output data:
     247 text files.
     113 unique files.                              
     166 files ignored.

github.com/AlDanial/cloc v 1.92  T=0.09 s (1279.2 files/s, 400506.6 lines/s)
---------------------------------------------------------------------------------------
Language                  files     blank   comment      code    scale   3rd gen. equiv
---------------------------------------------------------------------------------------
C                            28      2547      2265     13406 x   0.77 =       10322.62
make                         26       698       406      5644 x   2.50 =       14110.00
m4                           19       213       268      2731 x   1.00 =        2731.00
C/C++ Header                 25       999      1670      2360 x   1.00 =        2360.00
HTML                          2       134         0      1102 x   1.90 =        2093.80
PO File                       2        60        72       384 x   1.50 =         576.00
Bourne Shell                  5        43        41       196 x   3.81 =         746.76
Python                        2        11        18        36 x   4.20 =         151.20
CSS                           1         1         0        34 x   1.00 =          34.00
Windows Module Definition     1         1         0        22 x   1.00 =          22.00
sed                           2         0         0        16 x   4.00 =          64.00
---------------------------------------------------------------------------------------
SUM:                        113      4707      4740     25931 x   1.28 =       33211.38
---------------------------------------------------------------------------------------

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)