apache / aries-rsa
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
txt
proto
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.

main9937 LOC (56%) 125 files
test5480 LOC (31%) 69 files
generated0 LOC (0%) 0 files
build and deployment1587 LOC (8%) 21 files
other636 LOC (3%) 31 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 ".*".
  • 125 files match defined criteria (9,937 LOC, 100.0% vs. main code):
    • 123 *.java files (9,870 LOC)
    • 2 *.xml files (67 LOC)
  • " *.java" is biggest, containing 99.33% of LOC.
  • " *.xml" is smallest, containing 0.67% of LOC.


*.java9870 LOC (99%) 123 files
*.xml67 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
proto
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 69 files match defined criteria (5,480 LOC, 55.1% vs. main code):
    • 59 *.java files (5,181 LOC)
    • 9 *.xml files (273 LOC)
    • 1 *.proto files (26 LOC)
  • " *.java" is biggest, containing 94.54% of LOC.
  • " *.proto" is smallest, containing 0.47% of LOC.


*.java5181 LOC (94%) 59 files
*.xml273 LOC (4%) 9 files
*.proto26 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 21 files match defined criteria (1,587 LOC, 16.0% vs. main code):
    • 20 *.xml files (1,581 LOC)
    • 1 *.sh files (6 LOC)
  • " *.xml" is biggest, containing 99.62% of LOC.
  • " *.sh" is smallest, containing 0.38% of LOC.


*.xml1581 LOC (99%) 20 files
*.sh6 LOC (<1%) 1 file
Other Code
xsd
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
  • 31 files match defined criteria (636 LOC, 6.4% vs. main code):
    • 14 *.md files (261 LOC)
    • 9 *.xml files (194 LOC)
    • 6 *.java files (125 LOC)
    • 1 *.xsd files (55 LOC)
    • 1 *.properties files (1 LOC)
  • " *.md" is biggest, containing 41.04% of LOC.
  • " *.properties" is smallest, containing 0.16% of LOC.


*.md261 LOC (41%) 14 files
*.xml194 LOC (30%) 9 files
*.java125 LOC (19%) 6 files
*.xsd55 LOC (8%) 1 file
*.properties1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:58