azure / oav
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
snap
txt
handlebars
gitattributes
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.

main24345 LOC (8%) 139 files
test30497 LOC (11%) 51 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other221420 LOC (80%) 1,588 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
handlebars
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 139 files match defined criteria (24,345 LOC, 100.0% vs. main code):
    • 133 *.ts files (24,052 LOC)
    • 1 *.py files (146 LOC)
    • 2 *.handlebars files (126 LOC)
    • 1 *.ps1 files (14 LOC)
    • 2 *.js files (7 LOC)
  • " *.ts" is biggest, containing 98.8% of LOC.
  • " *.js" is smallest, containing 0.03% of LOC.


*.ts24052 LOC (98%) 133 files
*.py146 LOC (<1%) 1 file
*.handlebars126 LOC (<1%) 2 files
*.ps114 LOC (<1%) 1 file
*.js7 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*[.]snap".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*_test[.].*".
    • files with paths like ".*[.][Tt]est/.*".
    • files with paths like ".*/test_.*".
  • 51 files match defined criteria (30,497 LOC, 125.3% vs. main code):
    • 10 *.snap files (25,648 LOC)
    • 30 *.ts files (4,201 LOC)
    • 9 *.yaml files (618 LOC)
    • 2 *.js files (30 LOC)
  • " *.snap" is biggest, containing 84.1% of LOC.
  • " *.js" is smallest, containing 0.1% of LOC.


*.snap25648 LOC (84%) 10 files
*.ts4201 LOC (13%) 30 files
*.yaml618 LOC (2%) 9 files
*.js30 LOC (<1%) 2 files
Other Code
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 ".*/[Dd]ocumentation/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
  • 1588 files match defined criteria (221,420 LOC, 909.5% vs. main code):
    • 1,526 *.json files (217,912 LOC)
    • 61 *.md files (3,491 LOC)
    • 1 *.txt files (17 LOC)
  • " *.json" is biggest, containing 98.42% of LOC.
  • " *.txt" is smallest, containing 0.01% of LOC.


*.json217912 LOC (98%) 1,526 files
*.md3491 LOC (1%) 61 files
*.txt17 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:18