azure / AppService
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
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.

main30935 LOC (63%) 458 files
test0 LOC (0%) 0 files
generated688 LOC (1%) 1 file
build and deployment19 LOC (<1%) 1 file
other17242 LOC (35%) 342 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 ".*".
  • 458 files match defined criteria (30,935 LOC, 100.0% vs. main code):
    • 417 *.html files (23,634 LOC)
    • 31 *.scss files (3,911 LOC)
    • 8 *.js files (3,302 LOC)
    • 1 *.py files (66 LOC)
    • 1 *.gemspec files (22 LOC)
  • " *.html" is biggest, containing 76.4% of LOC.
  • " *.gemspec" is smallest, containing 0.07% of LOC.


*.html23634 LOC (76%) 417 files
*.scss3911 LOC (12%) 31 files
*.js3302 LOC (10%) 8 files
*.py66 LOC (<1%) 1 file
*.gemspec22 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 (688 LOC, 2.2% vs. main code). All matches are in *.json files.


*.json688 LOC (100%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
  • 1 file matches defined criteria (19 LOC, 0.1% vs. main code). All matches are in *.sh files.


*.sh19 LOC (100%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/vendor/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]editorconfig".
  • 342 files match defined criteria (17,242 LOC, 55.7% vs. main code):
    • 334 *.md files (16,405 LOC)
    • 2 *.json files (722 LOC)
    • 3 *.svg files (112 LOC)
    • 3 *.txt files (3 LOC)
  • " *.md" is biggest, containing 95.15% of LOC.
  • " *.txt" is smallest, containing 0.02% of LOC.


*.md16405 LOC (95%) 334 files
*.json722 LOC (4%) 2 files
*.svg112 LOC (<1%) 3 files
*.txt3 LOC (<1%) 3 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:22