"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of source-highlight-3.1.9.tar.gz (12 Oct 2019, 1717234 Bytes)

About: Source-highlight produces a document with syntax highlighting when given a source file (output formats HTML and XHTML). It also provides a C++ highlight library.



Fossies downloads: /linux/wwwsource-highlight-3.1.9.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 1039  (1023 files within 16 directories)

Histograms of CLOC analysis data of source-highlight-3.1.9.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of source-highlight-3.1.9.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
    1023 text files.
     973 unique files.                              
     413 files ignored.

github.com/AlDanial/cloc v 1.90  T=0.30 s (2004.5 files/s, 288426.2 lines/s)
---------------------------------------------------------------------------------
Language            files     blank   comment      code    scale   3rd gen. equiv
---------------------------------------------------------------------------------
C++                   123      5600      4738     19452 x   1.51 =       29372.52
HTML                  162      1940       630     17268 x   1.90 =       32809.20
C/C++ Header          122      2237      4845      7547 x   1.00 =        7547.00
C                      20      1024       861      5018 x   0.77 =        3863.86
m4                     31       307       455      3342 x   1.00 =        3342.00
make                   13       629       289      2443 x   2.50 =        6107.50
CSS                    51       486        24      2414 x   1.00 =        2414.00
LLVM IR                 5       176         0       871 x   0.90 =         783.90
TeX                     5        19         5       367 x   1.50 =         550.50
JavaScript              1        11       114       338 x   1.48 =         500.24
Logtalk                 1        73         6       270 x   2.00 =         540.00
XML                     4        74         8       260 x   1.90 =         494.00
PHP                     2        51       100       240 x   3.50 =         840.00
Perl                    3        68        98       193 x   4.00 =         772.00
Qt Project              6        38         5       159 x   1.00 =         159.00
XHTML                   1         0         0       126 x   1.90 =         239.40
Lua                     1        24        25       102 x   4.00 =         408.00
awk                     1        23         9        98 x   3.81 =         373.38
lex                     1        33        26        94 x   1.00 =          94.00
yacc                    1        24        19        85 x   1.51 =         128.35
diff                    6         2        61        84 x   1.00 =          84.00
D                       1        18        21        80 x   1.70 =         136.00
Java                   10        28       101        77 x   1.36 =         104.72
Scheme                  1        23         3        69 x   1.51 =         104.19
CoffeeScript            1        27        16        67 x   2.00 =         134.00
Ruby                    2        23         9        67 x   4.20 =         281.40
Erlang                  1         7        35        59 x   2.11 =         124.49
Bourne Shell            2        24         9        54 x   3.81 =         205.74
PO File                 1         5        12        53 x   1.50 =          79.50
Assembly                1        16         4        43 x   0.25 =          10.75
Protocol Buffers        1        10         4        42 x   2.00 =          84.00
Python                  2        16        38        40 x   4.20 =         168.00
Standard ML             1        13         0        40 x   3.00 =         120.00
Haxe                    1         2         7        38 x   2.00 =          76.00
Ada                     1        17        31        37 x   0.52 =          19.24
Cucumber                1         4         1        34 x   3.00 =         102.00
Visual Basic Script     1        10         8        34 x   2.76 =          93.84
Groovy                  1        12         0        29 x   4.10 =         118.90
OCaml                   1         7         2        29 x   3.00 =          87.00
DOS Batch               1         4         3        27 x   0.63 =          17.01
Haskell                 2        15        18        26 x   2.11 =          54.86
Scala                   1         7         6        23 x   4.10 =          94.30
JSON                    1         0         0        22 x   2.50 =          55.00
GLSL                    1         9         7        21 x   2.00 =          42.00
Lisp                    1         9        10        21 x   1.25 =          26.25
COBOL                   1         3         3        19 x   1.04 =          19.76
Vala                    1         1         0        14 x   1.50 =          21.00
Prolog                  1         6         6        13 x   1.25 =          16.25
C#                      1         2         5        11 x   1.36 =          14.96
SQL                     1         3         2        10 x   2.29 =          22.90
Go                      1         3         1         9 x   2.50 =          22.50
Tcl/Tk                  1         5        12         8 x   4.00 =          32.00
Pascal                  1         2         8         7 x   0.88 =           6.16
sed                     4         0         1         4 x   4.00 =          16.00
zsh                     1         0         1         1 x   3.81 =           3.81
---------------------------------------------------------------------------------
SUM:                  610     13170     12702     61899 x   1.52 =       93937.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)