azure / AppConfiguration-DotnetProvider
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
txt
editorconfig
cmd
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.

main5846 LOC (39%) 89 files
test7763 LOC (53%) 34 files
generated0 LOC (0%) 0 files
build and deployment111 LOC (<1%) 3 files
other923 LOC (6%) 35 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 89 files match defined criteria (5,846 LOC, 100.0% vs. main code):
    • 82 *.cs files (5,740 LOC)
    • 4 *.ps1 files (77 LOC)
    • 2 *.props files (28 LOC)
    • 1 *.cmd files (1 LOC)
  • " *.cs" is biggest, containing 98.19% of LOC.
  • " *.cmd" is smallest, containing 0.02% of LOC.


*.cs5740 LOC (98%) 82 files
*.ps177 LOC (1%) 4 files
*.props28 LOC (<1%) 2 files
*.cmd1 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 ".*/test[.].*".
  • 34 files match defined criteria (7,763 LOC, 132.8% vs. main code):
    • 30 *.cs files (7,665 LOC)
    • 3 *.csproj files (86 LOC)
    • 1 *.ps1 files (12 LOC)
  • " *.cs" is biggest, containing 98.74% of LOC.
  • " *.ps1" is smallest, containing 0.15% of LOC.


*.cs7665 LOC (98%) 30 files
*.csproj86 LOC (1%) 3 files
*.ps112 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".
  • 3 files match defined criteria (111 LOC, 1.9% vs. main code). All matches are in *.csproj files.


*.csproj111 LOC (100%) 3 files
Other Code
cshtml
csproj
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]editorconfig".
  • 35 files match defined criteria (923 LOC, 15.8% vs. main code):
    • 8 *.json files (314 LOC)
    • 9 *.cs files (260 LOC)
    • 8 *.cshtml files (156 LOC)
    • 3 *.md files (65 LOC)
    • 3 *.csproj files (55 LOC)
    • 2 *.css files (33 LOC)
    • 1 *.txt files (28 LOC)
    • 1 *.js files (12 LOC)
  • " *.json" is biggest, containing 34.02% of LOC.
  • " *.js" is smallest, containing 1.3% of LOC.


*.json314 LOC (34%) 8 files
*.cs260 LOC (28%) 9 files
*.cshtml156 LOC (16%) 8 files
*.md65 LOC (7%) 3 files
*.csproj55 LOC (5%) 3 files
*.css33 LOC (3%) 2 files
*.txt28 LOC (3%) 1 file
*.js12 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:32