apache / guacamole-server
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
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.

main32097 LOC (94%) 424 files
test1475 LOC (4%) 36 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other524 LOC (1%) 7 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 ".*".
  • 424 files match defined criteria (32,097 LOC, 100.0% vs. main code):
    • 207 *.c files (27,412 LOC)
    • 211 *.h files (4,254 LOC)
    • 4 *.in files (242 LOC)
    • 2 *.pl files (189 LOC)
  • " *.c" is biggest, containing 85.4% of LOC.
  • " *.pl" is smallest, containing 0.59% of LOC.


*.c27412 LOC (85%) 207 files
*.h4254 LOC (13%) 211 files
*.in242 LOC (<1%) 4 files
*.pl189 LOC (<1%) 2 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[-].*".
    • files with paths like ".*/[Tt]ests/.*".
  • 36 files match defined criteria (1,475 LOC, 4.6% vs. main code):
    • 34 *.c files (1,345 LOC)
    • 1 *.pl files (109 LOC)
    • 1 *.h files (21 LOC)
  • " *.c" is biggest, containing 91.19% of LOC.
  • " *.h" is smallest, containing 1.42% of LOC.


*.c1345 LOC (91%) 34 files
*.pl109 LOC (7%) 1 file
*.h21 LOC (1%) 1 file
Other Code
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Mm]an/.*".
  • 7 files match defined criteria (524 LOC, 1.6% vs. main code):
    • 4 *.in files (297 LOC)
    • 3 *.md files (227 LOC)
  • " *.in" is biggest, containing 56.68% of LOC.
  • " *.md" is smallest, containing 43.32% of LOC.


*.in297 LOC (56%) 4 files
*.md227 LOC (43%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 16:36