azure / azure-signalr
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
cshtml
props
razor
txt
editorconfig
targets
gitmodules
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.

main26059 LOC (40%) 382 files
test23743 LOC (36%) 223 files
generated0 LOC (0%) 0 files
build and deployment231 LOC (<1%) 7 files
other14535 LOC (22%) 90 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
targets
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 382 files match defined criteria (26,059 LOC, 100.0% vs. main code):
    • 372 *.cs files (25,749 LOC)
    • 7 *.props files (260 LOC)
    • 2 *.ps1 files (32 LOC)
    • 1 *.targets files (18 LOC)
  • " *.cs" is biggest, containing 98.81% of LOC.
  • " *.targets" is smallest, containing 0.07% of LOC.


*.cs25749 LOC (98%) 372 files
*.props260 LOC (<1%) 7 files
*.ps132 LOC (<1%) 2 files
*.targets18 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 223 files match defined criteria (23,743 LOC, 91.1% vs. main code):
    • 211 *.cs files (23,444 LOC)
    • 11 *.csproj files (289 LOC)
    • 1 *.props files (10 LOC)
  • " *.cs" is biggest, containing 98.74% of LOC.
  • " *.props" is smallest, containing 0.04% of LOC.


*.cs23444 LOC (98%) 211 files
*.csproj289 LOC (1%) 11 files
*.props10 LOC (<1%) 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 ".*/[.]gitmodules".
  • 7 files match defined criteria (231 LOC, 0.9% vs. main code). All matches are in *.csproj files.


*.csproj231 LOC (100%) 7 files
Other Code
cshtml
razor
csproj
txt
props
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 ".*[.]editorconfig".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]dockerignore".
  • 90 files match defined criteria (14,535 LOC, 55.8% vs. main code):
    • 5 *.js files (11,018 LOC)
    • 9 *.md files (874 LOC)
    • 23 *.cs files (841 LOC)
    • 1 *.svg files (543 LOC)
    • 17 *.json files (282 LOC)
    • 4 *.css files (241 LOC)
    • 2 *.html files (234 LOC)
    • 9 *.cshtml files (170 LOC)
    • 8 *.razor files (131 LOC)
    • 8 *.csproj files (98 LOC)
    • 3 *.txt files (93 LOC)
    • 1 *.props files (10 LOC)
  • " *.js" is biggest, containing 75.8% of LOC.
  • " *.props" is smallest, containing 0.07% of LOC.


*.js11018 LOC (75%) 5 files
*.md874 LOC (6%) 9 files
*.cs841 LOC (5%) 23 files
*.svg543 LOC (3%) 1 file
*.json282 LOC (1%) 17 files
*.css241 LOC (1%) 4 files
*.html234 LOC (1%) 2 files
*.cshtml170 LOC (1%) 9 files
*.razor131 LOC (<1%) 8 files
*.csproj98 LOC (<1%) 8 files
*.txt93 LOC (<1%) 3 files
*.props10 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:30