azure / vscode-aks-tools
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
mjs
txt
vscodeignore
prettierignore
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.

main35767 LOC (54%) 364 files
test123 LOC (<1%) 4 files
generated8422 LOC (12%) 1 file
build and deployment80 LOC (<1%) 3 files
other20918 LOC (32%) 79 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 364 files match defined criteria (35,767 LOC, 100.0% vs. main code):
    • 239 *.ts files (21,688 LOC)
    • 95 *.tsx files (10,832 LOC)
    • 25 *.css files (3,033 LOC)
    • 2 *.mjs files (175 LOC)
    • 2 *.yaml files (23 LOC)
    • 1 *.html files (16 LOC)
  • " *.ts" is biggest, containing 60.64% of LOC.
  • " *.html" is smallest, containing 0.04% of LOC.


*.ts21688 LOC (60%) 239 files
*.tsx10832 LOC (30%) 95 files
*.css3033 LOC (8%) 25 files
*.mjs175 LOC (<1%) 2 files
*.yaml23 LOC (<1%) 2 files
*.html16 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 ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 4 files match defined criteria (123 LOC, 0.3% vs. main code). All matches are in *.ts files.


*.ts123 LOC (100%) 4 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 1 file matches defined criteria (8,422 LOC, 23.5% vs. main code). All matches are in *.json files.


*.json8422 LOC (100%) 1 file
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[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 3 files match defined criteria (80 LOC, 0.2% vs. main code):
    • 1 *.js files (54 LOC)
    • 2 *.sh files (26 LOC)
  • " *.js" is biggest, containing 67.5% of LOC.
  • " *.sh" is smallest, containing 32.5% of LOC.


*.js54 LOC (67%) 1 file
*.sh26 LOC (32%) 2 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]vscodeignore".
  • 79 files match defined criteria (20,918 LOC, 58.5% vs. main code):
    • 64 *.json files (20,275 LOC)
    • 9 *.md files (598 LOC)
    • 6 *.svg files (45 LOC)
  • " *.json" is biggest, containing 96.93% of LOC.
  • " *.svg" is smallest, containing 0.22% of LOC.


*.json20275 LOC (96%) 64 files
*.md598 LOC (2%) 9 files
*.svg45 LOC (<1%) 6 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:45