azure / azure-mysql
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
htaccess
gitattributes
editorconfig
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.

main182425 LOC (40%) 830 files
test82 LOC (<1%) 8 files
generated2974 LOC (<1%) 1 file
build and deployment1477 LOC (<1%) 13 files
other263424 LOC (58%) 833 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 ".*".
  • 830 files match defined criteria (182,425 LOC, 100.0% vs. main code):
    • 518 *.php files (85,889 LOC)
    • 95 *.css files (57,870 LOC)
    • 79 *.js files (29,720 LOC)
    • 54 *.scss files (4,991 LOC)
    • 36 *.yaml files (1,108 LOC)
    • 1 *.ipynb files (821 LOC)
    • 10 *.ps1 files (625 LOC)
    • 14 *.html files (614 LOC)
    • 10 *.py files (348 LOC)
    • 4 *.cs files (296 LOC)
    • 5 *.sql files (83 LOC)
    • 2 *.xml files (58 LOC)
    • 2 *.bash files (2 LOC)
  • " *.php" is biggest, containing 47.08% of LOC.
  • " *.bash" is smallest, containing 0% of LOC.


*.php85889 LOC (47%) 518 files
*.css57870 LOC (31%) 95 files
*.js29720 LOC (16%) 79 files
*.scss4991 LOC (2%) 54 files
*.yaml1108 LOC (<1%) 36 files
*.ipynb821 LOC (<1%) 1 file
*.ps1625 LOC (<1%) 10 files
*.html614 LOC (<1%) 14 files
*.py348 LOC (<1%) 10 files
*.cs296 LOC (<1%) 4 files
*.sql83 LOC (<1%) 5 files
*.xml58 LOC (<1%) 2 files
*.bash2 LOC (<1%) 2 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 ".*/[Tt]ests/.*".
  • 8 files match defined criteria (82 LOC, 0.0% vs. main code). All matches are in *.php files.


*.php82 LOC (100%) 8 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 (2,974 LOC, 1.6% vs. main code). All matches are in *.json files.


*.json2974 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 ".*[.]sh".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*[.]csproj".
  • 13 files match defined criteria (1,477 LOC, 0.8% vs. main code):
    • 10 *.sh files (1,460 LOC)
    • 1 *.csproj files (9 LOC)
    • 2 *.js files (8 LOC)
  • " *.sh" is biggest, containing 98.85% of LOC.
  • " *.js" is smallest, containing 0.54% of LOC.


*.sh1460 LOC (98%) 10 files
*.csproj9 LOC (<1%) 1 file
*.js8 LOC (<1%) 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 ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]htaccess".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*/wp[-]includes/.*".
    • files with paths like ".*/vendor/.*".
  • 833 files match defined criteria (263,424 LOC, 144.4% vs. main code):
    • 542 *.php files (157,408 LOC)
    • 90 *.js files (67,526 LOC)
    • 100 *.json files (18,809 LOC)
    • 27 *.css files (14,229 LOC)
    • 46 *.md files (2,822 LOC)
    • 25 *.txt files (2,578 LOC)
    • 1 *.xml files (30 LOC)
    • 2 *.svg files (22 LOC)
  • " *.php" is biggest, containing 59.75% of LOC.
  • " *.svg" is smallest, containing 0.01% of LOC.


*.php157408 LOC (59%) 542 files
*.js67526 LOC (25%) 90 files
*.json18809 LOC (7%) 100 files
*.css14229 LOC (5%) 27 files
*.md2822 LOC (1%) 46 files
*.txt2578 LOC (<1%) 25 files
*.xml30 LOC (<1%) 1 file
*.svg22 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:20