aws / amazon-ivs-react-native-player
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
properties
plist
project
prefs
txt
gitattributes
editorconfig
podspec
npmrc
mk
pro
storyboard
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.

main4416 LOC (66%) 60 files
test484 LOC (7%) 7 files
generated0 LOC (0%) 0 files
build and deployment629 LOC (9%) 12 files
other1106 LOC (16%) 18 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 ".*".
  • 60 files match defined criteria (4,416 LOC, 100.0% vs. main code):
    • 14 *.tsx files (2,290 LOC)
    • 3 *.kt files (595 LOC)
    • 3 *.swift files (502 LOC)
    • 13 *.ts files (313 LOC)
    • 6 *.java files (306 LOC)
    • 1 *.mm files (103 LOC)
    • 4 *.cpp files (101 LOC)
    • 6 *.h files (68 LOC)
    • 2 *.m files (56 LOC)
    • 4 *.js files (50 LOC)
    • 4 *.xml files (32 LOC)
  • " *.tsx" is biggest, containing 51.86% of LOC.
  • " *.xml" is smallest, containing 0.72% of LOC.


*.tsx2290 LOC (51%) 14 files
*.kt595 LOC (13%) 3 files
*.swift502 LOC (11%) 3 files
*.ts313 LOC (7%) 13 files
*.java306 LOC (6%) 6 files
*.mm103 LOC (2%) 1 file
*.cpp101 LOC (2%) 4 files
*.h68 LOC (1%) 6 files
*.m56 LOC (1%) 2 files
*.js50 LOC (1%) 4 files
*.xml32 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 ".*[.][Tt]est[.].*".
    • files with paths like ".*[.]test[.].*".
    • files with paths like ".*__tests__.*".
    • files with paths like ".*/e2e/.*".
    • files with paths like ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*/src/androidTest/.*".
  • 7 files match defined criteria (484 LOC, 11.0% vs. main code):
    • 5 *.ts files (265 LOC)
    • 1 *.tsx files (196 LOC)
    • 1 *.java files (23 LOC)
  • " *.ts" is biggest, containing 54.75% of LOC.
  • " *.java" is smallest, containing 4.75% of LOC.


*.ts265 LOC (54%) 5 files
*.tsx196 LOC (40%) 1 file
*.java23 LOC (4%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
mk
podspec
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]gradle".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]mk".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]podspec".
  • 12 files match defined criteria (629 LOC, 14.2% vs. main code):
    • 4 *.gradle files (371 LOC)
    • 2 *.bat files (134 LOC)
    • 3 *.xml files (48 LOC)
    • 1 *.mk files (39 LOC)
    • 1 *.podspec files (23 LOC)
    • 1 *.sh files (14 LOC)
  • " *.gradle" is biggest, containing 58.98% of LOC.
  • " *.sh" is smallest, containing 2.23% of LOC.


*.gradle371 LOC (58%) 4 files
*.bat134 LOC (21%) 2 files
*.xml48 LOC (7%) 3 files
*.mk39 LOC (6%) 1 file
*.podspec23 LOC (3%) 1 file
*.sh14 LOC (2%) 1 file
Other Code
txt
plist
storyboard
properties
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 ".*[.]properties".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]npmrc".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]storyboard".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
    • files with paths like ".*/[.]eslintignore".
  • 18 files match defined criteria (1,106 LOC, 25.0% vs. main code):
    • 1 *.txt files (475 LOC)
    • 8 *.json files (311 LOC)
    • 3 *.md files (148 LOC)
    • 3 *.plist files (83 LOC)
    • 1 *.storyboard files (57 LOC)
    • 2 *.properties files (32 LOC)
  • " *.txt" is biggest, containing 42.95% of LOC.
  • " *.properties" is smallest, containing 2.89% of LOC.


*.txt475 LOC (42%) 1 file
*.json311 LOC (28%) 8 files
*.md148 LOC (13%) 3 files
*.plist83 LOC (7%) 3 files
*.storyboard57 LOC (5%) 1 file
*.properties32 LOC (2%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 00:37