"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of pmd-src-6.25.0.zip (27 Jun 09:21, 15125457 Bytes)

About: PMD is a source code analyzer for Java, JavaScript, XML and others. It finds unused variables, empty catch blocks, unnecessary object creation, and so forth. Sources (Java).



Fossies downloads: /linux/miscpmd-src-6.25.0.zip  (tar.gz|tar.bz2|tar.xz)
Fossies services: Member browsing
No. of package members: 5726  (4299 files + 1 other within 1426 directories)

Histograms of CLOC analysis data of pmd-src-6.25.0.zip (y-axes: linear scale)
Histograms of CLOC analysis data of pmd-src-6.25.0.zip (y-axes: logarithm scale)

The corresponding CLOC output data:
    4236 text files.
    4157 unique files.                              
     377 files ignored.

github.com/AlDanial/cloc v 1.86  T=2.98 s (1295.0 files/s, 132032.1 lines/s)
----------------------------------------------------------------------------------------
Language                   files     blank   comment      code    scale   3rd gen. equiv
----------------------------------------------------------------------------------------
Java                         2743     36757     39981    132934 x   1.36 =      180790.24
XML                           680      8378       577    101047 x   1.90 =      191989.30
Markdown                       86      4281         0     14863 x   1.00 =       14863.00
Apex Class                     14       365       712     12229 x   1.50 =       18343.50
CSS                            11       396       116      7250 x   1.00 =        7250.00
ANTLR Grammar                   7       765       764      5678 x   2.00 =       11356.00
Maven                          38       234        63      4158 x   1.90 =        7900.20
JavaScript                     22       629       869      2215 x   1.48 =        3278.20
HTML                           62       323        86      1828 x   1.90 =        3473.20
Bourne Shell                   21       323       317      1424 x   3.81 =        5425.44
SVG                             3         0         0      1373 x   1.00 =        1373.00
XSLT                           21       120        26      1347 x   1.90 =        2559.30
Kotlin                         23       477       394      1295 x   2.00 =        2590.00
YAML                           15        68        51       836 x   0.90 =         752.40
Swift                           6       136       278       773 x   2.50 =        1932.50
Scala                          10       155       307       766 x   4.10 =        3140.60
Go                              3       108        78       543 x   2.50 =        1357.50
MATLAB                          6       181       386       527 x   4.00 =        2108.00
Ruby                           12       204       191       492 x   4.20 =        2066.40
SQL                             7        93       241       365 x   2.29 =         835.85
XSD                             4        21         4       258 x   1.90 =         490.20
JSON                           10        11         0       238 x   2.50 =         595.00
DOS Batch                       8        47         0       222 x   0.63 =         139.86
Python                          3        38        46       205 x   4.20 =         861.00
Bourne Again Shell              1        57        63       204 x   3.81 =         777.24
C++                            13        31        16       171 x   1.51 =         258.21
Objective C                     3        41        26       156 x   2.96 =         461.76
Fortran 77                      1        21        31       116 x   0.75 =          87.00
Dart                           11         5        22        68 x   2.00 =         136.00
C#                              8         8         7        53 x   1.36 =          72.08
Groovy                          1        19        12        50 x   4.10 =         205.00
DTD                             1         0         0        32 x   1.90 =          60.80
Dockerfile                      1         7         0        19 x   2.00 =          38.00
JSP                             2         2         3        19 x   1.48 =          28.12
Lua                             2         3         1        11 x   4.00 =          44.00
Velocity Template Language      1         1         0         7 x   1.00 =           7.00
TypeScript                      1         3         0         6 x   2.00 =          12.00
Visualforce Page                1         0         0         1 x   1.90 =           1.90
----------------------------------------------------------------------------------------
SUM:                        3862     54308     45668    293779 x   1.59 =      467659.80
----------------------------------------------------------------------------------------

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)