apache / camel-website
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
xsd
hbs
asc
mjs
gypi
proto
mk
gyp
txt
htaccess
mod
editorconfig
webmanifest
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.

main589481 LOC (94%) 1,309 files
test168 LOC (<1%) 1 file
generated0 LOC (0%) 0 files
build and deployment237 LOC (<1%) 9 files
other31272 LOC (5%) 920 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
hbs
asc
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1309 files match defined criteria (589,481 LOC, 100.0% vs. main code):
    • 1,068 *.xsd files (581,445 LOC)
    • 33 *.css files (3,269 LOC)
    • 56 *.js files (1,651 LOC)
    • 51 *.html files (1,299 LOC)
    • 66 *.hbs files (842 LOC)
    • 29 *.asc files (680 LOC)
    • 2 *.yaml files (170 LOC)
    • 2 *.toml files (102 LOC)
    • 1 *.webmanifest files (12 LOC)
    • 1 *.xml files (11 LOC)
  • " *.xsd" is biggest, containing 98.64% of LOC.
  • " *.xml" is smallest, containing 0% of LOC.


*.xsd581445 LOC (98%) 1,068 files
*.css3269 LOC (<1%) 33 files
*.js1651 LOC (<1%) 56 files
*.html1299 LOC (<1%) 51 files
*.hbs842 LOC (<1%) 66 files
*.asc680 LOC (<1%) 29 files
*.yaml170 LOC (<1%) 2 files
*.toml102 LOC (<1%) 2 files
*.webmanifest12 LOC (<1%) 1 file
*.xml11 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 ".*[.]test[.].*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
  • 1 file matches defined criteria (168 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh168 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 ".*/package[.]json".
    • files with paths like ".*[.]mk".
    • files with paths like ".*[.]bat".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 9 files match defined criteria (237 LOC, 0.0% vs. main code):
    • 1 *.xml files (138 LOC)
    • 7 *.sh files (94 LOC)
    • 1 *.bat files (5 LOC)
  • " *.xml" is biggest, containing 58.23% of LOC.
  • " *.bat" is smallest, containing 2.11% of LOC.


*.xml138 LOC (58%) 1 file
*.sh94 LOC (39%) 7 files
*.bat5 LOC (2%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]dockerignore".
  • 920 files match defined criteria (31,272 LOC, 5.3% vs. main code):
    • 875 *.md files (29,623 LOC)
    • 36 *.svg files (1,118 LOC)
    • 3 *.adoc files (306 LOC)
    • 4 *.json files (215 LOC)
    • 2 *.txt files (10 LOC)
  • " *.md" is biggest, containing 94.73% of LOC.
  • " *.txt" is smallest, containing 0.03% of LOC.


*.md29623 LOC (94%) 875 files
*.svg1118 LOC (3%) 36 files
*.adoc306 LOC (<1%) 3 files
*.json215 LOC (<1%) 4 files
*.txt10 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:33