GoogleCloudPlatform / backlogged-pinball-backend
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
svelte
txt
mod
mjs
npmrc
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.

main3116 LOC (8%) 65 files
test5 LOC (<1%) 1 file
generated16895 LOC (44%) 4 files
build and deployment36 LOC (<1%) 2 files
other17870 LOC (47%) 54 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
svelte
mjs
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 65 files match defined criteria (3,116 LOC, 100.0% vs. main code):
    • 13 *.tsx files (728 LOC)
    • 8 *.svelte files (720 LOC)
    • 14 *.ts files (482 LOC)
    • 10 *.js files (262 LOC)
    • 4 *.html files (241 LOC)
    • 5 *.py files (182 LOC)
    • 3 *.yaml files (158 LOC)
    • 3 *.css files (151 LOC)
    • 2 *.go files (147 LOC)
    • 1 *.cs files (27 LOC)
    • 2 *.mjs files (18 LOC)
  • " *.tsx" is biggest, containing 23.36% of LOC.
  • " *.mjs" is smallest, containing 0.58% of LOC.


*.tsx728 LOC (23%) 13 files
*.svelte720 LOC (23%) 8 files
*.ts482 LOC (15%) 14 files
*.js262 LOC (8%) 10 files
*.html241 LOC (7%) 4 files
*.py182 LOC (5%) 5 files
*.yaml158 LOC (5%) 3 files
*.css151 LOC (4%) 3 files
*.go147 LOC (4%) 2 files
*.cs27 LOC (<1%) 1 file
*.mjs18 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 ".*[.]test[.].*".
    • files with paths like ".*/e2e/.*".
  • 1 file matches defined criteria (5 LOC, 0.2% vs. main code). All matches are in *.js files.


*.js5 LOC (100%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/package[-]lock[.]json".
  • 4 files match defined criteria (16,895 LOC, 542.2% vs. main code). All matches are in *.json files.


*.json16895 LOC (100%) 4 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 ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*/package[-]lock[.]json".
  • 2 files match defined criteria (36 LOC, 1.2% vs. main code). All matches are in *.sh files.


*.sh36 LOC (100%) 2 files
Other Code
mod
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*/go[.]mod".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]dockerignore".
    • files with paths like ".*[.]svg".
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]npmrc".
  • 54 files match defined criteria (17,870 LOC, 573.5% vs. main code):
    • 17 *.json files (17,362 LOC)
    • 18 *.md files (365 LOC)
    • 13 *.svg files (71 LOC)
    • 2 *.mod files (67 LOC)
    • 4 *.txt files (5 LOC)
  • " *.json" is biggest, containing 97.16% of LOC.
  • " *.txt" is smallest, containing 0.03% of LOC.


*.json17362 LOC (97%) 17 files
*.md365 LOC (2%) 18 files
*.svg71 LOC (<1%) 13 files
*.mod67 LOC (<1%) 2 files
*.txt5 LOC (<1%) 4 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 16:03