azure / aaz-dev-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
txt
cfg
gitattributes
npmrc
in
gitmodules
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.

main32772 LOC (57%) 211 files
test21921 LOC (38%) 136 files
generated0 LOC (0%) 0 files
build and deployment25 LOC (<1%) 2 files
other2000 LOC (3%) 39 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 211 files match defined criteria (32,772 LOC, 100.0% vs. main code):
    • 148 *.py files (18,513 LOC)
    • 31 *.tsx files (11,021 LOC)
    • 25 *.ts files (3,032 LOC)
    • 3 *.js files (159 LOC)
    • 1 *.html files (27 LOC)
    • 2 *.css files (11 LOC)
    • 1 *.in files (9 LOC)
  • " *.py" is biggest, containing 56.49% of LOC.
  • " *.in" is smallest, containing 0.03% of LOC.


*.py18513 LOC (56%) 148 files
*.tsx11021 LOC (33%) 31 files
*.ts3032 LOC (9%) 25 files
*.js159 LOC (<1%) 3 files
*.html27 LOC (<1%) 1 file
*.css11 LOC (<1%) 2 files
*.in9 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 136 files match defined criteria (21,921 LOC, 66.9% vs. main code):
    • 117 *.py files (17,479 LOC)
    • 6 *.xml files (3,806 LOC)
    • 10 *.ts files (629 LOC)
    • 1 *.js files (5 LOC)
    • 2 *.cfg files (2 LOC)
  • " *.py" is biggest, containing 79.74% of LOC.
  • " *.cfg" is smallest, containing 0.01% of LOC.


*.py17479 LOC (79%) 117 files
*.xml3806 LOC (17%) 6 files
*.ts629 LOC (2%) 10 files
*.js5 LOC (<1%) 1 file
*.cfg2 LOC (<1%) 2 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 ".*/pnpm.*[.]ya?ml".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/[.]gitattributes".
  • 2 files match defined criteria (25 LOC, 0.1% vs. main code):
    • 1 *.sh files (13 LOC)
    • 1 *.yaml files (12 LOC)
  • " *.sh" is biggest, containing 52% of LOC.
  • " *.yaml" is smallest, containing 48% of LOC.


*.sh13 LOC (52%) 1 file
*.yaml12 LOC (48%) 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 ".*[.](rst|rest|resttxt|rsttxt)".
    • 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 ".*[.]npmrc".
    • files with paths like ".*[.]svg".
  • 39 files match defined criteria (2,000 LOC, 6.1% vs. main code):
    • 24 *.json files (1,295 LOC)
    • 3 *.rst files (432 LOC)
    • 10 *.md files (253 LOC)
    • 2 *.txt files (20 LOC)
  • " *.json" is biggest, containing 64.75% of LOC.
  • " *.txt" is smallest, containing 1% of LOC.


*.json1295 LOC (64%) 24 files
*.rst432 LOC (21%) 3 files
*.md253 LOC (12%) 10 files
*.txt20 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:15