aws / aws-advanced-nodejs-wrapper
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
babelrc
prisma
eslintignore
properties
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.

main14361 LOC (45%) 192 files
test14676 LOC (46%) 108 files
generated0 LOC (0%) 0 files
build and deployment71 LOC (<1%) 1 file
other2223 LOC (7%) 44 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 192 files match defined criteria (14,361 LOC, 100.0% vs. main code):
    • 191 *.ts files (14,358 LOC)
    • 1 *.kts files (3 LOC)
  • " *.ts" is biggest, containing 99.98% of LOC.
  • " *.kts" is smallest, containing 0.02% of LOC.


*.ts14358 LOC (99%) 191 files
*.kts3 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]ests/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
  • 108 files match defined criteria (14,676 LOC, 102.2% vs. main code):
    • 83 *.ts files (11,417 LOC)
    • 21 *.java files (2,377 LOC)
    • 1 *.html files (563 LOC)
    • 1 *.kts files (285 LOC)
    • 1 *.yaml files (33 LOC)
    • 1 *.sql files (1 LOC)
  • " *.ts" is biggest, containing 77.79% of LOC.
  • " *.sql" is smallest, containing 0.01% of LOC.


*.ts11417 LOC (77%) 83 files
*.java2377 LOC (16%) 21 files
*.html563 LOC (3%) 1 file
*.kts285 LOC (1%) 1 file
*.yaml33 LOC (<1%) 1 file
*.sql1 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 ".*[.]bat".
  • 1 file matches defined criteria (71 LOC, 0.5% vs. main code). All matches are in *.bat files.


*.bat71 LOC (100%) 1 file
Other Code
prisma
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]eslintignore".
  • 44 files match defined criteria (2,223 LOC, 15.5% vs. main code):
    • 28 *.ts files (1,401 LOC)
    • 7 *.json files (478 LOC)
    • 7 *.md files (303 LOC)
    • 1 *.prisma files (40 LOC)
    • 1 *.txt files (1 LOC)
  • " *.ts" is biggest, containing 63.02% of LOC.
  • " *.txt" is smallest, containing 0.04% of LOC.


*.ts1401 LOC (63%) 28 files
*.json478 LOC (21%) 7 files
*.md303 LOC (13%) 7 files
*.prisma40 LOC (1%) 1 file
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 01:00