azure / benchpress
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
gitmodules
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.

main5175 LOC (45%) 126 files
test1839 LOC (16%) 70 files
generated0 LOC (0%) 0 files
build and deployment15 LOC (<1%) 1 file
other4354 LOC (38%) 65 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 ".*".
  • 126 files match defined criteria (5,175 LOC, 100.0% vs. main code):
    • 67 *.ps1 files (3,615 LOC)
    • 54 *.cs files (1,387 LOC)
    • 1 *.psd1 files (90 LOC)
    • 4 *.psm1 files (83 LOC)
  • " *.ps1" is biggest, containing 69.86% of LOC.
  • " *.psm1" is smallest, containing 1.6% of LOC.


*.ps13615 LOC (69%) 67 files
*.cs1387 LOC (26%) 54 files
*.psd190 LOC (1%) 1 file
*.psm183 LOC (1%) 4 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]ests[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests/.*".
  • 70 files match defined criteria (1,839 LOC, 35.5% vs. main code):
    • 65 *.ps1 files (1,731 LOC)
    • 4 *.cs files (78 LOC)
    • 1 *.csproj files (30 LOC)
  • " *.ps1" is biggest, containing 94.13% of LOC.
  • " *.csproj" is smallest, containing 1.63% of LOC.


*.ps11731 LOC (94%) 65 files
*.cs78 LOC (4%) 4 files
*.csproj30 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*[.]csproj".
  • 1 file matches defined criteria (15 LOC, 0.3% vs. main code). All matches are in *.csproj files.


*.csproj15 LOC (100%) 1 file
Other Code
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 ".*/[Ee]xamples/.*".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
  • 65 files match defined criteria (4,354 LOC, 84.1% vs. main code):
    • 27 *.ps1 files (2,867 LOC)
    • 35 *.md files (1,304 LOC)
    • 2 *.json files (123 LOC)
    • 1 *.xml files (60 LOC)
  • " *.ps1" is biggest, containing 65.85% of LOC.
  • " *.xml" is smallest, containing 1.38% of LOC.


*.ps12867 LOC (65%) 27 files
*.md1304 LOC (29%) 35 files
*.json123 LOC (2%) 2 files
*.xml60 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:27