azure / mygreeterv3-demo
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
mod
tpl
proto
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.

main7142 LOC (61%) 74 files
test1832 LOC (15%) 27 files
generated231 LOC (1%) 3 files
build and deployment219 LOC (1%) 5 files
other2225 LOC (19%) 44 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
proto
tpl
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 74 files match defined criteria (7,142 LOC, 100.0% vs. main code):
    • 54 *.go files (5,733 LOC)
    • 18 *.yaml files (1,110 LOC)
    • 1 *.proto files (239 LOC)
    • 1 *.tpl files (60 LOC)
  • " *.go" is biggest, containing 80.27% of LOC.
  • " *.tpl" is smallest, containing 0.84% of LOC.


*.go5733 LOC (80%) 54 files
*.yaml1110 LOC (15%) 18 files
*.proto239 LOC (3%) 1 file
*.tpl60 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 ".*/[Tt]est/.*".
  • 27 files match defined criteria (1,832 LOC, 25.7% vs. main code):
    • 18 *.go files (1,576 LOC)
    • 9 *.sh files (256 LOC)
  • " *.go" is biggest, containing 86.03% of LOC.
  • " *.sh" is smallest, containing 13.97% of LOC.


*.go1576 LOC (86%) 18 files
*.sh256 LOC (13%) 9 files
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "//[ ]*Generated by .*".
    • files with paths like ".*/generated/.*".
  • 3 files match defined criteria (231 LOC, 3.2% vs. main code):
    • 1 *.go files (217 LOC)
    • 2 *.md files (14 LOC)
  • " *.go" is biggest, containing 93.94% of LOC.
  • " *.md" is smallest, containing 6.06% of LOC.


*.go217 LOC (93%) 1 file
*.md14 LOC (6%) 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 ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 5 files match defined criteria (219 LOC, 3.1% vs. main code). All matches are in *.sh files.


*.sh219 LOC (100%) 5 files
Other Code
mod
txt
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 ".*/go[.]mod".
    • files with paths like ".*[.]txt".
  • 44 files match defined criteria (2,225 LOC, 31.2% vs. main code):
    • 11 *.json files (1,519 LOC)
    • 29 *.md files (540 LOC)
    • 2 *.mod files (143 LOC)
    • 2 *.txt files (23 LOC)
  • " *.json" is biggest, containing 68.27% of LOC.
  • " *.txt" is smallest, containing 1.03% of LOC.


*.json1519 LOC (68%) 11 files
*.md540 LOC (24%) 29 files
*.mod143 LOC (6%) 2 files
*.txt23 LOC (1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 23:24