azure / Microsoft.Azure.StackExchangeRedis
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
props
txt
csproj
targets
editorconfig
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.

main673 LOC (67%) 13 files
test85 LOC (8%) 3 files
generated0 LOC (0%) 0 files
build and deployment48 LOC (4%) 2 files
other197 LOC (19%) 9 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 ".*".
  • 13 files match defined criteria (673 LOC, 100.0% vs. main code):
    • 9 *.cs files (606 LOC)
    • 3 *.props files (62 LOC)
    • 1 *.targets files (5 LOC)
  • " *.cs" is biggest, containing 90.04% of LOC.
  • " *.targets" is smallest, containing 0.74% of LOC.


*.cs606 LOC (90%) 9 files
*.props62 LOC (9%) 3 files
*.targets5 LOC (<1%) 1 file
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]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 3 files match defined criteria (85 LOC, 12.6% vs. main code):
    • 2 *.cs files (63 LOC)
    • 1 *.csproj files (22 LOC)
  • " *.cs" is biggest, containing 74.12% of LOC.
  • " *.csproj" is smallest, containing 25.88% of LOC.


*.cs63 LOC (74%) 2 files
*.csproj22 LOC (25%) 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".
  • 2 files match defined criteria (48 LOC, 7.1% vs. main code). All matches are in *.csproj files.


*.csproj48 LOC (100%) 2 files
Other Code
txt
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 ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]editorconfig".
  • 9 files match defined criteria (197 LOC, 29.3% vs. main code):
    • 6 *.md files (149 LOC)
    • 2 *.txt files (41 LOC)
    • 1 *.json files (7 LOC)
  • " *.md" is biggest, containing 75.63% of LOC.
  • " *.json" is smallest, containing 3.55% of LOC.


*.md149 LOC (75%) 6 files
*.txt41 LOC (20%) 2 files
*.json7 LOC (3%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:54