"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of re2c-3.0.tar.xz (27 Jan 09:53, 1441456 Bytes)

About: re2c is a lexer generator for C, C++ and Go. It compiles regular expressions to deterministic finite automata and encodes the automata in the form of a program in the target language.



Fossies downloads: /linux/miscre2c-3.0.tar.xz  (tar.gz|tar.bz2|zip)
Fossies services: Member browsing
No. of package members: 3915  (3771 files within 144 directories)

Histograms of CLOC analysis data of re2c-3.0.tar.xz (y-axes: linear scale)
Histograms of CLOC analysis data of re2c-3.0.tar.xz (y-axes: logarithm scale)

The corresponding CLOC output data:
    3631 text files.
    3514 unique files.                              
     289 files ignored.

github.com/AlDanial/cloc v 1.92  T=6.94 s (498.9 files/s, 180318.1 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
C                  1611     15417      8814   1050215 x   0.77 =      808665.55
ReasonML           1570     11850     36853     56746 x   2.50 =      141865.00
C++                 104      3585      2525     33309 x   1.51 =       50296.59
Rust                 29       294       214     19095 x   1.00 =       19095.00
C/C++ Header         82      1312       539      7197 x   1.00 =        7197.00
make                  6       102        46       874 x   2.50 =        2185.00
CMake                10        83       114       794 x   1.00 =         794.00
Bourne Shell         39       147        55       631 x   3.81 =        2404.11
Haskell               3       110        26       604 x   2.11 =        1274.44
m4                    1        36         0       159 x   1.00 =         159.00
JavaScript            1         8        24       108 x   1.48 =         159.84
Markdown              1        29         0        50 x   1.00 =          50.00
Go                    6         1         3         9 x   2.50 =          22.50
reStructuredText      1         5         6         6 x   1.50 =           9.00
-------------------------------------------------------------------------------
SUM:               3464     32979     49219   1169797 x   0.88 =     1034177.03
-------------------------------------------------------------------------------

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)