azure / azure-functions-dapr-extension
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
http
gitattributes
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.

main3121 LOC (24%) 83 files
test2817 LOC (22%) 28 files
generated58 LOC (<1%) 3 files
build and deployment297 LOC (2%) 6 files
other6443 LOC (50%) 206 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 ".*".
  • 83 files match defined criteria (3,121 LOC, 100.0% vs. main code):
    • 62 *.cs files (2,807 LOC)
    • 9 *.java files (124 LOC)
    • 7 *.props files (110 LOC)
    • 2 *.yaml files (48 LOC)
    • 2 *.js files (24 LOC)
    • 1 *.xml files (8 LOC)
  • " *.cs" is biggest, containing 89.94% of LOC.
  • " *.xml" is smallest, containing 0.26% of LOC.


*.cs2807 LOC (89%) 62 files
*.java124 LOC (3%) 9 files
*.props110 LOC (3%) 7 files
*.yaml48 LOC (1%) 2 files
*.js24 LOC (<1%) 2 files
*.xml8 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
http
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/UnitTests?/.*".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 28 files match defined criteria (2,817 LOC, 90.3% vs. main code):
    • 24 *.cs files (2,743 LOC)
    • 2 *.csproj files (56 LOC)
    • 2 *.http files (18 LOC)
  • " *.cs" is biggest, containing 97.37% of LOC.
  • " *.http" is smallest, containing 0.64% of LOC.


*.cs2743 LOC (97%) 24 files
*.csproj56 LOC (1%) 2 files
*.http18 LOC (<1%) 2 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 3 files match defined criteria (58 LOC, 1.9% vs. main code). All matches are in *.json files.


*.json58 LOC (100%) 3 files
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".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/pom[.]xml".
  • 6 files match defined criteria (297 LOC, 9.5% vs. main code):
    • 5 *.csproj files (160 LOC)
    • 1 *.xml files (137 LOC)
  • " *.csproj" is biggest, containing 53.87% of LOC.
  • " *.xml" is smallest, containing 46.13% of LOC.


*.csproj160 LOC (53%) 5 files
*.xml137 LOC (46%) 1 file
Other Code
csproj
http
props
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
    • files with paths like ".*[.]editorconfig".
  • 206 files match defined criteria (6,443 LOC, 206.4% vs. main code):
    • 17 *.md files (3,362 LOC)
    • 63 *.json files (845 LOC)
    • 32 *.cs files (686 LOC)
    • 10 *.java files (291 LOC)
    • 22 *.js files (278 LOC)
    • 16 *.yaml files (258 LOC)
    • 3 *.xml files (210 LOC)
    • 17 *.py files (184 LOC)
    • 10 *.ps1 files (148 LOC)
    • 8 *.csproj files (133 LOC)
    • 2 *.http files (27 LOC)
    • 1 *.props files (9 LOC)
    • 1 *.psd1 files (8 LOC)
    • 4 *.txt files (4 LOC)
  • " *.md" is biggest, containing 52.18% of LOC.
  • " *.txt" is smallest, containing 0.06% of LOC.


*.md3362 LOC (52%) 17 files
*.json845 LOC (13%) 63 files
*.cs686 LOC (10%) 32 files
*.java291 LOC (4%) 10 files
*.js278 LOC (4%) 22 files
*.yaml258 LOC (4%) 16 files
*.xml210 LOC (3%) 3 files
*.py184 LOC (2%) 17 files
*.ps1148 LOC (2%) 10 files
*.csproj133 LOC (2%) 8 files
*.http27 LOC (<1%) 2 files
*.props9 LOC (<1%) 1 file
*.psd18 LOC (<1%) 1 file
*.txt4 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:00