apache / comdev-site
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
txt
htaccess
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.

main712 LOC (10%) 32 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment1 LOC (<1%) 1 file
other6306 LOC (89%) 110 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 32 files match defined criteria (712 LOC, 100.0% vs. main code):
    • 18 *.html files (317 LOC)
    • 8 *.yaml files (112 LOC)
    • 1 *.css files (104 LOC)
    • 3 *.js files (89 LOC)
    • 1 *.rdf files (48 LOC)
    • 1 *.toml files (42 LOC)
  • " *.html" is biggest, containing 44.52% of LOC.
  • " *.toml" is smallest, containing 5.9% of LOC.


*.html317 LOC (44%) 18 files
*.yaml112 LOC (15%) 8 files
*.css104 LOC (14%) 1 file
*.js89 LOC (12%) 3 files
*.rdf48 LOC (6%) 1 file
*.toml42 LOC (5%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (1 LOC, 0.1% vs. main code). All matches are in *.sh files.


*.sh1 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 ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]editorconfig".
  • 110 files match defined criteria (6,306 LOC, 885.7% vs. main code):
    • 92 *.md files (5,986 LOC)
    • 16 *.txt files (265 LOC)
    • 1 *.json files (38 LOC)
    • 1 *.yaml files (17 LOC)
  • " *.md" is biggest, containing 94.93% of LOC.
  • " *.yaml" is smallest, containing 0.27% of LOC.


*.md5986 LOC (94%) 92 files
*.txt265 LOC (4%) 16 files
*.json38 LOC (<1%) 1 file
*.yaml17 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 17:34