apache / geronimo-arthur
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
txt
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.

main4238 LOC (44%) 37 files
test1680 LOC (17%) 22 files
generated79 LOC (<1%) 1 file
build and deployment939 LOC (9%) 14 files
other2520 LOC (26%) 37 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 ".*".
  • 37 files match defined criteria (4,238 LOC, 100.0% vs. main code). All matches are in *.java files.


*.java4238 LOC (100%) 37 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 ".*[-]tests/.*".
  • 22 files match defined criteria (1,680 LOC, 39.6% vs. main code):
    • 17 *.java files (1,329 LOC)
    • 5 *.xml files (351 LOC)
  • " *.java" is biggest, containing 79.11% of LOC.
  • " *.xml" is smallest, containing 20.89% of LOC.


*.java1329 LOC (79%) 17 files
*.xml351 LOC (20%) 5 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 1 file matches defined criteria (79 LOC, 1.9% vs. main code). All matches are in *.html files.


*.html79 LOC (100%) 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 14 files match defined criteria (939 LOC, 22.2% vs. main code). All matches are in *.xml files.


*.xml939 LOC (100%) 14 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 37 files match defined criteria (2,520 LOC, 59.5% vs. main code):
    • 16 *.adoc files (1,120 LOC)
    • 13 *.java files (1,036 LOC)
    • 2 *.xml files (205 LOC)
    • 2 *.html files (99 LOC)
    • 1 *.json files (41 LOC)
    • 1 *.css files (13 LOC)
    • 1 *.js files (5 LOC)
    • 1 *.txt files (1 LOC)
  • " *.adoc" is biggest, containing 44.44% of LOC.
  • " *.txt" is smallest, containing 0.04% of LOC.


*.adoc1120 LOC (44%) 16 files
*.java1036 LOC (41%) 13 files
*.xml205 LOC (8%) 2 files
*.html99 LOC (3%) 2 files
*.json41 LOC (1%) 1 file
*.css13 LOC (<1%) 1 file
*.js5 LOC (<1%) 1 file
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 22:25