"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of opnsense-core-20.7.tar.gz (28 Jul 10:43, 7349405 Bytes)

About: OPNsense core system (GUI, API and systems backend) of the FreeBSD based firewall and routing platform.



Fossies downloads: /linux/miscopnsense-core-20.7.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 2186  (1844 files within 342 directories)

Histograms of CLOC analysis data of opnsense-core-20.7.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of opnsense-core-20.7.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
    1790 text files.
    1779 unique files.                              
     263 files ignored.

github.com/AlDanial/cloc v 1.86  T=1.54 s (996.5 files/s, 174899.9 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
PHP                  474      8514     27100     87122 x   3.50 =      304927.00
SVG                  516         0         1     38179 x   1.00 =       38179.00
XML                   97       272       398     19795 x   1.90 =       37610.50
JavaScript            31      2337      2301     11611 x   1.48 =       17184.28
Pascal                49      3294     11852     11260 x   0.88 =        9908.80
CSS                   14      1412       106      9695 x   1.00 =        9695.00
Python               113      1739      4366      6977 x   4.20 =       29303.40
Sass                  78      1316      1521      6283 x   1.50 =        9424.50
Bourne Shell          84       675      1436      3051 x   3.81 =       11624.31
HTML                  43       287       175      1335 x   1.90 =        2536.50
SQL                    3         5         7       762 x   2.29 =        1744.98
make                   5        92        75       530 x   2.50 =        1325.00
YAML                   2       224      1154       473 x   0.90 =         425.70
LESS                   3        67        16       409 x   1.50 =         613.50
Markdown               7       125         0       310 x   1.00 =         310.00
Perl                   2        48        39       221 x   4.00 =         884.00
D                      9         0         0       110 x   1.70 =         187.00
Forth                  2        10        52        40 x   1.25 =          50.00
JSON                   1         0         0        34 x   2.50 =          85.00
INI                    1         1         1        27 x   1.00 =          27.00
-------------------------------------------------------------------------------
SUM:               1534     20418     50600    198224 x   2.40 =      476045.47
-------------------------------------------------------------------------------

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)