azure / AVDSessionHostReplacer
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.

main1486 LOC (43%) 40 files
test483 LOC (14%) 9 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other1480 LOC (42%) 20 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 ".*".
  • 40 files match defined criteria (1,486 LOC, 100.0% vs. main code):
    • 33 *.ps1 files (1,235 LOC)
    • 4 *.psd1 files (116 LOC)
    • 1 *.psm1 files (69 LOC)
    • 2 *.ps1xml files (66 LOC)
  • " *.ps1" is biggest, containing 83.11% of LOC.
  • " *.ps1xml" is smallest, containing 4.44% of LOC.


*.ps11235 LOC (83%) 33 files
*.psd1116 LOC (7%) 4 files
*.psm169 LOC (4%) 1 file
*.ps1xml66 LOC (4%) 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 ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 9 files match defined criteria (483 LOC, 32.5% vs. main code). All matches are in *.ps1 files.


*.ps1483 LOC (100%) 9 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 20 files match defined criteria (1,480 LOC, 99.6% vs. main code):
    • 4 *.json files (1,328 LOC)
    • 15 *.md files (144 LOC)
    • 1 *.txt files (8 LOC)
  • " *.json" is biggest, containing 89.73% of LOC.
  • " *.txt" is smallest, containing 0.54% of LOC.


*.json1328 LOC (89%) 4 files
*.md144 LOC (9%) 15 files
*.txt8 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 23:04