apache / camel-kamelets
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
feature
txt
properties
mod
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.

main15787 LOC (67%) 425 files
test4683 LOC (19%) 139 files
generated0 LOC (0%) 0 files
build and deployment833 LOC (3%) 9 files
other2221 LOC (9%) 24 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 ".*".
  • 425 files match defined criteria (15,787 LOC, 100.0% vs. main code):
    • 364 *.yaml files (7,497 LOC)
    • 2 *.xml files (4,862 LOC)
    • 53 *.java files (2,819 LOC)
    • 2 *.go files (554 LOC)
    • 1 *.groovy files (41 LOC)
    • 2 *.tf files (12 LOC)
    • 1 *.yml files (2 LOC)
  • " *.yaml" is biggest, containing 47.49% of LOC.
  • " *.yml" is smallest, containing 0.01% of LOC.


*.yaml7497 LOC (47%) 364 files
*.xml4862 LOC (30%) 2 files
*.java2819 LOC (17%) 53 files
*.go554 LOC (3%) 2 files
*.groovy41 LOC (<1%) 1 file
*.tf12 LOC (<1%) 2 files
*.yml2 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
feature
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.]feature".
    • files with paths like ".*[-]tests/.*".
  • 139 files match defined criteria (4,683 LOC, 29.7% vs. main code):
    • 19 *.java files (1,240 LOC)
    • 52 *.yaml files (1,235 LOC)
    • 24 *.feature files (975 LOC)
    • 12 *.tf files (607 LOC)
    • 20 *.sh files (453 LOC)
    • 8 *.groovy files (94 LOC)
    • 2 *.avsc files (46 LOC)
    • 2 *.xml files (33 LOC)
  • " *.java" is biggest, containing 26.48% of LOC.
  • " *.xml" is smallest, containing 0.7% of LOC.


*.java1240 LOC (26%) 19 files
*.yaml1235 LOC (26%) 52 files
*.feature975 LOC (20%) 24 files
*.tf607 LOC (12%) 12 files
*.sh453 LOC (9%) 20 files
*.groovy94 LOC (2%) 8 files
*.avsc46 LOC (<1%) 2 files
*.xml33 LOC (<1%) 2 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 ".*/[.]gitmodules".
    • files with paths like ".*/[.]gitignore".
  • 9 files match defined criteria (833 LOC, 5.3% vs. main code):
    • 6 *.xml files (801 LOC)
    • 3 *.sh files (32 LOC)
  • " *.xml" is biggest, containing 96.16% of LOC.
  • " *.sh" is smallest, containing 3.84% of LOC.


*.xml801 LOC (96%) 6 files
*.sh32 LOC (3%) 3 files
Other Code
properties
mod
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
  • 24 files match defined criteria (2,221 LOC, 14.1% vs. main code):
    • 10 *.md files (1,826 LOC)
    • 2 *.json files (285 LOC)
    • 5 *.properties files (79 LOC)
    • 2 *.mod files (26 LOC)
    • 5 *.txt files (5 LOC)
  • " *.md" is biggest, containing 82.22% of LOC.
  • " *.txt" is smallest, containing 0.23% of LOC.


*.md1826 LOC (82%) 10 files
*.json285 LOC (12%) 2 files
*.properties79 LOC (3%) 5 files
*.mod26 LOC (1%) 2 files
*.txt5 LOC (<1%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:06