aws / mynah-ui
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
txt
eslintignore
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.

main27049 LOC (81%) 147 files
test3464 LOC (10%) 67 files
generated0 LOC (0%) 0 files
build and deployment116 LOC (<1%) 2 files
other2406 LOC (7%) 101 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 ".*".
  • 147 files match defined criteria (27,049 LOC, 100.0% vs. main code):
    • 85 *.ts files (14,172 LOC)
    • 57 *.scss files (12,790 LOC)
    • 1 *.html files (53 LOC)
    • 4 *.js files (34 LOC)
  • " *.ts" is biggest, containing 52.39% of LOC.
  • " *.js" is smallest, containing 0.13% of LOC.


*.ts14172 LOC (52%) 85 files
*.scss12790 LOC (47%) 57 files
*.html53 LOC (<1%) 1 file
*.js34 LOC (<1%) 4 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 ".*__test__.*".
    • files with paths like ".*[.]spec[.]ts".
    • files with paths like ".*[-]tests/.*".
    • files with paths like ".*/mock[a-zA-Z0-9_\- ]+/.*".
    • files with paths like ".*/[Mm]ocks/.*".
  • 67 files match defined criteria (3,464 LOC, 12.8% vs. main code):
    • 61 *.ts files (3,199 LOC)
    • 2 *.scss files (170 LOC)
    • 3 *.js files (87 LOC)
    • 1 *.html files (8 LOC)
  • " *.ts" is biggest, containing 92.35% of LOC.
  • " *.html" is smallest, containing 0.23% of LOC.


*.ts3199 LOC (92%) 61 files
*.scss170 LOC (4%) 2 files
*.js87 LOC (2%) 3 files
*.html8 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 ".*([.]|/)webpack([.]|/).*".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
  • 2 files match defined criteria (116 LOC, 0.4% vs. main code). All matches are in *.js files.


*.js116 LOC (100%) 2 files
Other Code
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[.]prettierignore".
    • files with paths like ".*/[.]npmignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ss]amples/.*".
    • files with paths like ".*/[.]eslintignore".
  • 101 files match defined criteria (2,406 LOC, 8.9% vs. main code):
    • 8 *.json files (1,135 LOC)
    • 30 *.md files (734 LOC)
    • 63 *.svg files (537 LOC)
  • " *.json" is biggest, containing 47.17% of LOC.
  • " *.svg" is smallest, containing 22.32% of LOC.


*.json1135 LOC (47%) 8 files
*.md734 LOC (30%) 30 files
*.svg537 LOC (22%) 63 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:47