apache / aries
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
ddl
ini
cfg
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.

main82749 LOC (47%) 1,084 files
test48514 LOC (27%) 659 files
generated0 LOC (0%) 0 files
build and deployment14232 LOC (8%) 154 files
other29398 LOC (16%) 320 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 ".*".
  • 1084 files match defined criteria (82,749 LOC, 100.0% vs. main code):
    • 1,043 *.java files (81,840 LOC)
    • 21 *.xml files (713 LOC)
    • 10 *.html files (102 LOC)
    • 10 *.groovy files (94 LOC)
  • " *.java" is biggest, containing 98.9% of LOC.
  • " *.groovy" is smallest, containing 0.11% of LOC.


*.java81840 LOC (98%) 1,043 files
*.xml713 LOC (<1%) 21 files
*.html102 LOC (<1%) 10 files
*.groovy94 LOC (<1%) 10 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 659 files match defined criteria (48,514 LOC, 58.6% vs. main code):
    • 598 *.java files (47,053 LOC)
    • 58 *.xml files (1,433 LOC)
    • 1 *.jsp files (25 LOC)
    • 2 *.cfg files (3 LOC)
  • " *.java" is biggest, containing 96.99% of LOC.
  • " *.cfg" is smallest, containing 0.01% of LOC.


*.java47053 LOC (96%) 598 files
*.xml1433 LOC (2%) 58 files
*.jsp25 LOC (<1%) 1 file
*.cfg3 LOC (<1%) 2 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".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
  • 154 files match defined criteria (14,232 LOC, 17.2% vs. main code):
    • 146 *.xml files (14,087 LOC)
    • 6 *.sh files (93 LOC)
    • 2 *.bat files (52 LOC)
  • " *.xml" is biggest, containing 98.98% of LOC.
  • " *.bat" is smallest, containing 0.37% of LOC.


*.xml14087 LOC (98%) 146 files
*.sh93 LOC (<1%) 6 files
*.bat52 LOC (<1%) 2 files
Other Code
xsd
properties
ddl
ini
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]ini".
  • 320 files match defined criteria (29,398 LOC, 35.5% vs. main code):
    • 150 *.java files (12,396 LOC)
    • 46 *.xsd files (5,218 LOC)
    • 51 *.xml files (4,007 LOC)
    • 23 *.jsp files (3,631 LOC)
    • 2 *.css files (1,370 LOC)
    • 14 *.properties files (562 LOC)
    • 2 *.adoc files (487 LOC)
    • 9 *.html files (467 LOC)
    • 7 *.md files (454 LOC)
    • 4 *.ddl files (360 LOC)
    • 3 *.ini files (289 LOC)
    • 7 *.txt files (132 LOC)
    • 1 *.bat files (21 LOC)
    • 1 *.sh files (4 LOC)
  • " *.java" is biggest, containing 42.17% of LOC.
  • " *.sh" is smallest, containing 0.01% of LOC.


*.java12396 LOC (42%) 150 files
*.xsd5218 LOC (17%) 46 files
*.xml4007 LOC (13%) 51 files
*.jsp3631 LOC (12%) 23 files
*.css1370 LOC (4%) 2 files
*.properties562 LOC (1%) 14 files
*.adoc487 LOC (1%) 2 files
*.html467 LOC (1%) 9 files
*.md454 LOC (1%) 7 files
*.ddl360 LOC (1%) 4 files
*.ini289 LOC (<1%) 3 files
*.txt132 LOC (<1%) 7 files
*.bat21 LOC (<1%) 1 file
*.sh4 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:22