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
patch
xslt
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.

main87967 LOC (77%) 1,981 files
test12520 LOC (11%) 271 files
generated0 LOC (0%) 0 files
build and deployment5396 LOC (4%) 51 files
other7717 LOC (6%) 62 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 ".*".
  • 1981 files match defined criteria (87,967 LOC, 100.0% vs. main code):
    • 1,798 *.java files (71,014 LOC)
    • 145 *.xml files (14,695 LOC)
    • 2 *.xsd files (1,524 LOC)
    • 5 *.bzl files (293 LOC)
    • 24 *.html files (228 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.73% of LOC.
  • " *.py" is smallest, containing 0.03% of LOC.


*.java71014 LOC (80%) 1,798 files
*.xml14695 LOC (16%) 145 files
*.xsd1524 LOC (1%) 2 files
*.bzl293 LOC (<1%) 5 files
*.html228 LOC (<1%) 24 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 ".*[-]tests/.*".
  • 271 files match defined criteria (12,520 LOC, 14.2% vs. main code):
    • 237 *.java files (10,187 LOC)
    • 30 *.xml files (1,862 LOC)
    • 1 *.xsl files (334 LOC)
    • 1 *.xsd files (59 LOC)
    • 1 *.wsdl files (39 LOC)
    • 1 *.bzl files (39 LOC)
  • " *.java" is biggest, containing 81.37% of LOC.
  • " *.bzl" is smallest, containing 0.31% of LOC.


*.java10187 LOC (81%) 237 files
*.xml1862 LOC (14%) 30 files
*.xsl334 LOC (2%) 1 file
*.xsd59 LOC (<1%) 1 file
*.wsdl39 LOC (<1%) 1 file
*.bzl39 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".
  • 51 files match defined criteria (5,396 LOC, 6.1% vs. main code). All matches are in *.xml files.


*.xml5396 LOC (100%) 51 files
Other Code
txt
xsd
properties
patch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
  • 62 files match defined criteria (7,717 LOC, 8.8% vs. main code):
    • 6 *.svg files (4,589 LOC)
    • 23 *.md files (1,212 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.47% of LOC.
  • " *.patch" is smallest, containing 1.01% of LOC.


*.svg4589 LOC (59%) 6 files
*.md1212 LOC (15%) 23 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.


2023-08-10 22:26