azure / appinno-gbb-glam-experiments
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
http
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.

main2762 LOC (72%) 68 files
test87 LOC (2%) 2 files
generated0 LOC (0%) 0 files
build and deployment171 LOC (4%) 7 files
other801 LOC (20%) 23 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
http
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 68 files match defined criteria (2,762 LOC, 100.0% vs. main code):
    • 60 *.cs files (2,359 LOC)
    • 2 *.js files (127 LOC)
    • 1 *.css files (125 LOC)
    • 2 *.ps1 files (65 LOC)
    • 1 *.yaml files (57 LOC)
    • 1 *.html files (20 LOC)
    • 1 *.http files (9 LOC)
  • " *.cs" is biggest, containing 85.41% of LOC.
  • " *.http" is smallest, containing 0.33% of LOC.


*.cs2359 LOC (85%) 60 files
*.js127 LOC (4%) 2 files
*.css125 LOC (4%) 1 file
*.ps165 LOC (2%) 2 files
*.yaml57 LOC (2%) 1 file
*.html20 LOC (<1%) 1 file
*.http9 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
http
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/test[.].*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 2 files match defined criteria (87 LOC, 3.1% vs. main code):
    • 1 *.js files (75 LOC)
    • 1 *.http files (12 LOC)
  • " *.js" is biggest, containing 86.21% of LOC.
  • " *.http" is smallest, containing 13.79% of LOC.


*.js75 LOC (86%) 1 file
*.http12 LOC (13%) 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 ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]sh".
  • 7 files match defined criteria (171 LOC, 6.2% vs. main code):
    • 5 *.csproj files (121 LOC)
    • 2 *.sh files (50 LOC)
  • " *.csproj" is biggest, containing 70.76% of LOC.
  • " *.sh" is smallest, containing 29.24% of LOC.


*.csproj121 LOC (70%) 5 files
*.sh50 LOC (29%) 2 files
Other Code
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 ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]dockerignore".
  • 23 files match defined criteria (801 LOC, 29.0% vs. main code):
    • 13 *.json files (501 LOC)
    • 9 *.md files (297 LOC)
    • 1 *.txt files (3 LOC)
  • " *.json" is biggest, containing 62.55% of LOC.
  • " *.txt" is smallest, containing 0.37% of LOC.


*.json501 LOC (62%) 13 files
*.md297 LOC (37%) 9 files
*.txt3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 23:08