azure / functions-action
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
editorconfig
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.

main3204 LOC (14%) 42 files
test1322 LOC (5%) 23 files
generated8595 LOC (37%) 1 file
build and deployment0 LOC (0%) 0 files
other9716 LOC (42%) 50 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 ".*".
  • 42 files match defined criteria (3,204 LOC, 100.0% vs. main code):
    • 41 *.ts files (3,191 LOC)
    • 1 *.ps1 files (13 LOC)
  • " *.ts" is biggest, containing 99.59% of LOC.
  • " *.ps1" is smallest, containing 0.41% of LOC.


*.ts3191 LOC (99%) 41 files
*.ps113 LOC (<1%) 1 file
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 ".*[.]spec[.]ts".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[-]tests[-].*".
  • 23 files match defined criteria (1,322 LOC, 41.3% vs. main code):
    • 11 *.ts files (896 LOC)
    • 1 *.xml files (196 LOC)
    • 3 *.java files (120 LOC)
    • 2 *.cs files (31 LOC)
    • 1 *.csproj files (30 LOC)
    • 2 *.ps1 files (27 LOC)
    • 1 *.psd1 files (8 LOC)
    • 1 *.js files (8 LOC)
    • 1 *.py files (6 LOC)
  • " *.ts" is biggest, containing 67.78% of LOC.
  • " *.py" is smallest, containing 0.45% of LOC.


*.ts896 LOC (67%) 11 files
*.xml196 LOC (14%) 1 file
*.java120 LOC (9%) 3 files
*.cs31 LOC (2%) 2 files
*.csproj30 LOC (2%) 1 file
*.ps127 LOC (2%) 2 files
*.psd18 LOC (<1%) 1 file
*.js8 LOC (<1%) 1 file
*.py6 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".
  • 1 file matches defined criteria (8,595 LOC, 268.3% vs. main code). All matches are in *.json files.


*.json8595 LOC (100%) 1 file
Other Code
csproj
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 ".*/[.]gitignore".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]editorconfig".
  • 50 files match defined criteria (9,716 LOC, 303.2% vs. main code):
    • 27 *.json files (8,923 LOC)
    • 3 *.md files (289 LOC)
    • 6 *.java files (250 LOC)
    • 2 *.xml files (155 LOC)
    • 2 *.py files (40 LOC)
    • 1 *.cs files (30 LOC)
    • 1 *.csproj files (18 LOC)
    • 8 *.txt files (11 LOC)
  • " *.json" is biggest, containing 91.84% of LOC.
  • " *.txt" is smallest, containing 0.11% of LOC.


*.json8923 LOC (91%) 27 files
*.md289 LOC (2%) 3 files
*.java250 LOC (2%) 6 files
*.xml155 LOC (1%) 2 files
*.py40 LOC (<1%) 2 files
*.cs30 LOC (<1%) 1 file
*.csproj18 LOC (<1%) 1 file
*.txt11 LOC (<1%) 8 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:49