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
htaccess
txt
webmanifest
editorconfig
mjs
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.

main576568 LOC (96%) 1,142 files
test178 LOC (<1%) 1 file
generated0 LOC (0%) 0 files
build and deployment237 LOC (<1%) 9 files
other21262 LOC (3%) 630 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 ".*".
  • 1142 files match defined criteria (576,568 LOC, 100.0% vs. main code):
    • 901 *.xsd files (568,292 LOC)
    • 33 *.css files (3,273 LOC)
    • 56 *.js files (1,648 LOC)
    • 49 *.html files (1,241 LOC)
    • 66 *.hbs files (842 LOC)
    • 24 *.asc files (556 LOC)
    • 5 *.yml files (267 LOC)
    • 2 *.adoc files (186 LOC)
    • 2 *.yaml files (138 LOC)
    • 2 *.toml files (102 LOC)
    • 1 *.webmanifest files (12 LOC)
    • 1 *.xml files (11 LOC)
  • " *.xsd" is biggest, containing 98.56% of LOC.
  • " *.xml" is smallest, containing 0% of LOC.


*.xsd568292 LOC (98%) 901 files
*.css3273 LOC (<1%) 33 files
*.js1648 LOC (<1%) 56 files
*.html1241 LOC (<1%) 49 files
*.hbs842 LOC (<1%) 66 files
*.asc556 LOC (<1%) 24 files
*.yml267 LOC (<1%) 5 files
*.adoc186 LOC (<1%) 2 files
*.yaml138 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]ests/.*".
    • files with paths like ".*[-]test[-].*".
  • 1 file matches defined criteria (178 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh178 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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/package[.]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 ".*/[.]dockerignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]editorconfig".
  • 630 files match defined criteria (21,262 LOC, 3.7% vs. main code):
    • 581 *.md files (19,801 LOC)
    • 42 *.svg files (1,124 LOC)
    • 4 *.json files (207 LOC)
    • 1 *.adoc files (120 LOC)
    • 2 *.txt files (10 LOC)
  • " *.md" is biggest, containing 93.13% of LOC.
  • " *.txt" is smallest, containing 0.05% of LOC.


*.md19801 LOC (93%) 581 files
*.svg1124 LOC (5%) 42 files
*.json207 LOC (<1%) 4 files
*.adoc120 LOC (<1%) 1 file
*.txt10 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 21:12