apache / ws-axiom
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
properties
xsl
xslt
patch
wsdl
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.

main88106 LOC (77%) 1,980 files
test12700 LOC (11%) 274 files
generated0 LOC (0%) 0 files
build and deployment5252 LOC (4%) 50 files
other7736 LOC (6%) 63 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
xslt
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1980 files match defined criteria (88,106 LOC, 100.0% vs. main code):
    • 1,799 *.java files (71,219 LOC)
    • 144 *.xml files (14,709 LOC)
    • 2 *.xsd files (1,524 LOC)
    • 24 *.html files (228 LOC)
    • 4 *.bzl files (213 LOC)
    • 1 *.rdf files (117 LOC)
    • 2 *.xslt files (39 LOC)
    • 3 *.xsl files (33 LOC)
    • 1 *.py files (24 LOC)
  • " *.java" is biggest, containing 80.83% of LOC.
  • " *.py" is smallest, containing 0.03% of LOC.


*.java71219 LOC (80%) 1,799 files
*.xml14709 LOC (16%) 144 files
*.xsd1524 LOC (1%) 2 files
*.html228 LOC (<1%) 24 files
*.bzl213 LOC (<1%) 4 files
*.rdf117 LOC (<1%) 1 file
*.xslt39 LOC (<1%) 2 files
*.xsl33 LOC (<1%) 3 files
*.py24 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
xsl
xsd
wsdl
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 ".*[-]tests/.*".
  • 274 files match defined criteria (12,700 LOC, 14.4% vs. main code):
    • 238 *.java files (10,263 LOC)
    • 31 *.xml files (1,886 LOC)
    • 1 *.xsl files (334 LOC)
    • 2 *.bzl files (119 LOC)
    • 1 *.xsd files (59 LOC)
    • 1 *.wsdl files (39 LOC)
  • " *.java" is biggest, containing 80.81% of LOC.
  • " *.wsdl" is smallest, containing 0.31% of LOC.


*.java10263 LOC (80%) 238 files
*.xml1886 LOC (14%) 31 files
*.xsl334 LOC (2%) 1 file
*.bzl119 LOC (<1%) 2 files
*.xsd59 LOC (<1%) 1 file
*.wsdl39 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 ".*/assembly/src[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 50 files match defined criteria (5,252 LOC, 6.0% vs. main code). All matches are in *.xml files.


*.xml5252 LOC (100%) 50 files
Other Code
txt
xsd
properties
patch
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 ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]patch".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ss]amples/.*".
  • 63 files match defined criteria (7,736 LOC, 8.8% vs. main code):
    • 6 *.svg files (4,589 LOC)
    • 24 *.md files (1,231 LOC)
    • 11 *.txt files (770 LOC)
    • 6 *.xsd files (582 LOC)
    • 7 *.java files (253 LOC)
    • 5 *.properties files (119 LOC)
    • 3 *.xml files (114 LOC)
    • 1 *.patch files (78 LOC)
  • " *.svg" is biggest, containing 59.32% of LOC.
  • " *.patch" is smallest, containing 1.01% of LOC.


*.svg4589 LOC (59%) 6 files
*.md1231 LOC (15%) 24 files
*.txt770 LOC (9%) 11 files
*.xsd582 LOC (7%) 6 files
*.java253 LOC (3%) 7 files
*.properties119 LOC (1%) 5 files
*.xml114 LOC (1%) 3 files
*.patch78 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:02