apache / santuario-xml-security-java
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
xsd
cvsignore
p8
properties
xsl
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.

main44003 LOC (30%) 414 files
test84078 LOC (58%) 758 files
generated0 LOC (0%) 0 files
build and deployment690 LOC (<1%) 2 files
other14688 LOC (10%) 233 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 414 files match defined criteria (44,003 LOC, 100.0% vs. main code):
    • 408 *.java files (42,137 LOC)
    • 3 *.xml files (1,170 LOC)
    • 3 *.xsd files (696 LOC)
  • " *.java" is biggest, containing 95.76% of LOC.
  • " *.xsd" is smallest, containing 1.58% of LOC.


*.java42137 LOC (95%) 408 files
*.xml1170 LOC (2%) 3 files
*.xsd696 LOC (1%) 3 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsl
p8
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
  • 758 files match defined criteria (84,078 LOC, 191.1% vs. main code):
    • 244 *.java files (38,947 LOC)
    • 453 *.xml files (24,882 LOC)
    • 49 *.html files (19,986 LOC)
    • 5 *.sh files (185 LOC)
    • 3 *.xsl files (61 LOC)
    • 4 *.p8 files (17 LOC)
  • " *.java" is biggest, containing 46.32% of LOC.
  • " *.p8" is smallest, containing 0.02% of LOC.


*.java38947 LOC (46%) 244 files
*.xml24882 LOC (29%) 453 files
*.html19986 LOC (23%) 49 files
*.sh185 LOC (<1%) 5 files
*.xsl61 LOC (<1%) 3 files
*.p817 LOC (<1%) 4 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 ".*[.]cvsignore".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 2 files match defined criteria (690 LOC, 1.6% vs. main code):
    • 1 *.xml files (647 LOC)
    • 1 *.sh files (43 LOC)
  • " *.xml" is biggest, containing 93.77% of LOC.
  • " *.sh" is smallest, containing 6.23% of LOC.


*.xml647 LOC (93%) 1 file
*.sh43 LOC (6%) 1 file
Other Code
txt
xsd
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 ".*[.]properties".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]cvsignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]gitignore".
  • 233 files match defined criteria (14,688 LOC, 33.4% vs. main code):
    • 207 *.txt files (13,429 LOC)
    • 11 *.xsd files (826 LOC)
    • 4 *.properties files (221 LOC)
    • 7 *.xml files (160 LOC)
    • 3 *.md files (51 LOC)
    • 1 *.bat files (1 LOC)
  • " *.txt" is biggest, containing 91.43% of LOC.
  • " *.bat" is smallest, containing 0.01% of LOC.


*.txt13429 LOC (91%) 207 files
*.xsd826 LOC (5%) 11 files
*.properties221 LOC (1%) 4 files
*.xml160 LOC (1%) 7 files
*.md51 LOC (<1%) 3 files
*.bat1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:13