apache / axis-axis2-java-sandesha
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
properties
txt
ddl
wsdl
cgi
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.

main24065 LOC (70%) 178 files
test6576 LOC (19%) 72 files
generated84 LOC (<1%) 2 files
build and deployment1397 LOC (4%) 11 files
other2005 LOC (5%) 42 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wsdl
ddl
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 178 files match defined criteria (24,065 LOC, 100.0% vs. main code):
    • 158 *.java files (21,087 LOC)
    • 13 *.xml files (2,456 LOC)
    • 2 *.wsdl files (228 LOC)
    • 2 *.ddl files (222 LOC)
    • 1 *.rdf files (44 LOC)
    • 1 *.cgi files (24 LOC)
    • 1 *.css files (4 LOC)
  • " *.java" is biggest, containing 87.63% of LOC.
  • " *.css" is smallest, containing 0.02% of LOC.


*.java21087 LOC (87%) 158 files
*.xml2456 LOC (10%) 13 files
*.wsdl228 LOC (<1%) 2 files
*.ddl222 LOC (<1%) 2 files
*.rdf44 LOC (<1%) 1 file
*.cgi24 LOC (<1%) 1 file
*.css4 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test[-]resources/.*".
    • files with paths like ".*/[Tt]est/.*".
  • 72 files match defined criteria (6,576 LOC, 27.3% vs. main code):
    • 56 *.java files (5,323 LOC)
    • 16 *.xml files (1,253 LOC)
  • " *.java" is biggest, containing 80.95% of LOC.
  • " *.xml" is smallest, containing 19.05% of LOC.


*.java5323 LOC (80%) 56 files
*.xml1253 LOC (19%) 16 files
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" .*".
  • 2 files match defined criteria (84 LOC, 0.3% vs. main code). All matches are in *.html files.


*.html84 LOC (100%) 2 files
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 ".*[.]bat".
    • files with paths like ".*[.]sh".
  • 11 files match defined criteria (1,397 LOC, 5.8% vs. main code). All matches are in *.xml files.


*.xml1397 LOC (100%) 11 files
Other Code
properties
txt
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 ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Ss]amples/.*".
  • 42 files match defined criteria (2,005 LOC, 8.3% vs. main code):
    • 13 *.java files (955 LOC)
    • 11 *.properties files (476 LOC)
    • 6 *.txt files (278 LOC)
    • 3 *.xml files (148 LOC)
    • 4 *.bat files (84 LOC)
    • 1 *.html files (40 LOC)
    • 4 *.sh files (24 LOC)
  • " *.java" is biggest, containing 47.63% of LOC.
  • " *.sh" is smallest, containing 1.2% of LOC.


*.java955 LOC (47%) 13 files
*.properties476 LOC (23%) 11 files
*.txt278 LOC (13%) 6 files
*.xml148 LOC (7%) 3 files
*.bat84 LOC (4%) 4 files
*.html40 LOC (1%) 1 file
*.sh24 LOC (1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 23:39