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
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.

main5655 LOC (31%) 247 files
test877 LOC (4%) 29 files
generated46 LOC (<1%) 1 file
build and deployment6162 LOC (34%) 77 files
other5255 LOC (29%) 130 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 247 files match defined criteria (5,655 LOC, 100.0% vs. main code):
    • 166 *.java files (3,600 LOC)
    • 23 *.adoc files (766 LOC)
    • 15 *.yaml files (643 LOC)
    • 17 *.yml files (309 LOC)
    • 24 *.xml files (295 LOC)
    • 1 *.py files (23 LOC)
    • 1 *.avsc files (19 LOC)
  • " *.java" is biggest, containing 63.66% of LOC.
  • " *.avsc" is smallest, containing 0.34% of LOC.


*.java3600 LOC (63%) 166 files
*.adoc766 LOC (13%) 23 files
*.yaml643 LOC (11%) 15 files
*.yml309 LOC (5%) 17 files
*.xml295 LOC (5%) 24 files
*.py23 LOC (<1%) 1 file
*.avsc19 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]est/.*".
    • files with paths like ".*[-]test[-].*".
  • 29 files match defined criteria (877 LOC, 15.5% vs. main code):
    • 24 *.java files (734 LOC)
    • 3 *.yml files (87 LOC)
    • 2 *.xml files (56 LOC)
  • " *.java" is biggest, containing 83.69% of LOC.
  • " *.xml" is smallest, containing 6.39% of LOC.


*.java734 LOC (83%) 24 files
*.yml87 LOC (9%) 3 files
*.xml56 LOC (6%) 2 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 ".*/generated/.*".
  • 1 file matches defined criteria (46 LOC, 0.8% vs. main code). All matches are in *.java files.


*.java46 LOC (100%) 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 ".*/docker[-]compose[.]yml".
    • files with paths like ".*[.]sh".
  • 77 files match defined criteria (6,162 LOC, 109.0% vs. main code):
    • 69 *.xml files (6,016 LOC)
    • 3 *.yml files (103 LOC)
    • 5 *.sh files (43 LOC)
  • " *.xml" is biggest, containing 97.63% of LOC.
  • " *.sh" is smallest, containing 0.7% of LOC.


*.xml6016 LOC (97%) 69 files
*.yml103 LOC (1%) 3 files
*.sh43 LOC (<1%) 5 files
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]properties".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 130 files match defined criteria (5,255 LOC, 92.9% vs. main code):
    • 21 *.txt files (1,635 LOC)
    • 59 *.properties files (1,523 LOC)
    • 30 *.adoc files (1,404 LOC)
    • 3 *.json files (347 LOC)
    • 17 *.java files (346 LOC)
  • " *.txt" is biggest, containing 31.11% of LOC.
  • " *.java" is smallest, containing 6.58% of LOC.


*.txt1635 LOC (31%) 21 files
*.properties1523 LOC (28%) 59 files
*.adoc1404 LOC (26%) 30 files
*.json347 LOC (6%) 3 files
*.java346 LOC (6%) 17 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 01:46