azure / jumpstart-apps
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
tpl
handlebars
pt
csproj
in
http
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.

main48393 LOC (73%) 545 files
test1779 LOC (2%) 21 files
generated2764 LOC (4%) 3 files
build and deployment257 LOC (<1%) 12 files
other12846 LOC (19%) 92 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
tpl
handlebars
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 545 files match defined criteria (48,393 LOC, 100.0% vs. main code):
    • 320 *.yaml files (11,821 LOC)
    • 63 *.tsx files (10,584 LOC)
    • 57 *.py files (8,699 LOC)
    • 1 *.xml files (5,690 LOC)
    • 18 *.js files (4,857 LOC)
    • 13 *.css files (2,970 LOC)
    • 26 *.html files (1,255 LOC)
    • 18 *.tpl files (1,167 LOC)
    • 11 *.cs files (1,001 LOC)
    • 2 *.sql files (151 LOC)
    • 4 *.handlebars files (62 LOC)
    • 7 *.ts files (55 LOC)
    • 1 *.scss files (50 LOC)
    • 1 *.toml files (19 LOC)
    • 2 *.ps1 files (10 LOC)
    • 1 *.in files (2 LOC)
  • " *.yaml" is biggest, containing 24.43% of LOC.
  • " *.in" is smallest, containing 0% of LOC.


*.yaml11821 LOC (24%) 320 files
*.tsx10584 LOC (21%) 63 files
*.py8699 LOC (17%) 57 files
*.xml5690 LOC (11%) 1 file
*.js4857 LOC (10%) 18 files
*.css2970 LOC (6%) 13 files
*.html1255 LOC (2%) 26 files
*.tpl1167 LOC (2%) 18 files
*.cs1001 LOC (2%) 11 files
*.sql151 LOC (<1%) 2 files
*.handlebars62 LOC (<1%) 4 files
*.ts55 LOC (<1%) 7 files
*.scss50 LOC (<1%) 1 file
*.toml19 LOC (<1%) 1 file
*.ps110 LOC (<1%) 2 files
*.in2 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
http
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 21 files match defined criteria (1,779 LOC, 3.7% vs. main code):
    • 16 *.py files (1,659 LOC)
    • 1 *.http files (57 LOC)
    • 2 *.yaml files (30 LOC)
    • 1 *.ps1 files (27 LOC)
    • 1 *.tsx files (6 LOC)
  • " *.py" is biggest, containing 93.25% of LOC.
  • " *.tsx" is smallest, containing 0.34% of LOC.


*.py1659 LOC (93%) 16 files
*.http57 LOC (3%) 1 file
*.yaml30 LOC (1%) 2 files
*.ps127 LOC (1%) 1 file
*.tsx6 LOC (<1%) 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".
  • 3 files match defined criteria (2,764 LOC, 5.7% vs. main code). All matches are in *.json files.


*.json2764 LOC (100%) 3 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 ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]csproj".
  • 12 files match defined criteria (257 LOC, 0.5% vs. main code):
    • 10 *.sh files (226 LOC)
    • 2 *.csproj files (31 LOC)
  • " *.sh" is biggest, containing 87.94% of LOC.
  • " *.csproj" is smallest, containing 12.06% of LOC.


*.sh226 LOC (87%) 10 files
*.csproj31 LOC (12%) 2 files
Other Code
txt
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 ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]svg".
  • 92 files match defined criteria (12,846 LOC, 26.5% vs. main code):
    • 32 *.json files (5,819 LOC)
    • 13 *.svg files (5,287 LOC)
    • 18 *.md files (1,430 LOC)
    • 29 *.txt files (310 LOC)
  • " *.json" is biggest, containing 45.3% of LOC.
  • " *.txt" is smallest, containing 2.41% of LOC.


*.json5819 LOC (45%) 32 files
*.svg5287 LOC (41%) 13 files
*.md1430 LOC (11%) 18 files
*.txt310 LOC (2%) 29 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 23:16