aliyun / alibabacloud-csharp-sdk
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
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.

main3764859 LOC (98%) 100,193 files
test313 LOC (<1%) 8 files
generated0 LOC (0%) 0 files
build and deployment26166 LOC (<1%) 537 files
other49254 LOC (1%) 1,608 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 ".*".
  • 100193 files match defined criteria (3,764,859 LOC, 100.0% vs. main code). All matches are in *.cs files.


*.cs3764859 LOC (100%) 100,193 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 ".*[-]test[-].*".
  • 8 files match defined criteria (313 LOC, 0.0% vs. main code):
    • 7 *.cs files (264 LOC)
    • 1 *.csproj files (49 LOC)
  • " *.cs" is biggest, containing 84.35% of LOC.
  • " *.csproj" is smallest, containing 15.65% of LOC.


*.cs264 LOC (84%) 7 files
*.csproj49 LOC (15%) 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".
  • 537 files match defined criteria (26,166 LOC, 0.7% vs. main code). All matches are in *.csproj files.


*.csproj26166 LOC (100%) 537 files
Other Code
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".
  • 1608 files match defined criteria (49,254 LOC, 1.3% vs. main code). All matches are in *.md files.


*.md49254 LOC (100%) 1,608 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 15:33