GoogleCloudPlatform / woolaroo-language-learning-app
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
webmanifest
editorconfig
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.

main9258 LOC (56%) 220 files
test119 LOC (<1%) 7 files
generated2987 LOC (18%) 1 file
build and deployment53 LOC (<1%) 3 files
other3862 LOC (23%) 37 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
webmanifest
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 220 files match defined criteria (9,258 LOC, 100.0% vs. main code):
    • 120 *.ts files (6,080 LOC)
    • 49 *.scss files (1,870 LOC)
    • 34 *.html files (473 LOC)
    • 9 *.js files (462 LOC)
    • 4 *.yaml files (190 LOC)
    • 2 *.py files (94 LOC)
    • 1 *.webmanifest files (51 LOC)
    • 1 *.tf files (38 LOC)
  • " *.ts" is biggest, containing 65.67% of LOC.
  • " *.tf" is smallest, containing 0.41% of LOC.


*.ts6080 LOC (65%) 120 files
*.scss1870 LOC (20%) 49 files
*.html473 LOC (5%) 34 files
*.js462 LOC (4%) 9 files
*.yaml190 LOC (2%) 4 files
*.py94 LOC (1%) 2 files
*.webmanifest51 LOC (<1%) 1 file
*.tf38 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 ".*/karma[.]conf[.]js".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*/test[.].*".
    • files with paths like ".*/protractor[.]conf[.]js".
    • files with paths like ".*/e2e/.*".
  • 7 files match defined criteria (119 LOC, 1.3% vs. main code):
    • 5 *.ts files (66 LOC)
    • 2 *.js files (53 LOC)
  • " *.ts" is biggest, containing 55.46% of LOC.
  • " *.js" is smallest, containing 44.54% of LOC.


*.ts66 LOC (55%) 5 files
*.js53 LOC (44%) 2 files
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".
  • 1 file matches defined criteria (2,987 LOC, 32.3% vs. main code). All matches are in *.json files.


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


*.sh53 LOC (100%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]dockerignore".
  • 37 files match defined criteria (3,862 LOC, 41.7% vs. main code):
    • 14 *.json files (3,718 LOC)
    • 3 *.md files (88 LOC)
    • 19 *.svg files (36 LOC)
    • 1 *.txt files (20 LOC)
  • " *.json" is biggest, containing 96.27% of LOC.
  • " *.txt" is smallest, containing 0.52% of LOC.


*.json3718 LOC (96%) 14 files
*.md88 LOC (2%) 3 files
*.svg36 LOC (<1%) 19 files
*.txt20 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 15:14