azure / azure-iot-explorer
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
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.

main19808 LOC (48%) 414 files
test17664 LOC (43%) 295 files
generated0 LOC (0%) 0 files
build and deployment131 LOC (<1%) 3 files
other3421 LOC (8%) 14 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 ".*".
  • 414 files match defined criteria (19,808 LOC, 100.0% vs. main code):
    • 117 *.tsx files (9,292 LOC)
    • 242 *.ts files (8,401 LOC)
    • 53 *.scss files (2,095 LOC)
    • 1 *.html files (19 LOC)
    • 1 *.js files (1 LOC)
  • " *.tsx" is biggest, containing 46.91% of LOC.
  • " *.js" is smallest, containing 0.01% of LOC.


*.tsx9292 LOC (46%) 117 files
*.ts8401 LOC (42%) 242 files
*.scss2095 LOC (10%) 53 files
*.html19 LOC (<1%) 1 file
*.js1 LOC (<1%) 1 file
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 ".*[.]snap".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*[.]spec[.]tsx".
    • files with paths like ".*/__mock[a-zA-Z0-9_\- ]+/.*".
  • 295 files match defined criteria (17,664 LOC, 89.2% vs. main code):
    • 97 *.snap files (7,117 LOC)
    • 86 *.ts files (6,637 LOC)
    • 112 *.tsx files (3,910 LOC)
  • " *.snap" is biggest, containing 40.29% of LOC.
  • " *.tsx" is smallest, containing 22.14% of LOC.


*.snap7117 LOC (40%) 97 files
*.ts6637 LOC (37%) 86 files
*.tsx3910 LOC (22%) 112 files
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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 3 files match defined criteria (131 LOC, 0.7% vs. main code). All matches are in *.ts files.


*.ts131 LOC (100%) 3 files
Other Code
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 ".*[.]txt".
  • 14 files match defined criteria (3,421 LOC, 17.3% vs. main code):
    • 10 *.json files (3,323 LOC)
    • 4 *.md files (98 LOC)
  • " *.json" is biggest, containing 97.14% of LOC.
  • " *.md" is smallest, containing 2.86% of LOC.


*.json3323 LOC (97%) 10 files
*.md98 LOC (2%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 21:49