azure / Commercial-Marketplace-SaaS-Accelerator
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
cshtml
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.

main77131 LOC (98%) 301 files
test471 LOC (<1%) 8 files
generated0 LOC (0%) 0 files
build and deployment173 LOC (<1%) 5 files
other579 LOC (<1%) 24 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cshtml
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 301 files match defined criteria (77,131 LOC, 100.0% vs. main code):
    • 21 *.css files (38,867 LOC)
    • 10 *.js files (17,339 LOC)
    • 227 *.cs files (17,096 LOC)
    • 41 *.cshtml files (3,178 LOC)
    • 2 *.ps1 files (651 LOC)
  • " *.css" is biggest, containing 50.39% of LOC.
  • " *.ps1" is smallest, containing 0.84% of LOC.


*.css38867 LOC (50%) 21 files
*.js17339 LOC (22%) 10 files
*.cs17096 LOC (22%) 227 files
*.cshtml3178 LOC (4%) 41 files
*.ps1651 LOC (<1%) 2 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]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 8 files match defined criteria (471 LOC, 0.6% vs. main code):
    • 6 *.cs files (405 LOC)
    • 2 *.csproj files (66 LOC)
  • " *.cs" is biggest, containing 85.99% of LOC.
  • " *.csproj" is smallest, containing 14.01% of LOC.


*.cs405 LOC (85%) 6 files
*.csproj66 LOC (14%) 2 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".
  • 5 files match defined criteria (173 LOC, 0.2% vs. main code). All matches are in *.csproj files.


*.csproj173 LOC (100%) 5 files
Other Code
txt
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 ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]gitignore".
  • 24 files match defined criteria (579 LOC, 0.8% vs. main code):
    • 12 *.md files (340 LOC)
    • 8 *.json files (165 LOC)
    • 4 *.txt files (74 LOC)
  • " *.md" is biggest, containing 58.72% of LOC.
  • " *.txt" is smallest, containing 12.78% of LOC.


*.md340 LOC (58%) 12 files
*.json165 LOC (28%) 8 files
*.txt74 LOC (12%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:59