azure / durabletask
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
gitattributes
targets
resx
txt
editorconfig
dotsettings
sfproj
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.

main37956 LOC (62%) 364 files
test19409 LOC (32%) 140 files
generated0 LOC (0%) 0 files
build and deployment229 LOC (<1%) 6 files
other3031 LOC (4%) 76 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 ".*".
  • 364 files match defined criteria (37,956 LOC, 100.0% vs. main code):
    • 361 *.cs files (37,790 LOC)
    • 2 *.props files (146 LOC)
    • 1 *.targets files (20 LOC)
  • " *.cs" is biggest, containing 99.56% of LOC.
  • " *.targets" is smallest, containing 0.05% of LOC.


*.cs37790 LOC (99%) 361 files
*.props146 LOC (<1%) 2 files
*.targets20 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
sfproj
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[.].*".
    • files with paths like ".*/TestData/.*".
    • files with paths like ".*[.][Tt]est[.].*".
  • 140 files match defined criteria (19,409 LOC, 51.1% vs. main code):
    • 118 *.cs files (18,753 LOC)
    • 11 *.csproj files (309 LOC)
    • 1 *.ps1 files (199 LOC)
    • 9 *.xml files (101 LOC)
    • 1 *.sfproj files (47 LOC)
  • " *.cs" is biggest, containing 96.62% of LOC.
  • " *.sfproj" is smallest, containing 0.24% of LOC.


*.cs18753 LOC (96%) 118 files
*.csproj309 LOC (1%) 11 files
*.ps1199 LOC (1%) 1 file
*.xml101 LOC (<1%) 9 files
*.sfproj47 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".
  • 6 files match defined criteria (229 LOC, 0.6% vs. main code). All matches are in *.csproj files.


*.csproj229 LOC (100%) 6 files
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 ".*[.]editorconfig".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
  • 76 files match defined criteria (3,031 LOC, 8.0% vs. main code):
    • 47 *.cs files (2,339 LOC)
    • 14 *.json files (300 LOC)
    • 9 *.md files (268 LOC)
    • 6 *.csproj files (124 LOC)
  • " *.cs" is biggest, containing 77.17% of LOC.
  • " *.csproj" is smallest, containing 4.09% of LOC.


*.cs2339 LOC (77%) 47 files
*.json300 LOC (9%) 14 files
*.md268 LOC (8%) 9 files
*.csproj124 LOC (4%) 6 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:11