apache / httpd-tests
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
t
htaccess
txt
lua
fr
in
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.

main16719 LOC (94%) 436 files
test803 LOC (4%) 6 files
generated0 LOC (0%) 0 files
build and deployment68 LOC (<1%) 12 files
other109 LOC (<1%) 93 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
t
in
lua
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 436 files match defined criteria (16,719 LOC, 100.0% vs. main code):
    • 200 *.t files (12,276 LOC)
    • 9 *.in files (1,794 LOC)
    • 82 *.php files (1,187 LOC)
    • 12 *.c files (822 LOC)
    • 4 *.inc files (333 LOC)
    • 112 *.html files (140 LOC)
    • 11 *.lua files (88 LOC)
    • 3 *.pl files (49 LOC)
    • 1 *.pm files (28 LOC)
    • 1 *.css files (1 LOC)
    • 1 *.xml files (1 LOC)
  • " *.t" is biggest, containing 73.43% of LOC.
  • " *.xml" is smallest, containing 0.01% of LOC.


*.t12276 LOC (73%) 200 files
*.in1794 LOC (10%) 9 files
*.php1187 LOC (7%) 82 files
*.c822 LOC (4%) 12 files
*.inc333 LOC (1%) 4 files
*.html140 LOC (<1%) 112 files
*.lua88 LOC (<1%) 11 files
*.pl49 LOC (<1%) 3 files
*.pm28 LOC (<1%) 1 file
*.css1 LOC (<1%) 1 file
*.xml1 LOC (<1%) 1 file
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 ".*/test_.*".
  • 6 files match defined criteria (803 LOC, 4.8% vs. main code). All matches are in *.c files.


*.c803 LOC (100%) 6 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".
  • 12 files match defined criteria (68 LOC, 0.4% vs. main code). All matches are in *.sh files.


*.sh68 LOC (100%) 12 files
Other Code
txt
fr
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]fr".
  • 93 files match defined criteria (109 LOC, 0.7% vs. main code):
    • 83 *.txt files (99 LOC)
    • 10 *.fr files (10 LOC)
  • " *.txt" is biggest, containing 90.83% of LOC.
  • " *.fr" is smallest, containing 9.17% of LOC.


*.txt99 LOC (90%) 83 files
*.fr10 LOC (9%) 10 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 23:37