apache / webservices-commons-xmlschema
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
red
txt
wsdl
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.

main515936 LOC (98%) 39,390 files
test4844 LOC (<1%) 133 files
generated0 LOC (0%) 0 files
build and deployment603 LOC (<1%) 2 files
other45 LOC (<1%) 2 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
red
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 39390 files match defined criteria (515,936 LOC, 100.0% vs. main code):
    • 14,270 *.xsd files (308,100 LOC)
    • 24,964 *.xml files (199,028 LOC)
    • 105 *.java files (6,898 LOC)
    • 11 *.inc files (1,073 LOC)
    • 2 *.css files (365 LOC)
    • 35 *.red files (267 LOC)
    • 1 *.html files (147 LOC)
    • 1 *.js files (33 LOC)
    • 1 *.xsl files (25 LOC)
  • " *.xsd" is biggest, containing 59.72% of LOC.
  • " *.xsl" is smallest, containing 0% of LOC.


*.xsd308100 LOC (59%) 14,270 files
*.xml199028 LOC (38%) 24,964 files
*.java6898 LOC (1%) 105 files
*.inc1073 LOC (<1%) 11 files
*.css365 LOC (<1%) 2 files
*.red267 LOC (<1%) 35 files
*.html147 LOC (<1%) 1 file
*.js33 LOC (<1%) 1 file
*.xsl25 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsd
wsdl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test[-]resources/.*".
  • 133 files match defined criteria (4,844 LOC, 0.9% vs. main code):
    • 62 *.java files (3,489 LOC)
    • 68 *.xsd files (1,289 LOC)
    • 3 *.wsdl files (66 LOC)
  • " *.java" is biggest, containing 72.03% of LOC.
  • " *.wsdl" is smallest, containing 1.36% of LOC.


*.java3489 LOC (72%) 62 files
*.xsd1289 LOC (26%) 68 files
*.wsdl66 LOC (1%) 3 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 ".*/assembly/src[.]xml".
  • 2 files match defined criteria (603 LOC, 0.1% vs. main code). All matches are in *.xml files.


*.xml603 LOC (100%) 2 files
Other Code
txt
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 ".*/README[.][a-z0-9]+".
  • 2 files match defined criteria (45 LOC, 0.0% vs. main code). All matches are in *.txt files.


*.txt45 LOC (100%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:49