azure / enterprise-azureai
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
csproj
gitattributes
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.

main5797 LOC (28%) 145 files
test0 LOC (0%) 0 files
generated6897 LOC (33%) 2 files
build and deployment149 LOC (<1%) 7 files
other7797 LOC (37%) 22 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
http
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 145 files match defined criteria (5,797 LOC, 100.0% vs. main code):
    • 81 *.tsx files (2,787 LOC)
    • 34 *.ts files (1,939 LOC)
    • 17 *.cs files (662 LOC)
    • 2 *.xml files (103 LOC)
    • 3 *.js files (87 LOC)
    • 5 *.ps1 files (81 LOC)
    • 1 *.css files (56 LOC)
    • 1 *.yaml files (48 LOC)
    • 1 *.http files (34 LOC)
  • " *.tsx" is biggest, containing 48.08% of LOC.
  • " *.http" is smallest, containing 0.59% of LOC.


*.tsx2787 LOC (48%) 81 files
*.ts1939 LOC (33%) 34 files
*.cs662 LOC (11%) 17 files
*.xml103 LOC (1%) 2 files
*.js87 LOC (1%) 3 files
*.ps181 LOC (1%) 5 files
*.css56 LOC (<1%) 1 file
*.yaml48 LOC (<1%) 1 file
*.http34 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".
  • 2 files match defined criteria (6,897 LOC, 119.0% vs. main code). All matches are in *.json files.


*.json6897 LOC (100%) 2 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 ".*/package[-]lock[.]json".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 7 files match defined criteria (149 LOC, 2.6% vs. main code):
    • 5 *.sh files (98 LOC)
    • 2 *.csproj files (51 LOC)
  • " *.sh" is biggest, containing 65.77% of LOC.
  • " *.csproj" is smallest, containing 34.23% of LOC.


*.sh98 LOC (65%) 5 files
*.csproj51 LOC (34%) 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 ".*/[.]dockerignore".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
  • 22 files match defined criteria (7,797 LOC, 134.5% vs. main code):
    • 16 *.json files (7,499 LOC)
    • 5 *.md files (284 LOC)
    • 1 *.txt files (14 LOC)
  • " *.json" is biggest, containing 96.18% of LOC.
  • " *.txt" is smallest, containing 0.18% of LOC.


*.json7499 LOC (96%) 16 files
*.md284 LOC (3%) 5 files
*.txt14 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 23:04