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.

main23761 LOC (53%) 242 files
test14091 LOC (31%) 192 files
generated0 LOC (0%) 0 files
build and deployment2271 LOC (5%) 15 files
other3912 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 ".*".
  • 242 files match defined criteria (23,761 LOC, 100.0% vs. main code):
    • 194 *.java files (20,183 LOC)
    • 47 *.xml files (3,554 LOC)
    • 1 *.py files (24 LOC)
  • " *.java" is biggest, containing 84.94% of LOC.
  • " *.py" is smallest, containing 0.1% of LOC.


*.java20183 LOC (84%) 194 files
*.xml3554 LOC (14%) 47 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 ".*[-]tests/.*".
    • files with paths like ".*/test[-]resources/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 192 files match defined criteria (14,091 LOC, 59.3% vs. main code):
    • 147 *.xml files (10,447 LOC)
    • 44 *.java files (3,622 LOC)
    • 1 *.policy files (22 LOC)
  • " *.xml" is biggest, containing 74.14% of LOC.
  • " *.policy" is smallest, containing 0.16% of LOC.


*.xml10447 LOC (74%) 147 files
*.java3622 LOC (25%) 44 files
*.policy22 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".
  • 15 files match defined criteria (2,271 LOC, 9.6% vs. main code). All matches are in *.xml files.


*.xml2271 LOC (100%) 15 files
Other Code
txt
properties
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/resources/.*[.]xsd".
  • 93 files match defined criteria (3,912 LOC, 16.5% vs. main code):
    • 23 *.txt files (1,637 LOC)
    • 34 *.java files (998 LOC)
    • 14 *.xml files (827 LOC)
    • 14 *.properties files (348 LOC)
    • 1 *.xsd files (52 LOC)
    • 7 *.md files (50 LOC)
  • " *.txt" is biggest, containing 41.85% of LOC.
  • " *.md" is smallest, containing 1.28% of LOC.


*.txt1637 LOC (41%) 23 files
*.java998 LOC (25%) 34 files
*.xml827 LOC (21%) 14 files
*.properties348 LOC (8%) 14 files
*.xsd52 LOC (1%) 1 file
*.md50 LOC (1%) 7 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 23:39