"Fossies" - the Fresh Open Source Software Archive

CLOC ("Count Lines of Code") analysis of pmd-src-6.26.0.zip (25 Jul 11:36, 14170317 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.26.0.zip  (tar.gz|tar.bz2|tar.xz)
Fossies services: Member browsing
No. of package members: 5736  (4308 files + 1 other within 1427 directories)

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

The corresponding CLOC output data:
    4245 text files.
    4166 unique files.                              
     377 files ignored.

github.com/AlDanial/cloc v 1.86  T=3.03 s (1279.2 files/s, 132253.1 lines/s)
----------------------------------------------------------------------------------------
Language                   files     blank   comment      code    scale   3rd gen. equiv
----------------------------------------------------------------------------------------
Java                         2750     37143     40369    134773 x   1.36 =      183291.28
XML                           682      8811       560    104382 x   1.90 =      198325.80
Markdown                       86      4304         0     14949 x   1.00 =       14949.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        66      4130 x   1.90 =        7847.00
JavaScript                     22       629       869      2215 x   1.48 =        3278.20
HTML                           62       323        86      1828 x   1.90 =        3473.20
Bourne Shell                   21       324       317      1428 x   3.81 =        5440.68
SVG                             3         0         0      1373 x   1.00 =        1373.00
XSLT                           21       120        26      1347 x   1.90 =        2559.30
Kotlin                         23       477       394      1293 x   2.00 =        2586.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       194       495 x   4.20 =        2079.00
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:                        3871     55151     46045    299016 x   1.59 =      476553.98
----------------------------------------------------------------------------------------

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)