aws / graph-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
txt
npmrc
gitattributes
mjs
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.

main29161 LOC (57%) 529 files
test8323 LOC (16%) 72 files
generated0 LOC (0%) 0 files
build and deployment260 LOC (<1%) 5 files
other12649 LOC (25%) 51 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 ".*".
  • 529 files match defined criteria (29,161 LOC, 100.0% vs. main code):
    • 316 *.ts files (15,807 LOC)
    • 206 *.tsx files (13,041 LOC)
    • 1 *.mjs files (105 LOC)
    • 1 *.css files (101 LOC)
    • 2 *.html files (78 LOC)
    • 2 *.js files (20 LOC)
    • 1 *.xml files (9 LOC)
  • " *.ts" is biggest, containing 54.21% of LOC.
  • " *.xml" is smallest, containing 0.03% of LOC.


*.ts15807 LOC (54%) 316 files
*.tsx13041 LOC (44%) 206 files
*.mjs105 LOC (<1%) 1 file
*.css101 LOC (<1%) 1 file
*.html78 LOC (<1%) 2 files
*.js20 LOC (<1%) 2 files
*.xml9 LOC (<1%) 1 file
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 ".*[.]test[.].*".
    • files with paths like ".*/vitest[.].*".
  • 72 files match defined criteria (8,323 LOC, 28.5% vs. main code):
    • 71 *.ts files (8,214 LOC)
    • 1 *.tsx files (109 LOC)
  • " *.ts" is biggest, containing 98.69% of LOC.
  • " *.tsx" is smallest, containing 1.31% of LOC.


*.ts8214 LOC (98%) 71 files
*.tsx109 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 ".*[.]sh".
    • 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".
    • files with paths like ".*/docker[-]compose[.]yaml".
  • 5 files match defined criteria (260 LOC, 0.9% vs. main code):
    • 4 *.sh files (258 LOC)
    • 1 *.yaml files (2 LOC)
  • " *.sh" is biggest, containing 99.23% of LOC.
  • " *.yaml" is smallest, containing 0.77% of LOC.


*.sh258 LOC (99%) 4 files
*.yaml2 LOC (<1%) 1 file
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]dockerignore".
  • 51 files match defined criteria (12,649 LOC, 43.4% vs. main code):
    • 30 *.json files (6,117 LOC)
    • 2 *.txt files (4,339 LOC)
    • 15 *.md files (2,054 LOC)
    • 2 *.yaml files (69 LOC)
    • 1 *.svg files (54 LOC)
    • 1 *.groovy files (16 LOC)
  • " *.json" is biggest, containing 48.36% of LOC.
  • " *.groovy" is smallest, containing 0.13% of LOC.


*.json6117 LOC (48%) 30 files
*.txt4339 LOC (34%) 2 files
*.md2054 LOC (16%) 15 files
*.yaml69 LOC (<1%) 2 files
*.svg54 LOC (<1%) 1 file
*.groovy16 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:46