azure / azure-webjobs-sdk-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
props
txt
gitattributes
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.

main9252 LOC (43%) 168 files
test10971 LOC (51%) 104 files
generated0 LOC (0%) 0 files
build and deployment255 LOC (1%) 8 files
other789 LOC (3%) 22 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 168 files match defined criteria (9,252 LOC, 100.0% vs. main code):
    • 161 *.cs files (8,499 LOC)
    • 6 *.ps1 files (690 LOC)
    • 1 *.props files (63 LOC)
  • " *.cs" is biggest, containing 91.86% of LOC.
  • " *.props" is smallest, containing 0.68% of LOC.


*.cs8499 LOC (91%) 161 files
*.ps1690 LOC (7%) 6 files
*.props63 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 ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 104 files match defined criteria (10,971 LOC, 118.6% vs. main code):
    • 95 *.cs files (10,767 LOC)
    • 8 *.csproj files (194 LOC)
    • 1 *.props files (10 LOC)
  • " *.cs" is biggest, containing 98.14% of LOC.
  • " *.props" is smallest, containing 0.09% of LOC.


*.cs10767 LOC (98%) 95 files
*.csproj194 LOC (1%) 8 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 ".*/[.]gitattributes".
  • 8 files match defined criteria (255 LOC, 2.8% vs. main code). All matches are in *.csproj files.


*.csproj255 LOC (100%) 8 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 22 files match defined criteria (789 LOC, 8.5% vs. main code):
    • 7 *.cs files (435 LOC)
    • 3 *.md files (264 LOC)
    • 11 *.json files (73 LOC)
    • 1 *.txt files (17 LOC)
  • " *.cs" is biggest, containing 55.13% of LOC.
  • " *.txt" is smallest, containing 2.15% of LOC.


*.cs435 LOC (55%) 7 files
*.md264 LOC (33%) 3 files
*.json73 LOC (9%) 11 files
*.txt17 LOC (2%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:12