apache / guacamole-website
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
mo
po
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.

main593153 LOC (20%) 3,897 files
test2759 LOC (<1%) 17 files
generated1882767 LOC (66%) 11,044 files
build and deployment66 LOC (<1%) 1 file
other362553 LOC (12%) 724 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mo
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3897 files match defined criteria (593,153 LOC, 100.0% vs. main code):
    • 1,134 *.html files (389,533 LOC)
    • 281 *.css files (112,965 LOC)
    • 2,419 *.js files (89,234 LOC)
    • 17 *.scss files (828 LOC)
    • 45 *.mo files (517 LOC)
    • 1 *.rdf files (76 LOC)
  • " *.html" is biggest, containing 65.67% of LOC.
  • " *.rdf" is smallest, containing 0.01% of LOC.


*.html389533 LOC (65%) 1,134 files
*.css112965 LOC (19%) 281 files
*.js89234 LOC (15%) 2,419 files
*.scss828 LOC (<1%) 17 files
*.mo517 LOC (<1%) 45 files
*.rdf76 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]ests/.*".
    • files with paths like ".*[-]test[-].*".
  • 17 files match defined criteria (2,759 LOC, 0.5% vs. main code):
    • 3 *.js files (2,125 LOC)
    • 13 *.html files (614 LOC)
    • 1 *.css files (20 LOC)
  • " *.js" is biggest, containing 77.02% of LOC.
  • " *.css" is smallest, containing 0.72% of LOC.


*.js2125 LOC (77%) 3 files
*.html614 LOC (22%) 13 files
*.css20 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
    • files with paths like ".*[.](html|html|xhtml)" AND any line of content like "[ ]*[<]meta name[=]"generator" .*".
  • 11044 files match defined criteria (1,882,767 LOC, 317.4% vs. main code). All matches are in *.html files.


*.html1882767 LOC (100%) 11,044 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 1 file matches defined criteria (66 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh66 LOC (100%) 1 file
Other Code
txt
po
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]po".
    • files with paths like ".*[.](rst|rest|resttxt|rsttxt)".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Dd]ocumentation/.*".
  • 724 files match defined criteria (362,553 LOC, 61.1% vs. main code):
    • 238 *.svg files (224,817 LOC)
    • 284 *.txt files (108,132 LOC)
    • 155 *.md files (25,641 LOC)
    • 45 *.po files (2,284 LOC)
    • 1 *.rst files (915 LOC)
    • 1 *.html files (764 LOC)
  • " *.svg" is biggest, containing 62.01% of LOC.
  • " *.html" is smallest, containing 0.21% of LOC.


*.svg224817 LOC (62%) 238 files
*.txt108132 LOC (29%) 284 files
*.md25641 LOC (7%) 155 files
*.po2284 LOC (<1%) 45 files
*.rst915 LOC (<1%) 1 file
*.html764 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 16:02