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
properties
txt
cmd
prettierignore
builder
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.

main59172 LOC (73%) 417 files
test6799 LOC (8%) 52 files
generated2757 LOC (3%) 1 file
build and deployment1711 LOC (2%) 27 files
other9798 LOC (12%) 71 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
builder
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 417 files match defined criteria (59,172 LOC, 100.0% vs. main code):
    • 168 *.tsx files (21,889 LOC)
    • 54 *.ts files (19,713 LOC)
    • 120 *.java files (9,053 LOC)
    • 56 *.yaml files (4,213 LOC)
    • 10 *.css files (4,135 LOC)
    • 2 *.xml files (100 LOC)
    • 3 *.html files (44 LOC)
    • 2 *.dockerignore files (12 LOC)
    • 1 *.builder files (7 LOC)
    • 1 *.sql files (6 LOC)
  • " *.tsx" is biggest, containing 36.99% of LOC.
  • " *.sql" is smallest, containing 0.01% of LOC.


*.tsx21889 LOC (36%) 168 files
*.ts19713 LOC (33%) 54 files
*.java9053 LOC (15%) 120 files
*.yaml4213 LOC (7%) 56 files
*.css4135 LOC (6%) 10 files
*.xml100 LOC (<1%) 2 files
*.html44 LOC (<1%) 3 files
*.dockerignore12 LOC (<1%) 2 files
*.builder7 LOC (<1%) 1 file
*.sql6 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".
  • 52 files match defined criteria (6,799 LOC, 11.5% vs. main code):
    • 24 *.yaml files (5,700 LOC)
    • 25 *.ts files (872 LOC)
    • 3 *.java files (227 LOC)
  • " *.yaml" is biggest, containing 83.84% of LOC.
  • " *.java" is smallest, containing 3.34% of LOC.


*.yaml5700 LOC (83%) 24 files
*.ts872 LOC (12%) 25 files
*.java227 LOC (3%) 3 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".
  • 1 file matches defined criteria (2,757 LOC, 4.7% vs. main code). All matches are in *.json files.


*.json2757 LOC (100%) 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/docker[-]compose[.]yaml".
    • files with paths like ".*/pom[.]xml".
  • 27 files match defined criteria (1,711 LOC, 2.9% vs. main code):
    • 7 *.xml files (927 LOC)
    • 17 *.sh files (546 LOC)
    • 1 *.js files (142 LOC)
    • 2 *.yaml files (96 LOC)
  • " *.xml" is biggest, containing 54.18% of LOC.
  • " *.yaml" is smallest, containing 5.61% of LOC.


*.xml927 LOC (54%) 7 files
*.sh546 LOC (31%) 17 files
*.js142 LOC (8%) 1 file
*.yaml96 LOC (5%) 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 ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]vscodeignore".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]dockerignore".
  • 71 files match defined criteria (9,798 LOC, 16.6% vs. main code):
    • 18 *.json files (6,952 LOC)
    • 12 *.svg files (1,479 LOC)
    • 9 *.md files (595 LOC)
    • 24 *.properties files (422 LOC)
    • 8 *.txt files (350 LOC)
  • " *.json" is biggest, containing 70.95% of LOC.
  • " *.txt" is smallest, containing 3.57% of LOC.


*.json6952 LOC (70%) 18 files
*.svg1479 LOC (15%) 12 files
*.md595 LOC (6%) 9 files
*.properties422 LOC (4%) 24 files
*.txt350 LOC (3%) 8 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:19