azure / azure-functions-dotnet-extensions
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
txt
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.

main158 LOC (29%) 10 files
test59 LOC (11%) 3 files
generated0 LOC (0%) 0 files
build and deployment28 LOC (5%) 1 file
other290 LOC (54%) 20 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 ".*".
  • 10 files match defined criteria (158 LOC, 100.0% vs. main code). All matches are in *.cs files.


*.cs158 LOC (100%) 10 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 ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 3 files match defined criteria (59 LOC, 37.3% vs. main code):
    • 2 *.cs files (42 LOC)
    • 1 *.csproj files (17 LOC)
  • " *.cs" is biggest, containing 71.19% of LOC.
  • " *.csproj" is smallest, containing 28.81% of LOC.


*.cs42 LOC (71%) 2 files
*.csproj17 LOC (28%) 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".
  • 1 file matches defined criteria (28 LOC, 17.7% vs. main code). All matches are in *.csproj files.


*.csproj28 LOC (100%) 1 file
Other Code
csproj
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 ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*[.]txt".
  • 20 files match defined criteria (290 LOC, 183.5% vs. main code):
    • 12 *.cs files (195 LOC)
    • 2 *.csproj files (54 LOC)
    • 2 *.md files (29 LOC)
    • 4 *.json files (12 LOC)
  • " *.cs" is biggest, containing 67.24% of LOC.
  • " *.json" is smallest, containing 4.14% of LOC.


*.cs195 LOC (67%) 12 files
*.csproj54 LOC (18%) 2 files
*.md29 LOC (10%) 2 files
*.json12 LOC (4%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:45