apache / tomee-site-generator
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
gsp
txt
htaccess
properties
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.

main20851 LOC (85%) 245 files
test3181 LOC (13%) 41 files
generated0 LOC (0%) 0 files
build and deployment186 LOC (<1%) 1 file
other120 LOC (<1%) 4 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
gsp
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 245 files match defined criteria (20,851 LOC, 100.0% vs. main code):
    • 178 *.adoc files (10,951 LOC)
    • 41 *.java files (3,713 LOC)
    • 5 *.js files (3,655 LOC)
    • 4 *.css files (1,942 LOC)
    • 14 *.gsp files (577 LOC)
    • 1 *.yml files (7 LOC)
    • 2 *.html files (6 LOC)
  • " *.adoc" is biggest, containing 52.52% of LOC.
  • " *.html" is smallest, containing 0.03% of LOC.


*.adoc10951 LOC (52%) 178 files
*.java3713 LOC (17%) 41 files
*.js3655 LOC (17%) 5 files
*.css1942 LOC (9%) 4 files
*.gsp577 LOC (2%) 14 files
*.yml7 LOC (<1%) 1 file
*.html6 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 41 files match defined criteria (3,181 LOC, 15.3% vs. main code):
    • 13 *.adoc files (2,145 LOC)
    • 28 *.java files (1,036 LOC)
  • " *.adoc" is biggest, containing 67.43% of LOC.
  • " *.java" is smallest, containing 32.57% of LOC.


*.adoc2145 LOC (67%) 13 files
*.java1036 LOC (32%) 28 files
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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (186 LOC, 0.9% vs. main code). All matches are in *.xml files.


*.xml186 LOC (100%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]htaccess".
  • 4 files match defined criteria (120 LOC, 0.6% vs. main code):
    • 2 *.txt files (53 LOC)
    • 1 *.adoc files (48 LOC)
    • 1 *.properties files (19 LOC)
  • " *.txt" is biggest, containing 44.17% of LOC.
  • " *.properties" is smallest, containing 15.83% of LOC.


*.txt53 LOC (44%) 2 files
*.adoc48 LOC (40%) 1 file
*.properties19 LOC (15%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 18:34