"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of apache-log4j-2.12.4-src.tar.gz (29 Dec 19:08, 8183847 Bytes)

About: Apache Log4j 2 is a logging library for Java. Source distribution (Java).
Caution: Release 2.12.3 is the last 2.x release to support Java 7 (Java 8 users should use 2.17.0 or greater) and have fixed a critical remote code execution vulnerability (CVE-2021-44228).



Fossies downloads: /linux/miscapache-log4j-2.12.4-src.tar.gz  (tar.bz2|tar.xz|zip)
Fossies services: Member browsing
No. of package members: 4016  (2972 files within 1044 directories)

Histograms of CLOC analysis data of apache-log4j-2.12.4-src.tar.gz (y-axes: linear scale)
Histograms of CLOC analysis data of apache-log4j-2.12.4-src.tar.gz (y-axes: logarithm scale)

The corresponding CLOC output data:
    2670 text files.
    2574 unique files.                              
     398 files ignored.

github.com/AlDanial/cloc v 1.92  T=1.87 s (1376.0 files/s, 178294.2 lines/s)
----------------------------------------------------------------------------------------
Language                   files     blank   comment      code    scale   3rd gen. equiv
----------------------------------------------------------------------------------------
Java                        1932     28854     76497    146531 x   1.36 =      199282.16
XML                          420      2039      5326     29216 x   1.90 =       55510.40
Maven                         41       140       931      9400 x   1.90 =       17860.00
JavaScript                     8      2230      2104      8607 x   1.48 =       12738.36
Velocity Template Language    18       426       363      7030 x   1.00 =        7030.00
CSS                            3       950        50      5016 x   1.00 =        5016.00
Markdown                      29       375         0      1417 x   1.00 =        1417.00
Properties                    68       290      1161      1168 x   1.36 =        1588.48
JSON                          20         7         0       759 x   2.50 =        1897.50
YAML                          14       136       733       424 x   0.90 =         381.60
XSD                            3         7        42       227 x   1.90 =         431.30
Bourne Again Shell             1        30        66       140 x   3.81 =         533.40
DTD                            2        40        61       138 x   1.90 =         262.20
DOS Batch                      2        39        17       137 x   0.63 =          86.31
Bourne Shell                  10        32       210        90 x   3.81 =         342.90
JSP                            2         8        28        22 x   1.48 =          32.56
Groovy                         1         0         0         1 x   4.10 =           4.10
----------------------------------------------------------------------------------------
SUM:                        2574     35603     87589    210323 x   1.45 =      304414.27
----------------------------------------------------------------------------------------

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)