azure / Azurite
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
npmignore
gitattributes
vscodeignore
csproj
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.

main37172 LOC (35%) 279 files
test30518 LOC (29%) 90 files
generated23883 LOC (22%) 96 files
build and deployment0 LOC (0%) 0 files
other13500 LOC (12%) 30 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 ".*".
  • 279 files match defined criteria (37,172 LOC, 100.0% vs. main code):
    • 277 *.ts files (37,093 LOC)
    • 2 *.js files (79 LOC)
  • " *.ts" is biggest, containing 99.79% of LOC.
  • " *.js" is smallest, containing 0.21% of LOC.


*.ts37093 LOC (99%) 277 files
*.js79 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*[.][Tt]ests[.].*".
    • files with paths like ".*[.]tests[.].*".
  • 90 files match defined criteria (30,518 LOC, 82.1% vs. main code):
    • 82 *.ts files (30,012 LOC)
    • 6 *.cs files (367 LOC)
    • 1 *.go files (125 LOC)
    • 1 *.csproj files (14 LOC)
  • " *.ts" is biggest, containing 98.34% of LOC.
  • " *.csproj" is smallest, containing 0.05% of LOC.


*.ts30012 LOC (98%) 82 files
*.cs367 LOC (1%) 6 files
*.go125 LOC (<1%) 1 file
*.csproj14 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 ".*/generated/.*".
  • 96 files match defined criteria (23,883 LOC, 64.2% vs. main code). All matches are in *.ts files.


*.ts23883 LOC (100%) 96 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]vscodeignore".
    • files with paths like ".*/[.]dockerignore".
  • 30 files match defined criteria (13,500 LOC, 36.3% vs. main code):
    • 1 *.txt files (6,849 LOC)
    • 15 *.json files (4,886 LOC)
    • 14 *.md files (1,765 LOC)
  • " *.txt" is biggest, containing 50.73% of LOC.
  • " *.md" is smallest, containing 13.07% of LOC.


*.txt6849 LOC (50%) 1 file
*.json4886 LOC (36%) 15 files
*.md1765 LOC (13%) 14 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:29