"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of htmlpurifier-4.15.0.tar.gz (18 Sep 08:27, 662878 Bytes)

About: HTML Purifier is an HTML filtering solution. It tries to remove all malicious code (XSS) and to make sure the HTML is standards compliant.



Fossies downloads: / linux / www / htmlpurifier-4.15.0.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: CLOC analysis | Meta information | Member browsing
No. of package member files: 937  (845 regular files in 92 directories)

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

The corresponding CLOC output data:
     834 text files.
     733 unique files.                              
     110 files ignored.

github.com/AlDanial/cloc v 1.94  T=0.27 s (2695.2 files/s, 252124.3 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
PHP                 508      7120     13118     34369 x   3.50 =      120291.50
HTML                 26       853       164      4324 x   1.90 =        8215.60
Text                170       463         0      3546 x   0.50 =        1773.00
XML                   4       324        11      1836 x   1.90 =        3488.40
DTD                   1       234       254       713 x   1.90 =        1354.70
SVG                   3         0         3       318 x   1.00 =         318.00
XSLT                  1        13        11       229 x   1.90 =         435.10
CSS                   5        47        16       190 x   1.00 =         190.00
diff                  1        13        43        46 x   1.00 =          46.00
JavaScript            2         9         2        45 x   1.48 =          66.60
JSON                  1         0         0        44 x   2.50 =         110.00
YAML                  1         8         0        28 x   0.90 =          25.20
Bourne Shell          3         0         0        24 x   3.81 =          91.44
INI                   6        26        72        24 x   1.00 =          24.00
Markdown              1         9         0        20 x   1.00 =          20.00
-------------------------------------------------------------------------------
SUM:                733      9119     13694     45756 x   2.98 =      136449.54
-------------------------------------------------------------------------------

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)