azure / Enterprise-Scale
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
gitconfig
gitattributes
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.

main3400 LOC (3%) 19 files
test2794 LOC (3%) 26 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other82271 LOC (92%) 383 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 19 files match defined criteria (3,400 LOC, 100.0% vs. main code):
    • 13 *.ps1 files (2,534 LOC)
    • 3 *.psm1 files (550 LOC)
    • 3 *.psd1 files (316 LOC)
  • " *.ps1" is biggest, containing 74.53% of LOC.
  • " *.psd1" is smallest, containing 9.29% of LOC.


*.ps12534 LOC (74%) 13 files
*.psm1550 LOC (16%) 3 files
*.psd1316 LOC (9%) 3 files
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]ests/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 26 files match defined criteria (2,794 LOC, 82.2% vs. main code):
    • 22 *.ps1 files (2,246 LOC)
    • 4 *.psm1 files (548 LOC)
  • " *.ps1" is biggest, containing 80.39% of LOC.
  • " *.psm1" is smallest, containing 19.61% of LOC.


*.ps12246 LOC (80%) 22 files
*.psm1548 LOC (19%) 4 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
  • 383 files match defined criteria (82,271 LOC, 2419.7% vs. main code):
    • 365 *.json files (81,258 LOC)
    • 18 *.md files (1,013 LOC)
  • " *.json" is biggest, containing 98.77% of LOC.
  • " *.md" is smallest, containing 1.23% of LOC.


*.json81258 LOC (98%) 365 files
*.md1013 LOC (1%) 18 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:02