aws / amazon-neptune-for-graphql
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
txt
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.

main4362 LOC (14%) 22 files
test5755 LOC (19%) 53 files
generated7624 LOC (25%) 5 files
build and deployment0 LOC (0%) 0 files
other11985 LOC (40%) 71 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 ".*".
  • 22 files match defined criteria (4,362 LOC, 100.0% vs. main code):
    • 15 *.js files (3,987 LOC)
    • 7 *.mjs files (375 LOC)
  • " *.js" is biggest, containing 91.4% of LOC.
  • " *.mjs" is smallest, containing 8.6% of LOC.


*.js3987 LOC (91%) 15 files
*.mjs375 LOC (8%) 7 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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 53 files match defined criteria (5,755 LOC, 131.9% vs. main code):
    • 37 *.js files (3,727 LOC)
    • 16 *.graphql files (2,028 LOC)
  • " *.js" is biggest, containing 64.76% of LOC.
  • " *.graphql" is smallest, containing 35.24% of LOC.


*.js3727 LOC (64%) 37 files
*.graphql2028 LOC (35%) 16 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".
  • 5 files match defined criteria (7,624 LOC, 174.8% vs. main code). All matches are in *.json files.


*.json7624 LOC (100%) 5 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*[.]txt".
  • 71 files match defined criteria (11,985 LOC, 274.8% vs. main code):
    • 60 *.json files (11,033 LOC)
    • 8 *.md files (711 LOC)
    • 2 *.graphql files (148 LOC)
    • 1 *.txt files (93 LOC)
  • " *.json" is biggest, containing 92.06% of LOC.
  • " *.txt" is smallest, containing 0.78% of LOC.


*.json11033 LOC (92%) 60 files
*.md711 LOC (5%) 8 files
*.graphql148 LOC (1%) 2 files
*.txt93 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:57