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
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.

main118187 LOC (52%) 1,949 files
test90490 LOC (40%) 2,398 files
generated0 LOC (0%) 0 files
build and deployment1882 LOC (<1%) 43 files
other15035 LOC (6%) 223 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 ".*".
  • 1949 files match defined criteria (118,187 LOC, 100.0% vs. main code):
    • 1,811 *.java files (91,139 LOC)
    • 42 *.js files (16,331 LOC)
    • 17 *.css files (4,953 LOC)
    • 30 *.coffee files (3,186 LOC)
    • 30 *.tml files (1,069 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)
    • 1 *.yml files (25 LOC)
  • " *.java" is biggest, containing 77.11% of LOC.
  • " *.yml" is smallest, containing 0.02% of LOC.


*.java91139 LOC (77%) 1,811 files
*.js16331 LOC (13%) 42 files
*.css4953 LOC (4%) 17 files
*.coffee3186 LOC (2%) 30 files
*.tml1069 LOC (<1%) 30 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
*.yml25 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
tml
coffee
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 ".*/[Tt]ests/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*[-]tests/.*".
  • 2398 files match defined criteria (90,490 LOC, 76.6% vs. main code):
    • 1,398 *.java files (55,278 LOC)
    • 233 *.groovy files (15,149 LOC)
    • 492 *.tml files (6,277 LOC)
    • 72 *.less files (5,388 LOC)
    • 40 *.js files (4,517 LOC)
    • 72 *.xml files (2,372 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)
  • " *.java" is biggest, containing 61.09% of LOC.
  • " *.clj" is smallest, containing 0.01% of LOC.


*.java55278 LOC (61%) 1,398 files
*.groovy15149 LOC (16%) 233 files
*.tml6277 LOC (6%) 492 files
*.less5388 LOC (5%) 72 files
*.js4517 LOC (4%) 40 files
*.xml2372 LOC (2%) 72 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
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 ".*[.]bat".
  • 43 files match defined criteria (1,882 LOC, 1.6% vs. main code):
    • 41 *.gradle files (1,618 LOC)
    • 1 *.xml files (188 LOC)
    • 1 *.bat files (76 LOC)
  • " *.gradle" is biggest, containing 85.97% of LOC.
  • " *.bat" is smallest, containing 4.04% of LOC.


*.gradle1618 LOC (85%) 41 files
*.xml188 LOC (9%) 1 file
*.bat76 LOC (4%) 1 file
Other Code
txt
properties
xsd
tml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • 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?/.*".
  • 223 files match defined criteria (15,035 LOC, 12.7% vs. main code):
    • 96 *.txt files (8,258 LOC)
    • 106 *.properties files (3,099 LOC)
    • 1 *.svg files (2,671 LOC)
    • 6 *.md files (459 LOC)
    • 4 *.xsd files (376 LOC)
    • 6 *.java files (138 LOC)
    • 4 *.tml files (34 LOC)
  • " *.txt" is biggest, containing 54.93% of LOC.
  • " *.tml" is smallest, containing 0.23% of LOC.


*.txt8258 LOC (54%) 96 files
*.properties3099 LOC (20%) 106 files
*.svg2671 LOC (17%) 1 file
*.md459 LOC (3%) 6 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.


2023-08-10 14:14