apache / axis-axis1-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
wsdl
xsd
properties
txt
cmd
xsl
bib
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.

main96799 LOC (52%) 951 files
test67162 LOC (36%) 774 files
generated134 LOC (<1%) 2 files
build and deployment5484 LOC (2%) 42 files
other16485 LOC (8%) 300 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wsdl
xsd
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 951 files match defined criteria (96,799 LOC, 100.0% vs. main code):
    • 779 *.java files (83,493 LOC)
    • 148 *.xml files (8,917 LOC)
    • 6 *.wsdl files (2,163 LOC)
    • 4 *.jsp files (985 LOC)
    • 9 *.xsd files (892 LOC)
    • 3 *.xsl files (296 LOC)
    • 2 *.html files (53 LOC)
  • " *.java" is biggest, containing 86.25% of LOC.
  • " *.html" is smallest, containing 0.05% of LOC.


*.java83493 LOC (86%) 779 files
*.xml8917 LOC (9%) 148 files
*.wsdl2163 LOC (2%) 6 files
*.jsp985 LOC (1%) 4 files
*.xsd892 LOC (<1%) 9 files
*.xsl296 LOC (<1%) 3 files
*.html53 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsdl
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests/.*".
  • 774 files match defined criteria (67,162 LOC, 69.4% vs. main code):
    • 519 *.java files (36,496 LOC)
    • 123 *.wsdl files (22,074 LOC)
    • 44 *.xsd files (4,677 LOC)
    • 82 *.xml files (3,854 LOC)
    • 6 *.sh files (61 LOC)
  • " *.java" is biggest, containing 54.34% of LOC.
  • " *.sh" is smallest, containing 0.09% of LOC.


*.java36496 LOC (54%) 519 files
*.wsdl22074 LOC (32%) 123 files
*.xsd4677 LOC (6%) 44 files
*.xml3854 LOC (5%) 82 files
*.sh61 LOC (<1%) 6 files
Generated Code
Automatically generated files, not manually changed after generation.
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]cs" AND any line of content like "[/][/][ ]*".
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 2 files match defined criteria (134 LOC, 0.1% vs. main code):
    • 1 *.xsd files (98 LOC)
    • 1 *.cs files (36 LOC)
  • " *.xsd" is biggest, containing 73.13% of LOC.
  • " *.cs" is smallest, containing 26.87% of LOC.


*.xsd98 LOC (73%) 1 file
*.cs36 LOC (26%) 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".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 42 files match defined criteria (5,484 LOC, 5.7% vs. main code). All matches are in *.xml files.


*.xml5484 LOC (100%) 42 files
Other Code
properties
wsdl
xsd
txt
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 300 files match defined criteria (16,485 LOC, 17.0% vs. main code):
    • 147 *.java files (7,341 LOC)
    • 45 *.xml files (3,232 LOC)
    • 33 *.properties files (2,459 LOC)
    • 22 *.wsdl files (1,826 LOC)
    • 11 *.xsd files (1,075 LOC)
    • 25 *.txt files (445 LOC)
    • 10 *.cmd files (48 LOC)
    • 1 *.cs files (36 LOC)
    • 6 *.sh files (23 LOC)
  • " *.java" is biggest, containing 44.53% of LOC.
  • " *.sh" is smallest, containing 0.14% of LOC.


*.java7341 LOC (44%) 147 files
*.xml3232 LOC (19%) 45 files
*.properties2459 LOC (14%) 33 files
*.wsdl1826 LOC (11%) 22 files
*.xsd1075 LOC (6%) 11 files
*.txt445 LOC (2%) 25 files
*.cmd48 LOC (<1%) 10 files
*.cs36 LOC (<1%) 1 file
*.sh23 LOC (<1%) 6 files
Analyzers
Info about analyzers used for source code examinations.
  • *.java files are analyzed with JavaAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • Unit size analysis
    • Conditional complexity analysis
    • Advanced heuristic dependency analysis (based on package names)
  • *.xml files are analyzed with XmlAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • No unit size analysis
    • No conditional complexity analysis
    • No dependency analysis
  • *.wsdl files are analyzed with XmlAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • No unit size analysis
    • No conditional complexity analysis
    • No dependency analysis
  • *.jsp files are analyzed with JspAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • No unit size analysis
    • No conditional complexity analysis
    • No dependency analysis
  • *.xsd files are analyzed with XmlAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • No unit size analysis
    • No conditional complexity analysis
    • No dependency analysis
  • *.xsl files are analyzed with XmlAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • No unit size analysis
    • No conditional complexity analysis
    • No dependency analysis
  • *.html files are analyzed with HtmlAnalyzer:
    • All basic standard analyses supported (source code overview, duplication, file size, concerns, findings, metrics, controls)
    • Advanced code cleaning (empty lines and comments removed for LOC calculations, additional cleaning for duplication calculations)
    • Unit size analysis
    • Conditional complexity analysis
    • Advanced heuristic dependency analysis


2025-05-07 20:09