apache / camel-k-runtime
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
gitmodules
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.

main5016 LOC (29%) 102 files
test1687 LOC (9%) 71 files
generated211 LOC (1%) 4 files
build and deployment5658 LOC (33%) 67 files
other4321 LOC (25%) 87 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 ".*".
  • 102 files match defined criteria (5,016 LOC, 100.0% vs. main code):
    • 92 *.java files (4,528 LOC)
    • 5 *.xml files (195 LOC)
    • 4 *.groovy files (182 LOC)
    • 1 *.yaml files (111 LOC)
  • " *.java" is biggest, containing 90.27% of LOC.
  • " *.yaml" is smallest, containing 2.21% of LOC.


*.java4528 LOC (90%) 92 files
*.xml195 LOC (3%) 5 files
*.groovy182 LOC (3%) 4 files
*.yaml111 LOC (2%) 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 ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
  • 71 files match defined criteria (1,687 LOC, 33.6% vs. main code):
    • 51 *.java files (1,506 LOC)
    • 10 *.yaml files (95 LOC)
    • 7 *.xml files (77 LOC)
    • 1 *.groovy files (3 LOC)
    • 1 *.js files (3 LOC)
    • 1 *.kts files (3 LOC)
  • " *.java" is biggest, containing 89.27% of LOC.
  • " *.kts" is smallest, containing 0.18% of LOC.


*.java1506 LOC (89%) 51 files
*.yaml95 LOC (5%) 10 files
*.xml77 LOC (4%) 7 files
*.groovy3 LOC (<1%) 1 file
*.js3 LOC (<1%) 1 file
*.kts3 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 ".*/generated/.*".
  • 4 files match defined criteria (211 LOC, 4.2% vs. main code). All matches are in *.java files.


*.java211 LOC (100%) 4 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 ".*[.]sh".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/package[.]json".
  • 67 files match defined criteria (5,658 LOC, 112.8% vs. main code):
    • 62 *.xml files (5,451 LOC)
    • 5 *.sh files (207 LOC)
  • " *.xml" is biggest, containing 96.34% of LOC.
  • " *.sh" is smallest, containing 3.66% of LOC.


*.xml5451 LOC (96%) 62 files
*.sh207 LOC (3%) 5 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]adoc".
  • 87 files match defined criteria (4,321 LOC, 86.1% vs. main code):
    • 4 *.md files (1,465 LOC)
    • 13 *.xml files (1,313 LOC)
    • 51 *.properties files (1,279 LOC)
    • 2 *.adoc files (120 LOC)
    • 7 *.yaml files (83 LOC)
    • 4 *.txt files (19 LOC)
    • 1 *.json files (18 LOC)
    • 2 *.java files (17 LOC)
    • 1 *.kts files (3 LOC)
    • 1 *.groovy files (2 LOC)
    • 1 *.js files (2 LOC)
  • " *.md" is biggest, containing 33.9% of LOC.
  • " *.js" is smallest, containing 0.05% of LOC.


*.md1465 LOC (33%) 4 files
*.xml1313 LOC (30%) 13 files
*.properties1279 LOC (29%) 51 files
*.adoc120 LOC (2%) 2 files
*.yaml83 LOC (1%) 7 files
*.txt19 LOC (<1%) 4 files
*.json18 LOC (<1%) 1 file
*.java17 LOC (<1%) 2 files
*.kts3 LOC (<1%) 1 file
*.groovy2 LOC (<1%) 1 file
*.js2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 19:49