azure / secrets-store-csi-driver-provider-azure
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
mod
tpl
txt
gitmodules
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.

main4512 LOC (28%) 56 files
test5135 LOC (32%) 44 files
generated965 LOC (6%) 1 file
build and deployment467 LOC (2%) 3 files
other4570 LOC (29%) 67 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 56 files match defined criteria (4,512 LOC, 100.0% vs. main code):
    • 33 *.yaml files (2,535 LOC)
    • 16 *.go files (1,685 LOC)
    • 2 *.toml files (167 LOC)
    • 2 *.tpl files (104 LOC)
    • 1 *.py files (11 LOC)
    • 1 *.html files (9 LOC)
    • 1 *.scss files (1 LOC)
  • " *.yaml" is biggest, containing 56.18% of LOC.
  • " *.scss" is smallest, containing 0.02% of LOC.


*.yaml2535 LOC (56%) 33 files
*.go1685 LOC (37%) 16 files
*.toml167 LOC (3%) 2 files
*.tpl104 LOC (2%) 2 files
*.py11 LOC (<1%) 1 file
*.html9 LOC (<1%) 1 file
*.scss1 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 ".*_test[.].*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*_mock[.][a-zA-Z0-9_\-]+".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*/testing[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/e2e/.*".
  • 44 files match defined criteria (5,135 LOC, 113.8% vs. main code):
    • 41 *.go files (4,993 LOC)
    • 3 *.yaml files (142 LOC)
  • " *.go" is biggest, containing 97.23% of LOC.
  • " *.yaml" is smallest, containing 2.77% of LOC.


*.go4993 LOC (97%) 41 files
*.yaml142 LOC (2%) 3 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 (965 LOC, 21.4% vs. main code). All matches are in *.json files.


*.json965 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
  • 3 files match defined criteria (467 LOC, 10.4% vs. main code). All matches are in *.sh files.


*.sh467 LOC (100%) 3 files
Other Code
mod
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Dd]emos?/.*".
  • 67 files match defined criteria (4,570 LOC, 101.3% vs. main code):
    • 39 *.md files (2,502 LOC)
    • 9 *.json files (1,264 LOC)
    • 3 *.mod files (408 LOC)
    • 15 *.yaml files (385 LOC)
    • 1 *.sh files (11 LOC)
  • " *.md" is biggest, containing 54.75% of LOC.
  • " *.sh" is smallest, containing 0.24% of LOC.


*.md2502 LOC (54%) 39 files
*.json1264 LOC (27%) 9 files
*.mod408 LOC (8%) 3 files
*.yaml385 LOC (8%) 15 files
*.sh11 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:51