apache / geronimo-specs
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
xsd
properties
txt
eml
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.

main94368 LOC (78%) 3,632 files
test13256 LOC (11%) 180 files
generated0 LOC (0%) 0 files
build and deployment5381 LOC (4%) 87 files
other6842 LOC (5%) 62 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3632 files match defined criteria (94,368 LOC, 100.0% vs. main code):
    • 3,621 *.java files (94,182 LOC)
    • 6 *.html files (120 LOC)
    • 5 *.xml files (66 LOC)
  • " *.java" is biggest, containing 99.8% of LOC.
  • " *.xml" is smallest, containing 0.07% of LOC.


*.java94182 LOC (99%) 3,621 files
*.html120 LOC (<1%) 6 files
*.xml66 LOC (<1%) 5 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
eml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Ss]pecs/.*".
  • 180 files match defined criteria (13,256 LOC, 14.0% vs. main code):
    • 175 *.java files (13,188 LOC)
    • 5 *.eml files (68 LOC)
  • " *.java" is biggest, containing 99.49% of LOC.
  • " *.eml" is smallest, containing 0.51% of LOC.


*.java13188 LOC (99%) 175 files
*.eml68 LOC (<1%) 5 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 ".*[.]sh".
  • 87 files match defined criteria (5,381 LOC, 5.7% vs. main code):
    • 80 *.xml files (5,344 LOC)
    • 7 *.sh files (37 LOC)
  • " *.xml" is biggest, containing 99.31% of LOC.
  • " *.sh" is smallest, containing 0.69% of LOC.


*.xml5344 LOC (99%) 80 files
*.sh37 LOC (<1%) 7 files
Other Code
xsd
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 62 files match defined criteria (6,842 LOC, 7.3% vs. main code):
    • 28 *.xsd files (5,196 LOC)
    • 11 *.txt files (996 LOC)
    • 23 *.properties files (650 LOC)
  • " *.xsd" is biggest, containing 75.94% of LOC.
  • " *.properties" is smallest, containing 9.5% of LOC.


*.xsd5196 LOC (75%) 28 files
*.txt996 LOC (14%) 11 files
*.properties650 LOC (9%) 23 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:26