azure / osdu-developer
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
http
tpl
eps
hcl
las
txt
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.

main15179 LOC (39%) 180 files
test104 LOC (<1%) 3 files
generated0 LOC (0%) 0 files
build and deployment256 LOC (<1%) 10 files
other23168 LOC (59%) 90 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
http
tpl
hcl
las
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 180 files match defined criteria (15,179 LOC, 100.0% vs. main code):
    • 149 *.yaml files (9,417 LOC)
    • 14 *.http files (3,893 LOC)
    • 3 *.ps1 files (953 LOC)
    • 10 *.tpl files (608 LOC)
    • 1 *.hcl files (151 LOC)
    • 1 *.ts files (74 LOC)
    • 1 *.py files (47 LOC)
    • 1 *.las files (36 LOC)
  • " *.yaml" is biggest, containing 62.04% of LOC.
  • " *.las" is smallest, containing 0.24% of LOC.


*.yaml9417 LOC (62%) 149 files
*.http3893 LOC (25%) 14 files
*.ps1953 LOC (6%) 3 files
*.tpl608 LOC (4%) 10 files
*.hcl151 LOC (<1%) 1 file
*.ts74 LOC (<1%) 1 file
*.py47 LOC (<1%) 1 file
*.las36 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 ".*/[Tt]est/.*".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*[.]tests[.].*".
  • 3 files match defined criteria (104 LOC, 0.7% vs. main code):
    • 1 *.sh files (90 LOC)
    • 2 *.ps1 files (14 LOC)
  • " *.sh" is biggest, containing 86.54% of LOC.
  • " *.ps1" is smallest, containing 13.46% of LOC.


*.sh90 LOC (86%) 1 file
*.ps114 LOC (13%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/docker[-]compose[.]yaml".
    • files with paths like ".*/package[.]json".
  • 10 files match defined criteria (256 LOC, 1.7% vs. main code):
    • 8 *.sh files (239 LOC)
    • 2 *.yaml files (17 LOC)
  • " *.sh" is biggest, containing 93.36% of LOC.
  • " *.yaml" is smallest, containing 6.64% of LOC.


*.sh239 LOC (93%) 8 files
*.yaml17 LOC (6%) 2 files
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
  • 90 files match defined criteria (23,168 LOC, 152.6% vs. main code):
    • 49 *.md files (11,684 LOC)
    • 41 *.json files (11,484 LOC)
  • " *.md" is biggest, containing 50.43% of LOC.
  • " *.json" is smallest, containing 49.57% of LOC.


*.md11684 LOC (50%) 49 files
*.json11484 LOC (49%) 41 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 23:04