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.

main229411 LOC (55%) 1,793 files
test144017 LOC (34%) 1,955 files
generated2692 LOC (<1%) 62 files
build and deployment12557 LOC (3%) 87 files
other28028 LOC (6%) 496 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 ".*".
  • 1793 files match defined criteria (229,411 LOC, 100.0% vs. main code):
    • 1,605 *.java files (199,043 LOC)
    • 41 *.xsl files (19,559 LOC)
    • 82 *.xml files (5,270 LOC)
    • 36 *.jsp files (2,554 LOC)
    • 1 *.g files (1,175 LOC)
    • 8 *.xsd files (598 LOC)
    • 6 *.wsdl files (565 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.76% of LOC.
  • " *.policy" is smallest, containing 0% of LOC.


*.java199043 LOC (86%) 1,605 files
*.xsl19559 LOC (8%) 41 files
*.xml5270 LOC (2%) 82 files
*.jsp2554 LOC (1%) 36 files
*.g1175 LOC (<1%) 1 file
*.xsd598 LOC (<1%) 8 files
*.wsdl565 LOC (<1%) 6 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 ".*[-]tests/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test[-]resources/.*".
    • files with paths like ".*/test_.*".
  • 1955 files match defined criteria (144,017 LOC, 62.8% vs. main code):
    • 1,155 *.java files (91,727 LOC)
    • 196 *.wsdl files (31,764 LOC)
    • 442 *.xml files (15,341 LOC)
    • 159 *.xsd files (5,115 LOC)
    • 1 *.policy files (45 LOC)
    • 1 *.html files (24 LOC)
    • 1 *.js files (1 LOC)
  • " *.java" is biggest, containing 63.69% of LOC.
  • " *.js" is smallest, containing 0% of LOC.


*.java91727 LOC (63%) 1,155 files
*.wsdl31764 LOC (22%) 196 files
*.xml15341 LOC (10%) 442 files
*.xsd5115 LOC (3%) 159 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 paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
    • files with any line of content like "// This file was generated .*".
  • 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/assembly[.]xml".
  • 87 files match defined criteria (12,557 LOC, 5.5% vs. main code):
    • 78 *.xml files (12,154 LOC)
    • 4 *.bat files (298 LOC)
    • 5 *.sh files (105 LOC)
  • " *.xml" is biggest, containing 96.79% of LOC.
  • " *.sh" is smallest, containing 0.84% of LOC.


*.xml12154 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 ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]md".
  • 496 files match defined criteria (28,028 LOC, 12.2% vs. main code):
    • 211 *.java files (8,721 LOC)
    • 91 *.txt files (7,860 LOC)
    • 98 *.xml files (5,558 LOC)
    • 24 *.properties files (2,137 LOC)
    • 15 *.wsdl files (1,406 LOC)
    • 16 *.xsd files (1,035 LOC)
    • 25 *.md files (697 LOC)
    • 2 *.jsp files (219 LOC)
    • 2 *.html files (197 LOC)
    • 6 *.bat files (150 LOC)
    • 6 *.sh files (48 LOC)
  • " *.java" is biggest, containing 31.12% of LOC.
  • " *.sh" is smallest, containing 0.17% of LOC.


*.java8721 LOC (31%) 211 files
*.txt7860 LOC (28%) 91 files
*.xml5558 LOC (19%) 98 files
*.properties2137 LOC (7%) 24 files
*.wsdl1406 LOC (5%) 15 files
*.xsd1035 LOC (3%) 16 files
*.md697 LOC (2%) 25 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.


2023-08-10 23:39