aws / amazon-chime-sdk-component-library-react
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
mdx
txt
eslintignore
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.

main16995 LOC (37%) 335 files
test4162 LOC (9%) 87 files
generated8624 LOC (19%) 2 files
build and deployment51 LOC (<1%) 1 file
other15089 LOC (33%) 115 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 ".*".
  • 335 files match defined criteria (16,995 LOC, 100.0% vs. main code):
    • 290 *.tsx files (13,204 LOC)
    • 24 *.ts files (2,536 LOC)
    • 20 *.js files (1,242 LOC)
    • 1 *.html files (13 LOC)
  • " *.tsx" is biggest, containing 77.69% of LOC.
  • " *.html" is smallest, containing 0.08% of LOC.


*.tsx13204 LOC (77%) 290 files
*.ts2536 LOC (14%) 24 files
*.js1242 LOC (7%) 20 files
*.html13 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 ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*_test[.].*".
  • 87 files match defined criteria (4,162 LOC, 24.5% vs. main code):
    • 84 *.tsx files (3,804 LOC)
    • 2 *.js files (290 LOC)
    • 1 *.ts files (68 LOC)
  • " *.tsx" is biggest, containing 91.4% of LOC.
  • " *.ts" is smallest, containing 1.63% of LOC.


*.tsx3804 LOC (91%) 84 files
*.js290 LOC (6%) 2 files
*.ts68 LOC (1%) 1 file
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 (8,624 LOC, 50.7% vs. main code). All matches are in *.json files.


*.json8624 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[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/package[-]lock[.]json".
    • files with paths like ".*([.]|/)webpack([.]|/).*".
  • 1 file matches defined criteria (51 LOC, 0.3% vs. main code). All matches are in *.js files.


*.js51 LOC (100%) 1 file
Other Code
mdx
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]mdx".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]eslintignore".
  • 115 files match defined criteria (15,089 LOC, 88.8% vs. main code):
    • 7 *.json files (8,886 LOC)
    • 102 *.mdx files (5,735 LOC)
    • 5 *.md files (339 LOC)
    • 1 *.txt files (129 LOC)
  • " *.json" is biggest, containing 58.89% of LOC.
  • " *.txt" is smallest, containing 0.85% of LOC.


*.json8886 LOC (58%) 7 files
*.mdx5735 LOC (38%) 102 files
*.md339 LOC (2%) 5 files
*.txt129 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:10