aws / aws-extensions-for-dotnet-cli
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
mod
proj
vbproj
fsproj
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.

main17092 LOC (53%) 141 files
test5593 LOC (17%) 59 files
generated0 LOC (0%) 0 files
build and deployment445 LOC (1%) 28 files
other9106 LOC (28%) 46 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proj
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 141 files match defined criteria (17,092 LOC, 100.0% vs. main code):
    • 128 *.cs files (16,324 LOC)
    • 2 *.xml files (475 LOC)
    • 1 *.go files (110 LOC)
    • 2 *.yaml files (68 LOC)
    • 4 *.js files (46 LOC)
    • 1 *.proj files (42 LOC)
    • 2 *.props files (22 LOC)
    • 1 *.ps1 files (5 LOC)
  • " *.cs" is biggest, containing 95.51% of LOC.
  • " *.ps1" is smallest, containing 0.03% of LOC.


*.cs16324 LOC (95%) 128 files
*.xml475 LOC (2%) 2 files
*.go110 LOC (<1%) 1 file
*.yaml68 LOC (<1%) 2 files
*.js46 LOC (<1%) 4 files
*.proj42 LOC (<1%) 1 file
*.props22 LOC (<1%) 2 files
*.ps15 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
vbproj
fsproj
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 ".*[.][Tt]est[.].*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*[.][Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*/test[.].*".
  • 59 files match defined criteria (5,593 LOC, 32.7% vs. main code):
    • 39 *.cs files (5,089 LOC)
    • 7 *.csproj files (203 LOC)
    • 10 *.xml files (139 LOC)
    • 1 *.yaml files (128 LOC)
    • 1 *.vbproj files (17 LOC)
    • 1 *.fsproj files (17 LOC)
  • " *.cs" is biggest, containing 90.99% of LOC.
  • " *.fsproj" is smallest, containing 0.3% of LOC.


*.cs5089 LOC (90%) 39 files
*.csproj203 LOC (3%) 7 files
*.xml139 LOC (2%) 10 files
*.yaml128 LOC (2%) 1 file
*.vbproj17 LOC (<1%) 1 file
*.fsproj17 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 ".*[.]vbproj".
  • 28 files match defined criteria (445 LOC, 2.6% vs. main code). All matches are in *.csproj files.


*.csproj445 LOC (100%) 28 files
Other Code
mod
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 ".*/go[.]mod".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]dockerignore".
  • 46 files match defined criteria (9,106 LOC, 53.3% vs. main code):
    • 38 *.json files (7,545 LOC)
    • 6 *.md files (1,553 LOC)
    • 1 *.mod files (7 LOC)
    • 1 *.txt files (1 LOC)
  • " *.json" is biggest, containing 82.86% of LOC.
  • " *.txt" is smallest, containing 0.01% of LOC.


*.json7545 LOC (82%) 38 files
*.md1553 LOC (17%) 6 files
*.mod7 LOC (<1%) 1 file
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 23:52