apache / axis-axis2-java-core
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
txt
xsl
properties
policy
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.

main230406 LOC (54%) 1,791 files
test144374 LOC (34%) 1,960 files
generated2692 LOC (<1%) 62 files
build and deployment12592 LOC (2%) 87 files
other31495 LOC (7%) 511 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
xsd
wsdl
policy
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1791 files match defined criteria (230,406 LOC, 100.0% vs. main code):
    • 1,605 *.java files (200,092 LOC)
    • 41 *.xsl files (19,559 LOC)
    • 82 *.xml files (5,272 LOC)
    • 36 *.jsp files (2,554 LOC)
    • 1 *.g files (1,175 LOC)
    • 7 *.xsd files (583 LOC)
    • 5 *.wsdl files (524 LOC)
    • 6 *.html files (406 LOC)
    • 1 *.rdf files (114 LOC)
    • 4 *.inc files (58 LOC)
    • 1 *.css files (30 LOC)
    • 1 *.py files (29 LOC)
    • 1 *.policy files (10 LOC)
  • " *.java" is biggest, containing 86.84% of LOC.
  • " *.policy" is smallest, containing 0% of LOC.


*.java200092 LOC (86%) 1,605 files
*.xsl19559 LOC (8%) 41 files
*.xml5272 LOC (2%) 82 files
*.jsp2554 LOC (1%) 36 files
*.g1175 LOC (<1%) 1 file
*.xsd583 LOC (<1%) 7 files
*.wsdl524 LOC (<1%) 5 files
*.html406 LOC (<1%) 6 files
*.rdf114 LOC (<1%) 1 file
*.inc58 LOC (<1%) 4 files
*.css30 LOC (<1%) 1 file
*.py29 LOC (<1%) 1 file
*.policy10 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsdl
xsd
policy
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/test[-]resources/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/test_.*".
  • 1960 files match defined criteria (144,374 LOC, 62.7% vs. main code):
    • 1,156 *.java files (92,007 LOC)
    • 197 *.wsdl files (31,805 LOC)
    • 446 *.xml files (15,389 LOC)
    • 158 *.xsd files (5,103 LOC)
    • 1 *.policy files (45 LOC)
    • 1 *.html files (24 LOC)
    • 1 *.js files (1 LOC)
  • " *.java" is biggest, containing 63.73% of LOC.
  • " *.js" is smallest, containing 0% of LOC.


*.java92007 LOC (63%) 1,156 files
*.wsdl31805 LOC (22%) 197 files
*.xml15389 LOC (10%) 446 files
*.xsd5103 LOC (3%) 158 files
*.policy45 LOC (<1%) 1 file
*.html24 LOC (<1%) 1 file
*.js1 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "// This file was generated .*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 62 files match defined criteria (2,692 LOC, 1.2% vs. main code):
    • 61 *.java files (2,554 LOC)
    • 1 *.html files (138 LOC)
  • " *.java" is biggest, containing 94.87% of LOC.
  • " *.html" is smallest, containing 5.13% of LOC.


*.java2554 LOC (94%) 61 files
*.html138 LOC (5%) 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[.]xml".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 87 files match defined criteria (12,592 LOC, 5.5% vs. main code):
    • 78 *.xml files (12,189 LOC)
    • 4 *.bat files (298 LOC)
    • 5 *.sh files (105 LOC)
  • " *.xml" is biggest, containing 96.8% of LOC.
  • " *.sh" is smallest, containing 0.83% of LOC.


*.xml12189 LOC (96%) 78 files
*.bat298 LOC (2%) 4 files
*.sh105 LOC (<1%) 5 files
Other Code
txt
properties
wsdl
xsd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 511 files match defined criteria (31,495 LOC, 13.7% vs. main code):
    • 103 *.txt files (11,176 LOC)
    • 211 *.java files (8,703 LOC)
    • 98 *.xml files (5,570 LOC)
    • 24 *.properties files (2,148 LOC)
    • 15 *.wsdl files (1,406 LOC)
    • 18 *.xsd files (1,062 LOC)
    • 26 *.md files (816 LOC)
    • 2 *.jsp files (219 LOC)
    • 2 *.html files (197 LOC)
    • 6 *.bat files (150 LOC)
    • 6 *.sh files (48 LOC)
  • " *.txt" is biggest, containing 35.48% of LOC.
  • " *.sh" is smallest, containing 0.15% of LOC.


*.txt11176 LOC (35%) 103 files
*.java8703 LOC (27%) 211 files
*.xml5570 LOC (17%) 98 files
*.properties2148 LOC (6%) 24 files
*.wsdl1406 LOC (4%) 15 files
*.xsd1062 LOC (3%) 18 files
*.md816 LOC (2%) 26 files
*.jsp219 LOC (<1%) 2 files
*.html197 LOC (<1%) 2 files
*.bat150 LOC (<1%) 6 files
*.sh48 LOC (<1%) 6 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:09