apache / httpd-flood
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
in
m4
dsp
txt
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.

main4336 LOC (78%) 34 files
test135 LOC (2%) 1 file
generated313 LOC (5%) 2 files
build and deployment72 LOC (1%) 1 file
other658 LOC (11%) 12 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 34 files match defined criteria (4,336 LOC, 100.0% vs. main code):
    • 15 *.c files (3,642 LOC)
    • 5 *.in files (401 LOC)
    • 14 *.h files (293 LOC)
  • " *.c" is biggest, containing 83.99% of LOC.
  • " *.h" is smallest, containing 6.76% of LOC.


*.c3642 LOC (83%) 15 files
*.in401 LOC (9%) 5 files
*.h293 LOC (6%) 14 files
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[.].*".
  • 1 file matches defined criteria (135 LOC, 3.1% vs. main code). All matches are in *.c files.


*.c135 LOC (100%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
dsp
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]dsp" AND any line of content like ".*[#] Microsoft Developer Studio Generated Build File.*".
  • 2 files match defined criteria (313 LOC, 7.2% vs. main code). All matches are in *.dsp files.


*.dsp313 LOC (100%) 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".
  • 1 file matches defined criteria (72 LOC, 1.7% vs. main code). All matches are in *.sh files.


*.sh72 LOC (100%) 1 file
Other Code
dsp
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]dsp".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
  • 12 files match defined criteria (658 LOC, 15.2% vs. main code):
    • 2 *.dsp files (313 LOC)
    • 9 *.xml files (295 LOC)
    • 1 *.awk files (50 LOC)
  • " *.dsp" is biggest, containing 47.57% of LOC.
  • " *.awk" is smallest, containing 7.6% of LOC.


*.dsp313 LOC (47%) 2 files
*.xml295 LOC (44%) 9 files
*.awk50 LOC (7%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 13:39