azure / azure-kusto-trender
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
npmignore
mjs
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.

main20740 LOC (68%) 127 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment93 LOC (<1%) 3 files
other9588 LOC (31%) 145 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 127 files match defined criteria (20,740 LOC, 100.0% vs. main code):
    • 95 *.ts files (14,613 LOC)
    • 29 *.scss files (4,874 LOC)
    • 1 *.js files (957 LOC)
    • 1 *.css files (198 LOC)
    • 1 *.mjs files (98 LOC)
  • " *.ts" is biggest, containing 70.46% of LOC.
  • " *.mjs" is smallest, containing 0.47% of LOC.


*.ts14613 LOC (70%) 95 files
*.scss4874 LOC (23%) 29 files
*.js957 LOC (4%) 1 file
*.css198 LOC (<1%) 1 file
*.mjs98 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 ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 3 files match defined criteria (93 LOC, 0.4% vs. main code). All matches are in *.js files.


*.js93 LOC (100%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
  • 145 files match defined criteria (9,588 LOC, 46.2% vs. main code):
    • 69 *.html files (7,921 LOC)
    • 56 *.svg files (628 LOC)
    • 3 *.css files (486 LOC)
    • 5 *.md files (176 LOC)
    • 6 *.js files (172 LOC)
    • 4 *.json files (156 LOC)
    • 1 *.tsx files (46 LOC)
    • 1 *.txt files (3 LOC)
  • " *.html" is biggest, containing 82.61% of LOC.
  • " *.txt" is smallest, containing 0.03% of LOC.


*.html7921 LOC (82%) 69 files
*.svg628 LOC (6%) 56 files
*.css486 LOC (5%) 3 files
*.md176 LOC (1%) 5 files
*.js172 LOC (1%) 6 files
*.json156 LOC (1%) 4 files
*.tsx46 LOC (<1%) 1 file
*.txt3 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-06 22:28