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
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.

main483225 LOC (19%) 3,202 files
test2759 LOC (<1%) 17 files
generated1657810 LOC (68%) 9,515 files
build and deployment66 LOC (<1%) 1 file
other272513 LOC (11%) 413 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 3202 files match defined criteria (483,225 LOC, 100.0% vs. main code):
    • 1,011 *.html files (322,044 LOC)
    • 232 *.css files (91,186 LOC)
    • 1,955 *.js files (69,871 LOC)
    • 1 *.rdf files (76 LOC)
    • 1 *.yml files (26 LOC)
    • 1 *.pl files (14 LOC)
    • 1 *.rb files (8 LOC)
  • " *.html" is biggest, containing 66.64% of LOC.
  • " *.rb" is smallest, containing 0% of LOC.


*.html322044 LOC (66%) 1,011 files
*.css91186 LOC (18%) 232 files
*.js69871 LOC (14%) 1,955 files
*.rdf76 LOC (<1%) 1 file
*.yml26 LOC (<1%) 1 file
*.pl14 LOC (<1%) 1 file
*.rb8 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.6% 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" .*".
  • 9515 files match defined criteria (1,657,810 LOC, 343.1% vs. main code). All matches are in *.html files.


*.html1657810 LOC (100%) 9,515 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".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 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
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*[.]json".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[Dd]ocumentation/.*".
  • 413 files match defined criteria (272,513 LOC, 56.4% vs. main code):
    • 129 *.svg files (185,130 LOC)
    • 211 *.txt files (80,841 LOC)
    • 72 *.md files (5,778 LOC)
    • 1 *.html files (764 LOC)
  • " *.svg" is biggest, containing 67.93% of LOC.
  • " *.html" is smallest, containing 0.28% of LOC.


*.svg185130 LOC (67%) 129 files
*.txt80841 LOC (29%) 211 files
*.md5778 LOC (2%) 72 files
*.html764 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 16:56