apache / tapestry-5
Source Code Overview

Analysis scope, overview of main, test, generated, deployment, build, and other code.

Source Code Analysis Scope
Files includes and excluded from analyses
tml
properties
txt
coffee
xsd
launch
mjs
Overview of Analyzed Files
Basic stats on analyzed files
Intro
For analysis purposes we separate files in scope into several categories: main, test, generated, deployment and build, and other.

  • The main category contains all manually created source code files that are being used in the production.
  • Files in the main category are used as input for other analyses: logical decomposition, concerns, duplication, file size, unit size, and conditional complexity.
  • Test source code files are used only for testing of the product. These files are normally not deployed to production.
  • Build and deployment source code files are used to configure or support build and deployment process.
  • Generated source code files are automatically generated files that have not been manually changed after generation.
  • While a source code folder may contain a number of files, we are primarily interested in the source code files that are being written and maintained by developers.
  • Files containing binaries, documentation, or third-party libraries, for instance, are excluded from analysis. The exception are third-party libraries that have been changed by developers.

main119954 LOC (52%) 1,970 files
test92017 LOC (39%) 2,439 files
generated0 LOC (0%) 0 files
build and deployment1958 LOC (<1%) 44 files
other16510 LOC (7%) 229 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
coffee
tml
launch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1970 files match defined criteria (119,954 LOC, 100.0% vs. main code):
    • 1,833 *.java files (93,692 LOC)
    • 41 *.js files (15,484 LOC)
    • 17 *.css files (4,953 LOC)
    • 30 *.coffee files (3,195 LOC)
    • 31 *.tml files (1,146 LOC)
    • 8 *.xml files (942 LOC)
    • 2 *.g files (215 LOC)
    • 3 *.groovy files (168 LOC)
    • 2 *.html files (87 LOC)
    • 3 *.launch files (72 LOC)
  • " *.java" is biggest, containing 78.11% of LOC.
  • " *.launch" is smallest, containing 0.06% of LOC.


*.java93692 LOC (78%) 1,833 files
*.js15484 LOC (12%) 41 files
*.css4953 LOC (4%) 17 files
*.coffee3195 LOC (2%) 30 files
*.tml1146 LOC (<1%) 31 files
*.xml942 LOC (<1%) 8 files
*.g215 LOC (<1%) 2 files
*.groovy168 LOC (<1%) 3 files
*.html87 LOC (<1%) 2 files
*.launch72 LOC (<1%) 3 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
tml
coffee
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests/.*".
  • 2439 files match defined criteria (92,017 LOC, 76.7% vs. main code):
    • 1,419 *.java files (56,596 LOC)
    • 233 *.groovy files (15,184 LOC)
    • 501 *.tml files (6,414 LOC)
    • 72 *.less files (5,388 LOC)
    • 51 *.js files (4,553 LOC)
    • 71 *.xml files (2,371 LOC)
    • 70 *.css files (1,314 LOC)
    • 12 *.coffee files (120 LOC)
    • 3 *.html files (26 LOC)
    • 2 *.gradle files (25 LOC)
    • 3 *.ts files (19 LOC)
    • 1 *.clj files (5 LOC)
    • 1 *.mjs files (2 LOC)
  • " *.java" is biggest, containing 61.51% of LOC.
  • " *.mjs" is smallest, containing 0% of LOC.


*.java56596 LOC (61%) 1,419 files
*.groovy15184 LOC (16%) 233 files
*.tml6414 LOC (6%) 501 files
*.less5388 LOC (5%) 72 files
*.js4553 LOC (4%) 51 files
*.xml2371 LOC (2%) 71 files
*.css1314 LOC (1%) 70 files
*.coffee120 LOC (<1%) 12 files
*.html26 LOC (<1%) 3 files
*.gradle25 LOC (<1%) 2 files
*.ts19 LOC (<1%) 3 files
*.clj5 LOC (<1%) 1 file
*.mjs2 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 44 files match defined criteria (1,958 LOC, 1.6% vs. main code):
    • 41 *.gradle files (1,695 LOC)
    • 1 *.xml files (188 LOC)
    • 1 *.bat files (68 LOC)
    • 1 *.sh files (7 LOC)
  • " *.gradle" is biggest, containing 86.57% of LOC.
  • " *.sh" is smallest, containing 0.36% of LOC.


*.gradle1695 LOC (86%) 41 files
*.xml188 LOC (9%) 1 file
*.bat68 LOC (3%) 1 file
*.sh7 LOC (<1%) 1 file
Other Code
txt
properties
xsd
tml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]emos?/.*".
  • 229 files match defined criteria (16,510 LOC, 13.8% vs. main code):
    • 101 *.txt files (9,718 LOC)
    • 106 *.properties files (3,100 LOC)
    • 1 *.svg files (2,671 LOC)
    • 7 *.md files (473 LOC)
    • 4 *.xsd files (376 LOC)
    • 6 *.java files (138 LOC)
    • 4 *.tml files (34 LOC)
  • " *.txt" is biggest, containing 58.86% of LOC.
  • " *.tml" is smallest, containing 0.21% of LOC.


*.txt9718 LOC (58%) 101 files
*.properties3100 LOC (18%) 106 files
*.svg2671 LOC (16%) 1 file
*.md473 LOC (2%) 7 files
*.xsd376 LOC (2%) 4 files
*.java138 LOC (<1%) 6 files
*.tml34 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:28