apache / hop-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
hbs
txt
htaccess
webmanifest
editorconfig
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.

main5350 LOC (46%) 116 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other6232 LOC (53%) 96 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
hbs
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 116 files match defined criteria (5,350 LOC, 100.0% vs. main code):
    • 30 *.css files (3,422 LOC)
    • 36 *.js files (1,087 LOC)
    • 16 *.html files (319 LOC)
    • 29 *.hbs files (270 LOC)
    • 1 *.toml files (161 LOC)
    • 1 *.rdf files (44 LOC)
    • 1 *.yaml files (24 LOC)
    • 1 *.webmanifest files (12 LOC)
    • 1 *.xml files (11 LOC)
  • " *.css" is biggest, containing 63.96% of LOC.
  • " *.xml" is smallest, containing 0.21% of LOC.


*.css3422 LOC (63%) 30 files
*.js1087 LOC (20%) 36 files
*.html319 LOC (5%) 16 files
*.hbs270 LOC (5%) 29 files
*.toml161 LOC (3%) 1 file
*.rdf44 LOC (<1%) 1 file
*.yaml24 LOC (<1%) 1 file
*.webmanifest12 LOC (<1%) 1 file
*.xml11 LOC (<1%) 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 ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]adoc".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]htaccess".
  • 96 files match defined criteria (6,232 LOC, 116.5% vs. main code):
    • 76 *.adoc files (4,962 LOC)
    • 16 *.svg files (1,063 LOC)
    • 2 *.json files (134 LOC)
    • 1 *.md files (71 LOC)
    • 1 *.txt files (2 LOC)
  • " *.adoc" is biggest, containing 79.62% of LOC.
  • " *.txt" is smallest, containing 0.03% of LOC.


*.adoc4962 LOC (79%) 76 files
*.svg1063 LOC (17%) 16 files
*.json134 LOC (2%) 2 files
*.md71 LOC (1%) 1 file
*.txt2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:20