apache / camel-jbang-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
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.

main558 LOC (17%) 19 files
test406 LOC (12%) 12 files
generated0 LOC (0%) 0 files
build and deployment3 LOC (<1%) 1 file
other2251 LOC (69%) 42 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 ".*".
  • 19 files match defined criteria (558 LOC, 100.0% vs. main code):
    • 10 *.yaml files (264 LOC)
    • 1 *.tf files (106 LOC)
    • 3 *.xml files (100 LOC)
    • 2 *.ftl files (71 LOC)
    • 3 *.java files (17 LOC)
  • " *.yaml" is biggest, containing 47.31% of LOC.
  • " *.java" is smallest, containing 3.05% of LOC.


*.yaml264 LOC (47%) 10 files
*.tf106 LOC (18%) 1 file
*.xml100 LOC (17%) 3 files
*.ftl71 LOC (12%) 2 files
*.java17 LOC (3%) 3 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/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 12 files match defined criteria (406 LOC, 72.8% vs. main code):
    • 8 *.yaml files (301 LOC)
    • 3 *.groovy files (102 LOC)
    • 1 *.xml files (3 LOC)
  • " *.yaml" is biggest, containing 74.14% of LOC.
  • " *.xml" is smallest, containing 0.74% of LOC.


*.yaml301 LOC (74%) 8 files
*.groovy102 LOC (25%) 3 files
*.xml3 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 1 file matches defined criteria (3 LOC, 0.5% vs. main code). All matches are in *.sh files.


*.sh3 LOC (100%) 1 file
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
  • 42 files match defined criteria (2,251 LOC, 403.4% vs. main code):
    • 11 *.json files (1,277 LOC)
    • 11 *.adoc files (586 LOC)
    • 18 *.properties files (218 LOC)
    • 2 *.txt files (170 LOC)
  • " *.json" is biggest, containing 56.73% of LOC.
  • " *.txt" is smallest, containing 7.55% of LOC.


*.json1277 LOC (56%) 11 files
*.adoc586 LOC (26%) 11 files
*.properties218 LOC (9%) 18 files
*.txt170 LOC (7%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 21:04