aws / aws-logging-dotnet
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
cshtml
txt
proj
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.

main1758 LOC (31%) 22 files
test1930 LOC (34%) 38 files
generated0 LOC (0%) 0 files
build and deployment204 LOC (3%) 5 files
other1726 LOC (30%) 59 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 22 files match defined criteria (1,758 LOC, 100.0% vs. main code):
    • 21 *.cs files (1,731 LOC)
    • 1 *.proj files (27 LOC)
  • " *.cs" is biggest, containing 98.46% of LOC.
  • " *.proj" is smallest, containing 1.54% of LOC.


*.cs1731 LOC (98%) 21 files
*.proj27 LOC (1%) 1 file
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]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*[.]UnitTests/.*".
    • files with paths like ".*UnitTests[.][a-zA-Z0-9_]+".
  • 38 files match defined criteria (1,930 LOC, 109.8% vs. main code):
    • 30 *.cs files (1,691 LOC)
    • 8 *.csproj files (239 LOC)
  • " *.cs" is biggest, containing 87.62% of LOC.
  • " *.csproj" is smallest, containing 12.38% of LOC.


*.cs1691 LOC (87%) 30 files
*.csproj239 LOC (12%) 8 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 (204 LOC, 11.6% vs. main code). All matches are in *.csproj files.


*.csproj204 LOC (100%) 5 files
Other Code
csproj
cshtml
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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
  • 59 files match defined criteria (1,726 LOC, 98.2% vs. main code):
    • 6 *.md files (733 LOC)
    • 13 *.cs files (373 LOC)
    • 20 *.json files (254 LOC)
    • 10 *.csproj files (195 LOC)
    • 6 *.cshtml files (118 LOC)
    • 2 *.txt files (37 LOC)
    • 1 *.css files (15 LOC)
    • 1 *.js files (1 LOC)
  • " *.md" is biggest, containing 42.47% of LOC.
  • " *.js" is smallest, containing 0.06% of LOC.


*.md733 LOC (42%) 6 files
*.cs373 LOC (21%) 13 files
*.json254 LOC (14%) 20 files
*.csproj195 LOC (11%) 10 files
*.cshtml118 LOC (6%) 6 files
*.txt37 LOC (2%) 2 files
*.css15 LOC (<1%) 1 file
*.js1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 22:08