azure / azure-signalr-bench
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
npmrc
cshtml
gitattributes
txt
proto
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.

main2668 LOC (19%) 78 files
test194 LOC (1%) 8 files
generated10156 LOC (73%) 139 files
build and deployment540 LOC (3%) 10 files
other315 LOC (2%) 26 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 ".*".
  • 78 files match defined criteria (2,668 LOC, 100.0% vs. main code):
    • 56 *.cs files (1,593 LOC)
    • 22 *.yaml files (1,075 LOC)
  • " *.cs" is biggest, containing 59.71% of LOC.
  • " *.yaml" is smallest, containing 40.29% of LOC.


*.cs1593 LOC (59%) 56 files
*.yaml1075 LOC (40%) 22 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
  • 8 files match defined criteria (194 LOC, 7.3% vs. main code):
    • 6 *.cs files (158 LOC)
    • 2 *.csproj files (36 LOC)
  • " *.cs" is biggest, containing 81.44% of LOC.
  • " *.csproj" is smallest, containing 18.56% of LOC.


*.cs158 LOC (81%) 6 files
*.csproj36 LOC (18%) 2 files
Generated Code
Automatically generated files, not manually changed after generation.
csproj
proto
cshtml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/Pods/.*".
  • 139 files match defined criteria (10,156 LOC, 380.7% vs. main code):
    • 88 *.cs files (7,973 LOC)
    • 10 *.js files (1,253 LOC)
    • 8 *.csproj files (243 LOC)
    • 16 *.json files (228 LOC)
    • 1 *.ts files (125 LOC)
    • 1 *.proto files (79 LOC)
    • 2 *.sh files (78 LOC)
    • 2 *.py files (66 LOC)
    • 2 *.css files (43 LOC)
    • 2 *.cshtml files (26 LOC)
    • 1 *.toml files (19 LOC)
    • 1 *.html files (18 LOC)
    • 5 *.md files (5 LOC)
  • " *.cs" is biggest, containing 78.51% of LOC.
  • " *.md" is smallest, containing 0.05% of LOC.


*.cs7973 LOC (78%) 88 files
*.js1253 LOC (12%) 10 files
*.csproj243 LOC (2%) 8 files
*.json228 LOC (2%) 16 files
*.ts125 LOC (1%) 1 file
*.proto79 LOC (<1%) 1 file
*.sh78 LOC (<1%) 2 files
*.py66 LOC (<1%) 2 files
*.css43 LOC (<1%) 2 files
*.cshtml26 LOC (<1%) 2 files
*.toml19 LOC (<1%) 1 file
*.html18 LOC (<1%) 1 file
*.md5 LOC (<1%) 5 files
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 ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 10 files match defined criteria (540 LOC, 20.2% vs. main code):
    • 7 *.sh files (484 LOC)
    • 3 *.csproj files (56 LOC)
  • " *.sh" is biggest, containing 89.63% of LOC.
  • " *.csproj" is smallest, containing 10.37% of LOC.


*.sh484 LOC (89%) 7 files
*.csproj56 LOC (10%) 3 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 ".*[.]npmrc".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]dockerignore".
  • 26 files match defined criteria (315 LOC, 11.8% vs. main code):
    • 17 *.json files (231 LOC)
    • 9 *.md files (84 LOC)
  • " *.json" is biggest, containing 73.33% of LOC.
  • " *.md" is smallest, containing 26.67% of LOC.


*.json231 LOC (73%) 17 files
*.md84 LOC (26%) 9 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:35