azure / azure-sdk
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
cmd
gitattributes
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.

main29070 LOC (42%) 180 files
test544 LOC (<1%) 3 files
generated3578 LOC (5%) 2 files
build and deployment24 LOC (<1%) 1 file
other35857 LOC (51%) 775 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
cmd
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 180 files match defined criteria (29,070 LOC, 100.0% vs. main code):
    • 102 *.ps1 files (17,799 LOC)
    • 10 *.css files (8,525 LOC)
    • 44 *.html files (937 LOC)
    • 8 *.ts files (790 LOC)
    • 6 *.js files (496 LOC)
    • 1 *.psm1 files (263 LOC)
    • 4 *.yaml files (172 LOC)
    • 2 *.xml files (52 LOC)
    • 3 *.cmd files (36 LOC)
  • " *.ps1" is biggest, containing 61.23% of LOC.
  • " *.cmd" is smallest, containing 0.12% of LOC.


*.ps117799 LOC (61%) 102 files
*.css8525 LOC (29%) 10 files
*.html937 LOC (3%) 44 files
*.ts790 LOC (2%) 8 files
*.js496 LOC (1%) 6 files
*.psm1263 LOC (<1%) 1 file
*.yaml172 LOC (<1%) 4 files
*.xml52 LOC (<1%) 2 files
*.cmd36 LOC (<1%) 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 ".*[-]test[-].*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*[.]tests[.].*".
  • 3 files match defined criteria (544 LOC, 1.9% vs. main code). All matches are in *.ps1 files.


*.ps1544 LOC (100%) 3 files
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".
  • 2 files match defined criteria (3,578 LOC, 12.3% vs. main code). All matches are in *.json files.


*.json3578 LOC (100%) 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 ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 1 file matches defined criteria (24 LOC, 0.1% vs. main code). All matches are in *.sh files.


*.sh24 LOC (100%) 1 file
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 ".*[.]txt".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]gitignore".
  • 775 files match defined criteria (35,857 LOC, 123.3% vs. main code):
    • 754 *.md files (26,879 LOC)
    • 15 *.json files (6,204 LOC)
    • 3 *.svg files (2,766 LOC)
    • 3 *.txt files (8 LOC)
  • " *.md" is biggest, containing 74.96% of LOC.
  • " *.txt" is smallest, containing 0.02% of LOC.


*.md26879 LOC (74%) 754 files
*.json6204 LOC (17%) 15 files
*.svg2766 LOC (7%) 3 files
*.txt8 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:39