aliyun / alibabacloud-credentials-api
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
mod
txt
csproj
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.

main144 LOC (35%) 11 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment200 LOC (48%) 2 files
other65 LOC (15%) 5 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 ".*".
  • 11 files match defined criteria (144 LOC, 100.0% vs. main code):
    • 3 *.py files (67 LOC)
    • 3 *.php files (29 LOC)
    • 2 *.cs files (21 LOC)
    • 2 *.java files (16 LOC)
    • 1 *.go files (11 LOC)
  • " *.py" is biggest, containing 46.53% of LOC.
  • " *.go" is smallest, containing 7.64% of LOC.


*.py67 LOC (46%) 3 files
*.php29 LOC (20%) 3 files
*.cs21 LOC (14%) 2 files
*.java16 LOC (11%) 2 files
*.go11 LOC (7%) 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
  • 2 files match defined criteria (200 LOC, 138.9% vs. main code):
    • 1 *.xml files (173 LOC)
    • 1 *.csproj files (27 LOC)
  • " *.xml" is biggest, containing 86.5% of LOC.
  • " *.csproj" is smallest, containing 13.5% of LOC.


*.xml173 LOC (86%) 1 file
*.csproj27 LOC (13%) 1 file
Other Code
mod
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 ".*/go[.]mod".
    • files with paths like ".*[.]txt".
  • 5 files match defined criteria (65 LOC, 45.1% vs. main code):
    • 3 *.md files (33 LOC)
    • 1 *.json files (29 LOC)
    • 1 *.mod files (3 LOC)
  • " *.md" is biggest, containing 50.77% of LOC.
  • " *.mod" is smallest, containing 4.62% of LOC.


*.md33 LOC (50%) 3 files
*.json29 LOC (44%) 1 file
*.mod3 LOC (4%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:23