aws / aws-lambda-nodejs-runtime-interface-client
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
patch
x
txt
npmignore
eslintignore
gyp
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.

main1595 LOC (9%) 18 files
test2625 LOC (15%) 52 files
generated6238 LOC (36%) 2 files
build and deployment127 LOC (<1%) 3 files
other6671 LOC (38%) 18 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mjs
gyp
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 18 files match defined criteria (1,595 LOC, 100.0% vs. main code):
    • 15 *.js files (1,391 LOC)
    • 1 *.cc files (119 LOC)
    • 1 *.mjs files (45 LOC)
    • 1 *.gyp files (40 LOC)
  • " *.js" is biggest, containing 87.21% of LOC.
  • " *.gyp" is smallest, containing 2.51% of LOC.


*.js1391 LOC (87%) 15 files
*.cc119 LOC (7%) 1 file
*.mjs45 LOC (2%) 1 file
*.gyp40 LOC (2%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
mjs
x
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/test_.*".
  • 52 files match defined criteria (2,625 LOC, 164.6% vs. main code):
    • 29 *.js files (2,228 LOC)
    • 3 *.sh files (275 LOC)
    • 12 *.mjs files (84 LOC)
    • 3 *.x files (21 LOC)
    • 5 *.cjs files (17 LOC)
  • " *.js" is biggest, containing 84.88% of LOC.
  • " *.cjs" is smallest, containing 0.65% of LOC.


*.js2228 LOC (84%) 29 files
*.sh275 LOC (10%) 3 files
*.mjs84 LOC (3%) 12 files
*.x21 LOC (<1%) 3 files
*.cjs17 LOC (<1%) 5 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".
  • 2 files match defined criteria (6,238 LOC, 391.1% vs. main code). All matches are in *.json files.


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


*.sh127 LOC (100%) 3 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/[.]eslintignore".
    • files with paths like ".*/[.]dockerignore".
  • 18 files match defined criteria (6,671 LOC, 418.2% vs. main code):
    • 14 *.json files (6,487 LOC)
    • 3 *.md files (183 LOC)
    • 1 *.txt files (1 LOC)
  • " *.json" is biggest, containing 97.24% of LOC.
  • " *.txt" is smallest, containing 0.01% of LOC.


*.json6487 LOC (97%) 14 files
*.md183 LOC (2%) 3 files
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:12