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.

main4941 LOC (10%) 31 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment15 LOC (<1%) 6 files
other44438 LOC (89%) 273 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,941 LOC, 100.0% vs. main code):
    • 23 *.html files (3,771 LOC)
    • 1 *.css files (812 LOC)
    • 2 *.py files (166 LOC)
    • 2 *.rdf files (159 LOC)
    • 1 *.yaml files (21 LOC)
    • 2 *.cgi files (12 LOC)
  • " *.html" is biggest, containing 76.32% of LOC.
  • " *.cgi" is smallest, containing 0.24% of LOC.


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


*.sh15 LOC (100%) 6 files
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 ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
  • 273 files match defined criteria (44,438 LOC, 899.4% vs. main code):
    • 212 *.json files (36,725 LOC)
    • 46 *.md files (4,430 LOC)
    • 15 *.txt files (3,283 LOC)
  • " *.json" is biggest, containing 82.64% of LOC.
  • " *.txt" is smallest, containing 7.39% of LOC.


*.json36725 LOC (82%) 212 files
*.md4430 LOC (9%) 46 files
*.txt3283 LOC (7%) 15 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-11 02:16