aliyun / alibabacloud-api-vscode-toolkit
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
txt
vscodeignore
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.

main16928 LOC (68%) 177 files
test4468 LOC (18%) 8 files
generated0 LOC (0%) 0 files
build and deployment72 LOC (<1%) 1 file
other3129 LOC (12%) 21 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 ".*".
  • 177 files match defined criteria (16,928 LOC, 100.0% vs. main code):
    • 73 *.ts files (6,158 LOC)
    • 69 *.tsx files (5,327 LOC)
    • 27 *.scss files (3,291 LOC)
    • 4 *.css files (2,067 LOC)
    • 3 *.js files (72 LOC)
    • 1 *.html files (13 LOC)
  • " *.ts" is biggest, containing 36.38% of LOC.
  • " *.html" is smallest, containing 0.08% of LOC.


*.ts6158 LOC (36%) 73 files
*.tsx5327 LOC (31%) 69 files
*.scss3291 LOC (19%) 27 files
*.css2067 LOC (12%) 4 files
*.js72 LOC (<1%) 3 files
*.html13 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 8 files match defined criteria (4,468 LOC, 26.4% vs. main code). All matches are in *.ts files.


*.ts4468 LOC (100%) 8 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 1 file matches defined criteria (72 LOC, 0.4% vs. main code). All matches are in *.js files.


*.js72 LOC (100%) 1 file
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]vscodeignore".
  • 21 files match defined criteria (3,129 LOC, 18.5% vs. main code):
    • 11 *.json files (2,882 LOC)
    • 5 *.md files (211 LOC)
    • 5 *.svg files (36 LOC)
  • " *.json" is biggest, containing 92.11% of LOC.
  • " *.svg" is smallest, containing 1.15% of LOC.


*.json2882 LOC (92%) 11 files
*.md211 LOC (6%) 5 files
*.svg36 LOC (1%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:20