apache / httpd-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
cgi
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.

main4951 LOC (9%) 31 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment18 LOC (<1%) 6 files
other46102 LOC (90%) 290 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 31 files match defined criteria (4,951 LOC, 100.0% vs. main code):
    • 23 *.html files (3,771 LOC)
    • 1 *.css files (812 LOC)
    • 2 *.py files (176 LOC)
    • 2 *.rdf files (159 LOC)
    • 1 *.yaml files (21 LOC)
    • 2 *.cgi files (12 LOC)
  • " *.html" is biggest, containing 76.17% of LOC.
  • " *.cgi" is smallest, containing 0.24% of LOC.


*.html3771 LOC (76%) 23 files
*.css812 LOC (16%) 1 file
*.py176 LOC (3%) 2 files
*.rdf159 LOC (3%) 2 files
*.yaml21 LOC (<1%) 1 file
*.cgi12 LOC (<1%) 2 files
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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 6 files match defined criteria (18 LOC, 0.4% vs. main code). All matches are in *.sh files.


*.sh18 LOC (100%) 6 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
  • 290 files match defined criteria (46,102 LOC, 931.2% vs. main code):
    • 229 *.json files (38,393 LOC)
    • 46 *.md files (4,426 LOC)
    • 15 *.txt files (3,283 LOC)
  • " *.json" is biggest, containing 83.28% of LOC.
  • " *.txt" is smallest, containing 7.12% of LOC.


*.json38393 LOC (83%) 229 files
*.md4426 LOC (9%) 46 files
*.txt3283 LOC (7%) 15 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 20:28