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

main4406 LOC (31%) 169 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment649 LOC (4%) 11 files
other8882 LOC (63%) 122 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 169 files match defined criteria (4,406 LOC, 100.0% vs. main code):
    • 51 *.java files (1,914 LOC)
    • 83 *.yaml files (1,420 LOC)
    • 8 *.tf files (468 LOC)
    • 16 *.xml files (292 LOC)
    • 1 *.css files (126 LOC)
    • 3 *.avsc files (94 LOC)
    • 1 *.html files (65 LOC)
    • 5 *.sql files (18 LOC)
    • 1 *.xsl files (9 LOC)
  • " *.java" is biggest, containing 43.44% of LOC.
  • " *.xsl" is smallest, containing 0.2% of LOC.


*.java1914 LOC (43%) 51 files
*.yaml1420 LOC (32%) 83 files
*.tf468 LOC (10%) 8 files
*.xml292 LOC (6%) 16 files
*.css126 LOC (2%) 1 file
*.avsc94 LOC (2%) 3 files
*.html65 LOC (1%) 1 file
*.sql18 LOC (<1%) 5 files
*.xsl9 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 ".*/pom[.]xml".
    • files with paths like ".*[.]sh".
  • 11 files match defined criteria (649 LOC, 14.7% vs. main code):
    • 9 *.xml files (639 LOC)
    • 2 *.sh files (10 LOC)
  • " *.xml" is biggest, containing 98.46% of LOC.
  • " *.sh" is smallest, containing 1.54% of LOC.


*.xml639 LOC (98%) 9 files
*.sh10 LOC (1%) 2 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
  • 122 files match defined criteria (8,882 LOC, 201.6% vs. main code):
    • 68 *.adoc files (4,431 LOC)
    • 12 *.json files (3,615 LOC)
    • 7 *.md files (413 LOC)
    • 30 *.properties files (246 LOC)
    • 5 *.txt files (177 LOC)
  • " *.adoc" is biggest, containing 49.89% of LOC.
  • " *.txt" is smallest, containing 1.99% of LOC.


*.adoc4431 LOC (49%) 68 files
*.json3615 LOC (40%) 12 files
*.md413 LOC (4%) 7 files
*.properties246 LOC (2%) 30 files
*.txt177 LOC (1%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:37