apache / deltaspike
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
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.

main43383 LOC (44%) 731 files
test36289 LOC (36%) 996 files
generated0 LOC (0%) 0 files
build and deployment4036 LOC (4%) 42 files
other14388 LOC (14%) 242 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 ".*".
  • 731 files match defined criteria (43,383 LOC, 100.0% vs. main code):
    • 700 *.java files (42,241 LOC)
    • 1 *.js files (437 LOC)
    • 27 *.xml files (301 LOC)
    • 1 *.erb files (219 LOC)
    • 1 *.html files (139 LOC)
    • 1 *.rdf files (46 LOC)
  • " *.java" is biggest, containing 97.37% of LOC.
  • " *.rdf" is smallest, containing 0.11% of LOC.


*.java42241 LOC (97%) 700 files
*.js437 LOC (1%) 1 file
*.xml301 LOC (<1%) 27 files
*.erb219 LOC (<1%) 1 file
*.html139 LOC (<1%) 1 file
*.rdf46 LOC (<1%) 1 file
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[.].*".
  • 996 files match defined criteria (36,289 LOC, 83.6% vs. main code):
    • 949 *.java files (35,519 LOC)
    • 22 *.xhtml files (433 LOC)
    • 25 *.xml files (337 LOC)
  • " *.java" is biggest, containing 97.88% of LOC.
  • " *.xml" is smallest, containing 0.93% of LOC.


*.java35519 LOC (97%) 949 files
*.xhtml433 LOC (1%) 22 files
*.xml337 LOC (<1%) 25 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".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/assembly[.]xml".
  • 42 files match defined criteria (4,036 LOC, 9.3% vs. main code):
    • 40 *.xml files (4,023 LOC)
    • 2 *.sh files (13 LOC)
  • " *.xml" is biggest, containing 99.68% of LOC.
  • " *.sh" is smallest, containing 0.32% of LOC.


*.xml4023 LOC (99%) 40 files
*.sh13 LOC (<1%) 2 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/asciidoc/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 242 files match defined criteria (14,388 LOC, 33.2% vs. main code):
    • 39 *.adoc files (8,486 LOC)
    • 65 *.java files (1,647 LOC)
    • 33 *.txt files (1,337 LOC)
    • 35 *.xml files (1,155 LOC)
    • 28 *.xhtml files (778 LOC)
    • 32 *.properties files (718 LOC)
    • 8 *.md files (238 LOC)
    • 2 *.html files (29 LOC)
  • " *.adoc" is biggest, containing 58.98% of LOC.
  • " *.html" is smallest, containing 0.2% of LOC.


*.adoc8486 LOC (58%) 39 files
*.java1647 LOC (11%) 65 files
*.txt1337 LOC (9%) 33 files
*.xml1155 LOC (8%) 35 files
*.xhtml778 LOC (5%) 28 files
*.properties718 LOC (4%) 32 files
*.md238 LOC (1%) 8 files
*.html29 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:32