aws / aws-toolkit-azure-devops
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
eslintignore
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.

main9443 LOC (52%) 78 files
test2905 LOC (16%) 26 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other5807 LOC (31%) 59 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 ".*".
  • 78 files match defined criteria (9,443 LOC, 100.0% vs. main code):
    • 64 *.ts files (6,063 LOC)
    • 11 *.ps1 files (3,143 LOC)
    • 1 *.psm1 files (149 LOC)
    • 1 *.yaml files (66 LOC)
    • 1 *.psd1 files (22 LOC)
  • " *.ts" is biggest, containing 64.21% of LOC.
  • " *.psd1" is smallest, containing 0.23% of LOC.


*.ts6063 LOC (64%) 64 files
*.ps13143 LOC (33%) 11 files
*.psm1149 LOC (1%) 1 file
*.yaml66 LOC (<1%) 1 file
*.psd122 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 ".*/test[.].*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 26 files match defined criteria (2,905 LOC, 30.8% vs. main code):
    • 25 *.ts files (2,859 LOC)
    • 1 *.sh files (46 LOC)
  • " *.ts" is biggest, containing 98.42% of LOC.
  • " *.sh" is smallest, containing 1.58% of LOC.


*.ts2859 LOC (98%) 25 files
*.sh46 LOC (1%) 1 file
Other Code
txt
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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
  • 59 files match defined criteria (5,807 LOC, 61.5% vs. main code):
    • 50 *.json files (5,426 LOC)
    • 4 *.md files (376 LOC)
    • 5 *.txt files (5 LOC)
  • " *.json" is biggest, containing 93.44% of LOC.
  • " *.txt" is smallest, containing 0.09% of LOC.


*.json5426 LOC (93%) 50 files
*.md376 LOC (6%) 4 files
*.txt5 LOC (<1%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 23:07