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

main69919 LOC (69%) 1,381 files
test1486 LOC (1%) 20 files
generated3211 LOC (3%) 1 file
build and deployment3158 LOC (3%) 38 files
other23117 LOC (22%) 307 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 ".*".
  • 1381 files match defined criteria (69,919 LOC, 100.0% vs. main code):
    • 797 *.java files (34,491 LOC)
    • 280 *.js files (18,949 LOC)
    • 83 *.xml files (7,771 LOC)
    • 89 *.css files (4,120 LOC)
    • 25 *.sql files (2,449 LOC)
    • 106 *.html files (2,032 LOC)
    • 1 *.py files (107 LOC)
  • " *.java" is biggest, containing 49.33% of LOC.
  • " *.py" is smallest, containing 0.15% of LOC.


*.java34491 LOC (49%) 797 files
*.js18949 LOC (27%) 280 files
*.xml7771 LOC (11%) 83 files
*.css4120 LOC (5%) 89 files
*.sql2449 LOC (3%) 25 files
*.html2032 LOC (2%) 106 files
*.py107 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/.*".
  • 20 files match defined criteria (1,486 LOC, 2.1% vs. main code):
    • 17 *.java files (1,302 LOC)
    • 3 *.js files (184 LOC)
  • " *.java" is biggest, containing 87.62% of LOC.
  • " *.js" is smallest, containing 12.38% of LOC.


*.java1302 LOC (87%) 17 files
*.js184 LOC (12%) 3 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (3,211 LOC, 4.6% vs. main code). All matches are in *.json files.


*.json3211 LOC (100%) 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]sh".
  • 38 files match defined criteria (3,158 LOC, 4.5% vs. main code):
    • 35 *.xml files (2,896 LOC)
    • 2 *.sh files (138 LOC)
    • 1 *.js files (124 LOC)
  • " *.xml" is biggest, containing 91.7% of LOC.
  • " *.js" is smallest, containing 3.93% of LOC.


*.xml2896 LOC (91%) 35 files
*.sh138 LOC (4%) 2 files
*.js124 LOC (3%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[.]dockerignore".
  • 307 files match defined criteria (23,117 LOC, 33.1% vs. main code):
    • 116 *.json files (18,823 LOC)
    • 15 *.md files (3,107 LOC)
    • 132 *.txt files (1,143 LOC)
    • 43 *.svg files (43 LOC)
    • 1 *.js files (1 LOC)
  • " *.json" is biggest, containing 81.42% of LOC.
  • " *.js" is smallest, containing 0% of LOC.


*.json18823 LOC (81%) 116 files
*.md3107 LOC (13%) 15 files
*.txt1143 LOC (4%) 132 files
*.svg43 LOC (<1%) 43 files
*.js1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2023-08-10 16:36