aws / jsii-rosetta
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
npmignore
gitattributes
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.

main10625 LOC (59%) 70 files
test6363 LOC (35%) 442 files
generated0 LOC (0%) 0 files
build and deployment0 LOC (0%) 0 files
other941 LOC (5%) 9 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 ".*".
  • 70 files match defined criteria (10,625 LOC, 100.0% vs. main code). All matches are in *.ts files.


*.ts10625 LOC (100%) 70 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 ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
  • 442 files match defined criteria (6,363 LOC, 59.9% vs. main code):
    • 108 *.ts files (5,033 LOC)
    • 84 *.go files (376 LOC)
    • 84 *.java files (365 LOC)
    • 84 *.cs files (358 LOC)
    • 82 *.py files (231 LOC)
  • " *.ts" is biggest, containing 79.1% of LOC.
  • " *.py" is smallest, containing 3.63% of LOC.


*.ts5033 LOC (79%) 108 files
*.go376 LOC (5%) 84 files
*.java365 LOC (5%) 84 files
*.cs358 LOC (5%) 84 files
*.py231 LOC (3%) 82 files
Other Code
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".
  • 9 files match defined criteria (941 LOC, 8.9% vs. main code):
    • 4 *.md files (693 LOC)
    • 5 *.json files (248 LOC)
  • " *.md" is biggest, containing 73.65% of LOC.
  • " *.json" is smallest, containing 26.35% of LOC.


*.md693 LOC (73%) 4 files
*.json248 LOC (26%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:47