alibaba / spatial-data-vis-framework
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
mjs
glsl
jade
npmignore
eslintignore
gitattributes
txt
csproj
prettierignore
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.

main28347 LOC (75%) 336 files
test1816 LOC (4%) 17 files
generated0 LOC (0%) 0 files
build and deployment1196 LOC (3%) 85 files
other6066 LOC (16%) 220 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
glsl
jade
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 336 files match defined criteria (28,347 LOC, 100.0% vs. main code):
    • 192 *.ts files (19,674 LOC)
    • 44 *.mjs files (4,701 LOC)
    • 27 *.js files (1,363 LOC)
    • 34 *.cjs files (1,339 LOC)
    • 8 *.cs files (496 LOC)
    • 10 *.glsl files (350 LOC)
    • 17 *.html files (334 LOC)
    • 2 *.tsx files (56 LOC)
    • 2 *.jade files (34 LOC)
  • " *.ts" is biggest, containing 69.4% of LOC.
  • " *.jade" is smallest, containing 0.12% of LOC.


*.ts19674 LOC (69%) 192 files
*.mjs4701 LOC (16%) 44 files
*.js1363 LOC (4%) 27 files
*.cjs1339 LOC (4%) 34 files
*.cs496 LOC (1%) 8 files
*.glsl350 LOC (1%) 10 files
*.html334 LOC (1%) 17 files
*.tsx56 LOC (<1%) 2 files
*.jade34 LOC (<1%) 2 files
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*_test[.].*".
  • 17 files match defined criteria (1,816 LOC, 6.4% vs. main code):
    • 16 *.ts files (1,813 LOC)
    • 1 *.js files (3 LOC)
  • " *.ts" is biggest, containing 99.83% of LOC.
  • " *.js" is smallest, containing 0.17% of LOC.


*.ts1813 LOC (99%) 16 files
*.js3 LOC (<1%) 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 ".*[.]sh".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]csproj".
    • files with paths like ".*/[.]gitattributes".
  • 85 files match defined criteria (1,196 LOC, 4.2% vs. main code):
    • 79 *.sh files (962 LOC)
    • 5 *.js files (227 LOC)
    • 1 *.csproj files (7 LOC)
  • " *.sh" is biggest, containing 80.43% of LOC.
  • " *.csproj" is smallest, containing 0.59% of LOC.


*.sh962 LOC (80%) 79 files
*.js227 LOC (18%) 5 files
*.csproj7 LOC (<1%) 1 file
Other Code
jade
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 ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*[.]txt".
  • 220 files match defined criteria (6,066 LOC, 21.4% vs. main code):
    • 163 *.json files (4,361 LOC)
    • 15 *.ts files (1,306 LOC)
    • 30 *.md files (171 LOC)
    • 9 *.html files (140 LOC)
    • 1 *.js files (54 LOC)
    • 2 *.jade files (34 LOC)
  • " *.json" is biggest, containing 71.89% of LOC.
  • " *.jade" is smallest, containing 0.56% of LOC.


*.json4361 LOC (71%) 163 files
*.ts1306 LOC (21%) 15 files
*.md171 LOC (2%) 30 files
*.html140 LOC (2%) 9 files
*.js54 LOC (<1%) 1 file
*.jade34 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-14 18:54