azure / bicep-types-k8s
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.

main1442 LOC (3%) 18 files
test231 LOC (<1%) 5 files
generated22486 LOC (47%) 86 files
build and deployment26 LOC (<1%) 1 file
other23152 LOC (48%) 104 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 ".*".
  • 18 files match defined criteria (1,442 LOC, 100.0% vs. main code):
    • 14 *.ts files (1,367 LOC)
    • 1 *.targets files (30 LOC)
    • 2 *.props files (25 LOC)
    • 1 *.cs files (20 LOC)
  • " *.ts" is biggest, containing 94.8% of LOC.
  • " *.cs" is smallest, containing 1.39% of LOC.


*.ts1367 LOC (94%) 14 files
*.targets30 LOC (2%) 1 file
*.props25 LOC (1%) 2 files
*.cs20 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 ".*/[Ss]pecs/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 5 files match defined criteria (231 LOC, 16.0% vs. main code):
    • 3 *.ts files (168 LOC)
    • 1 *.cs files (44 LOC)
    • 1 *.csproj files (19 LOC)
  • " *.ts" is biggest, containing 72.73% of LOC.
  • " *.csproj" is smallest, containing 8.23% of LOC.


*.ts168 LOC (72%) 3 files
*.cs44 LOC (19%) 1 file
*.csproj19 LOC (8%) 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/.*".
  • 86 files match defined criteria (22,486 LOC, 1559.4% vs. main code):
    • 34 *.json files (14,423 LOC)
    • 52 *.md files (8,063 LOC)
  • " *.json" is biggest, containing 64.14% of LOC.
  • " *.md" is smallest, containing 35.86% of LOC.


*.json14423 LOC (64%) 34 files
*.md8063 LOC (35%) 52 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 ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/[.]gitmodules".
  • 1 file matches defined criteria (26 LOC, 1.8% 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 ".*[.]txt".
  • 104 files match defined criteria (23,152 LOC, 1605.5% vs. main code):
    • 44 *.json files (14,924 LOC)
    • 60 *.md files (8,228 LOC)
  • " *.json" is biggest, containing 64.46% of LOC.
  • " *.md" is smallest, containing 35.54% of LOC.


*.json14924 LOC (64%) 44 files
*.md8228 LOC (35%) 60 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:19