apache / camel-website-pub
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
asc
htaccess
txt
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.

main598294 LOC (96%) 1,003 files
test27 LOC (<1%) 1 file
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other21996 LOC (3%) 450 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
xsd
asc
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 1003 files match defined criteria (598,294 LOC, 100.0% vs. main code):
    • 901 *.xsd files (568,292 LOC)
    • 49 *.xml files (28,153 LOC)
    • 16 *.yaml files (1,269 LOC)
    • 24 *.asc files (556 LOC)
    • 1 *.webmanifest files (12 LOC)
    • 12 *.html files (12 LOC)
  • " *.xsd" is biggest, containing 94.99% of LOC.
  • " *.html" is smallest, containing 0% of LOC.


*.xsd568292 LOC (94%) 901 files
*.xml28153 LOC (4%) 49 files
*.yaml1269 LOC (<1%) 16 files
*.asc556 LOC (<1%) 24 files
*.webmanifest12 LOC (<1%) 1 file
*.html12 LOC (<1%) 12 files
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/.*".
  • 1 file matches defined criteria (27 LOC, 0.0% vs. main code). All matches are in *.xml files.


*.xml27 LOC (100%) 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 ".*[.]txt".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]svg".
  • 450 files match defined criteria (21,996 LOC, 3.7% vs. main code):
    • 447 *.svg files (21,860 LOC)
    • 2 *.json files (131 LOC)
    • 1 *.txt files (5 LOC)
  • " *.svg" is biggest, containing 99.38% of LOC.
  • " *.txt" is smallest, containing 0.02% of LOC.


*.svg21860 LOC (99%) 447 files
*.json131 LOC (<1%) 2 files
*.txt5 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:22