azure / bicep-types-az
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
props
csproj
npmignore
targets
txt
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.

main2480 LOC (<1%) 13 files
test240 LOC (<1%) 5 files
generated6872473 LOC (49%) 6,645 files
build and deployment26 LOC (<1%) 1 file
other6878284 LOC (50%) 6,665 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
targets
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 13 files match defined criteria (2,480 LOC, 100.0% vs. main code):
    • 9 *.ts files (2,409 LOC)
    • 1 *.targets files (30 LOC)
    • 2 *.props files (25 LOC)
    • 1 *.cs files (16 LOC)
  • " *.ts" is biggest, containing 97.14% of LOC.
  • " *.cs" is smallest, containing 0.65% of LOC.


*.ts2409 LOC (97%) 9 files
*.targets30 LOC (1%) 1 file
*.props25 LOC (1%) 2 files
*.cs16 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]UnitTests/.*".
    • files with paths like ".*UnitTests[.][a-zA-Z0-9_]+".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Ss]pecs/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 5 files match defined criteria (240 LOC, 9.7% vs. main code):
    • 3 *.ts files (178 LOC)
    • 1 *.cs files (43 LOC)
    • 1 *.csproj files (19 LOC)
  • " *.ts" is biggest, containing 74.17% of LOC.
  • " *.csproj" is smallest, containing 7.92% of LOC.


*.ts178 LOC (74%) 3 files
*.cs43 LOC (17%) 1 file
*.csproj19 LOC (7%) 1 file
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".
    • files with paths like ".*/generated/.*".
  • 6645 files match defined criteria (6,872,473 LOC, 277115.8% vs. main code):
    • 2,193 *.json files (5,082,104 LOC)
    • 4,452 *.md files (1,790,369 LOC)
  • " *.json" is biggest, containing 73.95% of LOC.
  • " *.md" is smallest, containing 26.05% of LOC.


*.json5082104 LOC (73%) 2,193 files
*.md1790369 LOC (26%) 4,452 files
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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/[.]gitmodules".
  • 1 file matches defined criteria (26 LOC, 1.0% vs. main code). All matches are in *.csproj files.


*.csproj26 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 ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 6665 files match defined criteria (6,878,284 LOC, 277350.2% vs. main code):
    • 2,207 *.json files (5,087,765 LOC)
    • 4,458 *.md files (1,790,519 LOC)
  • " *.json" is biggest, containing 73.97% of LOC.
  • " *.md" is smallest, containing 26.03% of LOC.


*.json5087765 LOC (73%) 2,207 files
*.md1790519 LOC (26%) 4,458 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:08