azure / aca-landing-zone-accelerator
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
jsonc
properties
txt
csproj
cmd
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.

main6247 LOC (25%) 182 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment959 LOC (3%) 9 files
other17495 LOC (70%) 99 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
jsonc
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 182 files match defined criteria (6,247 LOC, 100.0% vs. main code):
    • 98 *.tf files (3,592 LOC)
    • 16 *.jsonc files (1,150 LOC)
    • 4 *.less files (336 LOC)
    • 10 *.html files (291 LOC)
    • 21 *.js files (263 LOC)
    • 7 *.cs files (252 LOC)
    • 12 *.sql files (198 LOC)
    • 6 *.tfvars files (110 LOC)
    • 5 *.xml files (26 LOC)
    • 2 *.ps1 files (22 LOC)
    • 1 *.yaml files (7 LOC)
  • " *.tf" is biggest, containing 57.5% of LOC.
  • " *.yaml" is smallest, containing 0.11% of LOC.


*.tf3592 LOC (57%) 98 files
*.jsonc1150 LOC (18%) 16 files
*.less336 LOC (5%) 4 files
*.html291 LOC (4%) 10 files
*.js263 LOC (4%) 21 files
*.cs252 LOC (4%) 7 files
*.sql198 LOC (3%) 12 files
*.tfvars110 LOC (1%) 6 files
*.xml26 LOC (<1%) 5 files
*.ps122 LOC (<1%) 2 files
*.yaml7 LOC (<1%) 1 file
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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]sh".
  • 9 files match defined criteria (959 LOC, 15.4% vs. main code):
    • 5 *.xml files (837 LOC)
    • 3 *.sh files (104 LOC)
    • 1 *.csproj files (18 LOC)
  • " *.xml" is biggest, containing 87.28% of LOC.
  • " *.csproj" is smallest, containing 1.88% of LOC.


*.xml837 LOC (87%) 5 files
*.sh104 LOC (10%) 3 files
*.csproj18 LOC (1%) 1 file
Other Code
properties
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 ".*/[Ss]amples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]txt".
  • 99 files match defined criteria (17,495 LOC, 280.1% vs. main code):
    • 2 *.svg files (9,158 LOC)
    • 33 *.md files (3,641 LOC)
    • 20 *.json files (3,554 LOC)
    • 40 *.java files (1,123 LOC)
    • 4 *.properties files (19 LOC)
  • " *.svg" is biggest, containing 52.35% of LOC.
  • " *.properties" is smallest, containing 0.11% of LOC.


*.svg9158 LOC (52%) 2 files
*.md3641 LOC (20%) 33 files
*.json3554 LOC (20%) 20 files
*.java1123 LOC (6%) 40 files
*.properties19 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:33