apache / camel-karavan
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
txt
properties
cmd
prettierignore
vscodeignore
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.

main80709 LOC (44%) 590 files
test7278 LOC (3%) 83 files
generated35646 LOC (19%) 5 files
build and deployment653 LOC (<1%) 10 files
other57751 LOC (31%) 51 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 ".*".
  • 590 files match defined criteria (80,709 LOC, 100.0% vs. main code):
    • 320 *.tsx files (41,073 LOC)
    • 83 *.ts files (23,047 LOC)
    • 98 *.java files (8,874 LOC)
    • 73 *.css files (7,340 LOC)
    • 11 *.yaml files (228 LOC)
    • 1 *.xml files (82 LOC)
    • 3 *.html files (47 LOC)
    • 1 *.dockerignore files (18 LOC)
  • " *.tsx" is biggest, containing 50.89% of LOC.
  • " *.dockerignore" is smallest, containing 0.02% of LOC.


*.tsx41073 LOC (50%) 320 files
*.ts23047 LOC (28%) 83 files
*.java8874 LOC (10%) 98 files
*.css7340 LOC (9%) 73 files
*.yaml228 LOC (<1%) 11 files
*.xml82 LOC (<1%) 1 file
*.html47 LOC (<1%) 3 files
*.dockerignore18 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 ".*[.]spec[.]ts".
  • 83 files match defined criteria (7,278 LOC, 9.0% vs. main code):
    • 41 *.yaml files (6,004 LOC)
    • 38 *.ts files (1,216 LOC)
    • 4 *.java files (58 LOC)
  • " *.yaml" is biggest, containing 82.5% of LOC.
  • " *.java" is smallest, containing 0.8% of LOC.


*.yaml6004 LOC (82%) 41 files
*.ts1216 LOC (16%) 38 files
*.java58 LOC (<1%) 4 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 ".*/package[-]lock[.]json".
  • 5 files match defined criteria (35,646 LOC, 44.2% vs. main code). All matches are in *.json files.


*.json35646 LOC (100%) 5 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 ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/docker[-]compose[.]yaml".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/pom[.]xml".
  • 10 files match defined criteria (653 LOC, 0.8% vs. main code):
    • 2 *.xml files (354 LOC)
    • 1 *.js files (141 LOC)
    • 5 *.sh files (106 LOC)
    • 2 *.yaml files (52 LOC)
  • " *.xml" is biggest, containing 54.21% of LOC.
  • " *.yaml" is smallest, containing 7.96% of LOC.


*.xml354 LOC (54%) 2 files
*.js141 LOC (21%) 1 file
*.sh106 LOC (16%) 5 files
*.yaml52 LOC (7%) 2 files
Other Code
properties
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]vscodeignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
  • 51 files match defined criteria (57,751 LOC, 71.6% vs. main code):
    • 26 *.json files (55,208 LOC)
    • 7 *.svg files (1,129 LOC)
    • 6 *.properties files (740 LOC)
    • 9 *.txt files (351 LOC)
    • 3 *.md files (323 LOC)
  • " *.json" is biggest, containing 95.6% of LOC.
  • " *.md" is smallest, containing 0.56% of LOC.


*.json55208 LOC (95%) 26 files
*.svg1129 LOC (1%) 7 files
*.properties740 LOC (1%) 6 files
*.txt351 LOC (<1%) 9 files
*.md323 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:33