apache / axis-axis2-java-rampart
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
xsd
policy
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.

main24108 LOC (54%) 239 files
test14114 LOC (31%) 192 files
generated0 LOC (0%) 0 files
build and deployment2261 LOC (5%) 14 files
other3720 LOC (8%) 93 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 ".*".
  • 239 files match defined criteria (24,108 LOC, 100.0% vs. main code):
    • 194 *.java files (20,694 LOC)
    • 44 *.xml files (3,390 LOC)
    • 1 *.py files (24 LOC)
  • " *.java" is biggest, containing 85.84% of LOC.
  • " *.py" is smallest, containing 0.1% of LOC.


*.java20694 LOC (85%) 194 files
*.xml3390 LOC (14%) 44 files
*.py24 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
policy
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/test[-]resources/.*".
  • 192 files match defined criteria (14,114 LOC, 58.5% vs. main code):
    • 147 *.xml files (10,463 LOC)
    • 44 *.java files (3,618 LOC)
    • 1 *.policy files (33 LOC)
  • " *.xml" is biggest, containing 74.13% of LOC.
  • " *.policy" is smallest, containing 0.23% of LOC.


*.xml10463 LOC (74%) 147 files
*.java3618 LOC (25%) 44 files
*.policy33 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 ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 14 files match defined criteria (2,261 LOC, 9.4% vs. main code). All matches are in *.xml files.


*.xml2261 LOC (100%) 14 files
Other Code
txt
properties
xsd
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 ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
  • 93 files match defined criteria (3,720 LOC, 15.4% vs. main code):
    • 24 *.txt files (1,343 LOC)
    • 34 *.java files (997 LOC)
    • 14 *.xml files (827 LOC)
    • 13 *.properties files (328 LOC)
    • 7 *.md files (152 LOC)
    • 1 *.xsd files (73 LOC)
  • " *.txt" is biggest, containing 36.1% of LOC.
  • " *.xsd" is smallest, containing 1.96% of LOC.


*.txt1343 LOC (36%) 24 files
*.java997 LOC (26%) 34 files
*.xml827 LOC (22%) 14 files
*.properties328 LOC (8%) 13 files
*.md152 LOC (4%) 7 files
*.xsd73 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:09