azure / LogicAppsUX
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
snap
txt
mdx
gitattributes
editorconfig
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.

main179241 LOC (46%) 1,730 files
test91771 LOC (24%) 443 files
generated0 LOC (0%) 0 files
build and deployment3 LOC (<1%) 1 file
other110379 LOC (28%) 348 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 ".*".
  • 1730 files match defined criteria (179,241 LOC, 100.0% vs. main code):
    • 928 *.ts files (97,322 LOC)
    • 668 *.tsx files (72,863 LOC)
    • 123 *.less files (8,806 LOC)
    • 6 *.js files (187 LOC)
    • 3 *.html files (52 LOC)
    • 2 *.css files (11 LOC)
  • " *.ts" is biggest, containing 54.3% of LOC.
  • " *.css" is smallest, containing 0.01% of LOC.


*.ts97322 LOC (54%) 928 files
*.tsx72863 LOC (40%) 668 files
*.less8806 LOC (4%) 123 files
*.js187 LOC (<1%) 6 files
*.html52 LOC (<1%) 3 files
*.css11 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
snap
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*/vitest[.].*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*__test__.*".
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*[-]test[-].*".
    • files with paths like ".*[.]spec[.]tsx".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.]snap".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
  • 443 files match defined criteria (91,771 LOC, 51.2% vs. main code):
    • 247 *.ts files (59,632 LOC)
    • 63 *.snap files (23,349 LOC)
    • 130 *.tsx files (8,776 LOC)
    • 2 *.js files (8 LOC)
    • 1 *.less files (6 LOC)
  • " *.ts" is biggest, containing 64.98% of LOC.
  • " *.less" is smallest, containing 0.01% of LOC.


*.ts59632 LOC (64%) 247 files
*.snap23349 LOC (25%) 63 files
*.tsx8776 LOC (9%) 130 files
*.js8 LOC (<1%) 2 files
*.less6 LOC (<1%) 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 ".*/pnpm.*[.]ya?ml".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
  • 1 file matches defined criteria (3 LOC, 0.0% vs. main code). All matches are in *.yaml files.


*.yaml3 LOC (100%) 1 file
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 ".*/[.]gitignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]mdx".
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*[.]editorconfig".
  • 348 files match defined criteria (110,379 LOC, 61.6% vs. main code):
    • 154 *.json files (107,773 LOC)
    • 179 *.svg files (2,083 LOC)
    • 11 *.md files (519 LOC)
    • 4 *.txt files (4 LOC)
  • " *.json" is biggest, containing 97.64% of LOC.
  • " *.txt" is smallest, containing 0% of LOC.


*.json107773 LOC (97%) 154 files
*.svg2083 LOC (1%) 179 files
*.md519 LOC (<1%) 11 files
*.txt4 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:17