azure / chaos-engineering-demo
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
csproj
webmanifest
dotsettings
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.

main8403 LOC (37%) 217 files
test490 LOC (2%) 12 files
generated6139 LOC (27%) 1 file
build and deployment113 LOC (<1%) 4 files
other7310 LOC (32%) 81 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 217 files match defined criteria (8,403 LOC, 100.0% vs. main code):
    • 31 *.scss files (3,072 LOC)
    • 39 *.tsx files (2,071 LOC)
    • 102 *.cs files (1,694 LOC)
    • 30 *.ts files (987 LOC)
    • 1 *.sql files (221 LOC)
    • 8 *.yaml files (137 LOC)
    • 1 *.css files (116 LOC)
    • 1 *.html files (51 LOC)
    • 2 *.js files (26 LOC)
    • 1 *.webmanifest files (19 LOC)
    • 1 *.xml files (9 LOC)
  • " *.scss" is biggest, containing 36.56% of LOC.
  • " *.xml" is smallest, containing 0.11% of LOC.


*.scss3072 LOC (36%) 31 files
*.tsx2071 LOC (24%) 39 files
*.cs1694 LOC (20%) 102 files
*.ts987 LOC (11%) 30 files
*.sql221 LOC (2%) 1 file
*.yaml137 LOC (1%) 8 files
*.css116 LOC (1%) 1 file
*.html51 LOC (<1%) 1 file
*.js26 LOC (<1%) 2 files
*.webmanifest19 LOC (<1%) 1 file
*.xml9 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 ".*[.]spec[.]ts".
  • 12 files match defined criteria (490 LOC, 5.8% vs. main code). All matches are in *.ts files.


*.ts490 LOC (100%) 12 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 (6,139 LOC, 73.1% vs. main code). All matches are in *.json files.


*.json6139 LOC (100%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]csproj".
    • 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".
  • 4 files match defined criteria (113 LOC, 1.3% vs. main code). All matches are in *.csproj files.


*.csproj113 LOC (100%) 4 files
Other Code
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 ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*[.]txt".
  • 81 files match defined criteria (7,310 LOC, 87.0% vs. main code):
    • 9 *.json files (6,696 LOC)
    • 13 *.md files (426 LOC)
    • 59 *.svg files (188 LOC)
  • " *.json" is biggest, containing 91.6% of LOC.
  • " *.svg" is smallest, containing 2.57% of LOC.


*.json6696 LOC (91%) 9 files
*.md426 LOC (5%) 13 files
*.svg188 LOC (2%) 59 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 23:15