apache / synapse
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
xsd
properties
xslt
wsdl
cfg
txt
xq
com
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.

main95343 LOC (62%) 1,144 files
test17625 LOC (11%) 337 files
generated0 LOC (0%) 0 files
build and deployment3747 LOC (2%) 24 files
other34655 LOC (22%) 399 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
wsdl
xslt
cfg
xq
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1144 files match defined criteria (95,343 LOC, 100.0% vs. main code):
    • 907 *.java files (84,789 LOC)
    • 173 *.xml files (7,249 LOC)
    • 42 *.xsd files (2,343 LOC)
    • 2 *.wsdl files (615 LOC)
    • 6 *.xslt files (179 LOC)
    • 6 *.cfg files (90 LOC)
    • 1 *.rb files (37 LOC)
    • 2 *.py files (22 LOC)
    • 2 *.js files (16 LOC)
    • 3 *.xq files (3 LOC)
  • " *.java" is biggest, containing 88.93% of LOC.
  • " *.xq" is smallest, containing 0% of LOC.


*.java84789 LOC (88%) 907 files
*.xml7249 LOC (7%) 173 files
*.xsd2343 LOC (2%) 42 files
*.wsdl615 LOC (<1%) 2 files
*.xslt179 LOC (<1%) 6 files
*.cfg90 LOC (<1%) 6 files
*.rb37 LOC (<1%) 1 file
*.py22 LOC (<1%) 2 files
*.js16 LOC (<1%) 2 files
*.xq3 LOC (<1%) 3 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
wsdl
xslt
com
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test[.].*".
  • 337 files match defined criteria (17,625 LOC, 18.5% vs. main code):
    • 185 *.java files (12,458 LOC)
    • 139 *.xml files (4,766 LOC)
    • 5 *.wsdl files (283 LOC)
    • 7 *.xslt files (84 LOC)
    • 1 *.com files (34 LOC)
  • " *.java" is biggest, containing 70.68% of LOC.
  • " *.com" is smallest, containing 0.19% of LOC.


*.java12458 LOC (70%) 185 files
*.xml4766 LOC (27%) 139 files
*.wsdl283 LOC (1%) 5 files
*.xslt84 LOC (<1%) 7 files
*.com34 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 ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/assembly/src[.]xml".
    • files with paths like ".*/build[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 24 files match defined criteria (3,747 LOC, 3.9% vs. main code). All matches are in *.xml files.


*.xml3747 LOC (100%) 24 files
Other Code
properties
xsd
txt
wsdl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/resources/.*[.]xsd".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
  • 399 files match defined criteria (34,655 LOC, 36.3% vs. main code):
    • 167 *.xml files (24,446 LOC)
    • 197 *.java files (8,582 LOC)
    • 17 *.properties files (738 LOC)
    • 9 *.xsd files (255 LOC)
    • 1 *.css files (146 LOC)
    • 3 *.txt files (122 LOC)
    • 1 *.bat files (116 LOC)
    • 1 *.wsdl files (101 LOC)
    • 1 *.sh files (94 LOC)
    • 2 *.md files (55 LOC)
  • " *.xml" is biggest, containing 70.54% of LOC.
  • " *.md" is smallest, containing 0.16% of LOC.


*.xml24446 LOC (70%) 167 files
*.java8582 LOC (24%) 197 files
*.properties738 LOC (2%) 17 files
*.xsd255 LOC (<1%) 9 files
*.css146 LOC (<1%) 1 file
*.txt122 LOC (<1%) 3 files
*.bat116 LOC (<1%) 1 file
*.wsdl101 LOC (<1%) 1 file
*.sh94 LOC (<1%) 1 file
*.md55 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:15