apache / serf
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
in
editorconfig
natvis
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.

main22637 LOC (59%) 71 files
test14515 LOC (38%) 25 files
generated0 LOC (0%) 0 files
build and deployment100 LOC (<1%) 1 file
other795 LOC (2%) 6 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
natvis
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 71 files match defined criteria (22,637 LOC, 100.0% vs. main code):
    • 47 *.c files (19,147 LOC)
    • 10 *.h files (2,128 LOC)
    • 7 *.cmake files (679 LOC)
    • 1 *.inc files (299 LOC)
    • 4 *.py files (298 LOC)
    • 1 *.natvis files (74 LOC)
    • 1 *.in files (12 LOC)
  • " *.c" is biggest, containing 84.58% of LOC.
  • " *.in" is smallest, containing 0.05% of LOC.


*.c19147 LOC (84%) 47 files
*.h2128 LOC (9%) 10 files
*.cmake679 LOC (2%) 7 files
*.inc299 LOC (1%) 1 file
*.py298 LOC (1%) 4 files
*.natvis74 LOC (<1%) 1 file
*.in12 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 ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
  • 25 files match defined criteria (14,515 LOC, 64.1% vs. main code):
    • 20 *.c files (13,404 LOC)
    • 4 *.h files (936 LOC)
    • 1 *.py files (175 LOC)
  • " *.c" is biggest, containing 92.35% of LOC.
  • " *.py" is smallest, containing 1.21% of LOC.


*.c13404 LOC (92%) 20 files
*.h936 LOC (6%) 4 files
*.py175 LOC (1%) 1 file
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 (100 LOC, 0.4% vs. main code). All matches are in *.sh files.


*.sh100 LOC (100%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]md".
  • 6 files match defined criteria (795 LOC, 3.5% vs. main code):
    • 4 *.txt files (672 LOC)
    • 1 *.py files (67 LOC)
    • 1 *.md files (56 LOC)
  • " *.txt" is biggest, containing 84.53% of LOC.
  • " *.md" is smallest, containing 7.04% of LOC.


*.txt672 LOC (84%) 4 files
*.py67 LOC (8%) 1 file
*.md56 LOC (7%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:04