apache / apr-util
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
dsp
mak
in
m4
txt
x
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.

main38074 LOC (59%) 134 files
test9296 LOC (14%) 35 files
generated4021 LOC (6%) 17 files
build and deployment7717 LOC (12%) 16 files
other4536 LOC (7%) 19 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 ".*".
  • 134 files match defined criteria (38,074 LOC, 100.0% vs. main code):
    • 75 *.c files (33,028 LOC)
    • 46 *.h files (3,795 LOC)
    • 11 *.in files (1,096 LOC)
    • 1 *.pl files (154 LOC)
    • 1 *.inc files (1 LOC)
  • " *.c" is biggest, containing 86.75% of LOC.
  • " *.inc" is smallest, containing 0% of LOC.


*.c33028 LOC (86%) 75 files
*.h3795 LOC (9%) 46 files
*.in1096 LOC (2%) 11 files
*.pl154 LOC (<1%) 1 file
*.inc1 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_tests[.].*".
  • 35 files match defined criteria (9,296 LOC, 24.4% vs. main code):
    • 28 *.c files (8,918 LOC)
    • 5 *.h files (263 LOC)
    • 1 *.in files (79 LOC)
    • 1 *.xml files (36 LOC)
  • " *.c" is biggest, containing 95.93% of LOC.
  • " *.xml" is smallest, containing 0.39% of LOC.


*.c8918 LOC (95%) 28 files
*.h263 LOC (2%) 5 files
*.in79 LOC (<1%) 1 file
*.xml36 LOC (<1%) 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.*".
  • 17 files match defined criteria (4,021 LOC, 10.6% vs. main code). All matches are in *.dsp files.


*.dsp4021 LOC (100%) 17 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
mak
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]mak".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 16 files match defined criteria (7,717 LOC, 20.3% vs. main code):
    • 14 *.mak files (7,628 LOC)
    • 2 *.sh files (89 LOC)
  • " *.mak" is biggest, containing 98.85% of LOC.
  • " *.sh" is smallest, containing 1.15% of LOC.


*.mak7628 LOC (98%) 14 files
*.sh89 LOC (1%) 2 files
Other Code
dsp
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]dsp".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]editorconfig".
  • 19 files match defined criteria (4,536 LOC, 11.9% vs. main code):
    • 17 *.dsp files (4,021 LOC)
    • 1 *.txt files (409 LOC)
    • 1 *.cmake files (106 LOC)
  • " *.dsp" is biggest, containing 88.65% of LOC.
  • " *.cmake" is smallest, containing 2.34% of LOC.


*.dsp4021 LOC (88%) 17 files
*.txt409 LOC (9%) 1 file
*.cmake106 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:15