apache / camel-spring-boot-examples
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
cmd
wsdl
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.

main7492 LOC (28%) 322 files
test1023 LOC (3%) 27 files
generated128 LOC (<1%) 3 files
build and deployment8324 LOC (31%) 112 files
other9186 LOC (35%) 196 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
wsdl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 322 files match defined criteria (7,492 LOC, 100.0% vs. main code):
    • 264 *.java files (6,072 LOC)
    • 26 *.yaml files (950 LOC)
    • 25 *.xml files (305 LOC)
    • 1 *.wsdl files (104 LOC)
    • 1 *.py files (23 LOC)
    • 1 *.avsc files (19 LOC)
    • 4 *.sql files (19 LOC)
  • " *.java" is biggest, containing 81.05% of LOC.
  • " *.sql" is smallest, containing 0.25% of LOC.


*.java6072 LOC (81%) 264 files
*.yaml950 LOC (12%) 26 files
*.xml305 LOC (4%) 25 files
*.wsdl104 LOC (1%) 1 file
*.py23 LOC (<1%) 1 file
*.avsc19 LOC (<1%) 1 file
*.sql19 LOC (<1%) 4 files
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]est/.*".
  • 27 files match defined criteria (1,023 LOC, 13.7% vs. main code):
    • 26 *.java files (981 LOC)
    • 1 *.xml files (42 LOC)
  • " *.java" is biggest, containing 95.89% of LOC.
  • " *.xml" is smallest, containing 4.11% of LOC.


*.java981 LOC (95%) 26 files
*.xml42 LOC (4%) 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 ".*/generated/.*".
  • 3 files match defined criteria (128 LOC, 1.7% vs. main code). All matches are in *.java files.


*.java128 LOC (100%) 3 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 112 files match defined criteria (8,324 LOC, 111.1% vs. main code):
    • 97 *.xml files (8,050 LOC)
    • 15 *.sh files (274 LOC)
  • " *.xml" is biggest, containing 96.71% of LOC.
  • " *.sh" is smallest, containing 3.29% of LOC.


*.xml8050 LOC (96%) 97 files
*.sh274 LOC (3%) 15 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
  • 196 files match defined criteria (9,186 LOC, 122.6% vs. main code):
    • 66 *.adoc files (2,837 LOC)
    • 82 *.properties files (2,215 LOC)
    • 25 *.txt files (1,978 LOC)
    • 6 *.json files (1,810 LOC)
    • 17 *.java files (346 LOC)
  • " *.adoc" is biggest, containing 30.88% of LOC.
  • " *.java" is smallest, containing 3.77% of LOC.


*.adoc2837 LOC (30%) 66 files
*.properties2215 LOC (24%) 82 files
*.txt1978 LOC (21%) 25 files
*.json1810 LOC (19%) 6 files
*.java346 LOC (3%) 17 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:12