azure / azure-functions-mysql-extension
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
csproj
txt
editorconfig
props
npmrc
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.

main3567 LOC (18%) 51 files
test5472 LOC (28%) 93 files
generated1937 LOC (10%) 1 file
build and deployment258 LOC (1%) 4 files
other7796 LOC (40%) 276 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
props
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 51 files match defined criteria (3,567 LOC, 100.0% vs. main code):
    • 45 *.cs files (3,451 LOC)
    • 2 *.props files (66 LOC)
    • 4 *.java files (50 LOC)
  • " *.cs" is biggest, containing 96.75% of LOC.
  • " *.java" is smallest, containing 1.4% of LOC.


*.cs3451 LOC (96%) 45 files
*.props66 LOC (1%) 2 files
*.java50 LOC (1%) 4 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]est/.*".
    • files with paths like ".*[.][Tt]ests[.].*".
  • 93 files match defined criteria (5,472 LOC, 153.4% vs. main code):
    • 50 *.cs files (4,310 LOC)
    • 12 *.java files (490 LOC)
    • 7 *.ps1 files (165 LOC)
    • 12 *.py files (146 LOC)
    • 1 *.xml files (134 LOC)
    • 7 *.js files (99 LOC)
    • 1 *.csproj files (87 LOC)
    • 3 *.sql files (41 LOC)
  • " *.cs" is biggest, containing 78.76% of LOC.
  • " *.sql" is smallest, containing 0.75% of LOC.


*.cs4310 LOC (78%) 50 files
*.java490 LOC (8%) 12 files
*.ps1165 LOC (3%) 7 files
*.py146 LOC (2%) 12 files
*.xml134 LOC (2%) 1 file
*.js99 LOC (1%) 7 files
*.csproj87 LOC (1%) 1 file
*.sql41 LOC (<1%) 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".
  • 1 file matches defined criteria (1,937 LOC, 54.3% vs. main code). All matches are in *.json files.


*.json1937 LOC (100%) 1 file
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 ".*[.]csproj".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*/pom[.]xml".
    • files with paths like ".*/package[-]lock[.]json".
  • 4 files match defined criteria (258 LOC, 7.2% vs. main code):
    • 1 *.xml files (136 LOC)
    • 3 *.csproj files (122 LOC)
  • " *.xml" is biggest, containing 52.71% of LOC.
  • " *.csproj" is smallest, containing 47.29% of LOC.


*.xml136 LOC (52%) 1 file
*.csproj122 LOC (47%) 3 files
Other Code
csproj
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/checkstyle[.]xml".
    • files with paths like ".*/checkstyle.*".
  • 276 files match defined criteria (7,796 LOC, 218.6% vs. main code):
    • 104 *.json files (4,331 LOC)
    • 54 *.cs files (1,385 LOC)
    • 29 *.java files (860 LOC)
    • 20 *.ps1 files (358 LOC)
    • 23 *.py files (225 LOC)
    • 21 *.js files (221 LOC)
    • 4 *.xml files (169 LOC)
    • 5 *.csproj files (118 LOC)
    • 4 *.md files (70 LOC)
    • 10 *.sql files (49 LOC)
    • 1 *.psd1 files (8 LOC)
    • 1 *.txt files (2 LOC)
  • " *.json" is biggest, containing 55.55% of LOC.
  • " *.txt" is smallest, containing 0.03% of LOC.


*.json4331 LOC (55%) 104 files
*.cs1385 LOC (17%) 54 files
*.java860 LOC (11%) 29 files
*.ps1358 LOC (4%) 20 files
*.py225 LOC (2%) 23 files
*.js221 LOC (2%) 21 files
*.xml169 LOC (2%) 4 files
*.csproj118 LOC (1%) 5 files
*.md70 LOC (<1%) 4 files
*.sql49 LOC (<1%) 10 files
*.psd18 LOC (<1%) 1 file
*.txt2 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 23:01