GoogleCloudPlatform / recaptcha-enterprise-react-native
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
plist
properties
watchmanconfig
gitattributes
editorconfig
podspec
pro
storyboard
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.

main625 LOC (35%) 27 files
test160 LOC (9%) 5 files
generated0 LOC (0%) 0 files
build and deployment294 LOC (16%) 9 files
other693 LOC (39%) 17 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 ".*".
  • 27 files match defined criteria (625 LOC, 100.0% vs. main code):
    • 6 *.tsx files (204 LOC)
    • 4 *.kt files (155 LOC)
    • 3 *.swift files (108 LOC)
    • 6 *.js files (64 LOC)
    • 1 *.m files (53 LOC)
    • 4 *.xml files (20 LOC)
    • 1 *.mm files (18 LOC)
    • 2 *.h files (3 LOC)
  • " *.tsx" is biggest, containing 32.64% of LOC.
  • " *.h" is smallest, containing 0.48% of LOC.


*.tsx204 LOC (32%) 6 files
*.kt155 LOC (24%) 4 files
*.swift108 LOC (17%) 3 files
*.js64 LOC (10%) 6 files
*.m53 LOC (8%) 1 file
*.xml20 LOC (3%) 4 files
*.mm18 LOC (2%) 1 file
*.h3 LOC (<1%) 2 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 ".*/jest[.][a-zA-Z0-9\.]+".
    • files with paths like ".*/src/androidTest/.*".
    • files with paths like ".*/e2e/.*".
  • 5 files match defined criteria (160 LOC, 25.6% vs. main code):
    • 3 *.js files (135 LOC)
    • 1 *.java files (24 LOC)
    • 1 *.tsx files (1 LOC)
  • " *.js" is biggest, containing 84.38% of LOC.
  • " *.tsx" is smallest, containing 0.62% of LOC.


*.js135 LOC (84%) 3 files
*.java24 LOC (15%) 1 file
*.tsx1 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
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 ".*/package[.]json".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]podspec".
    • files with paths like ".*/[.]gitattributes".
    • files with paths like ".*[.]bat".
  • 9 files match defined criteria (294 LOC, 47.0% vs. main code):
    • 4 *.gradle files (152 LOC)
    • 1 *.bat files (71 LOC)
    • 3 *.xml files (37 LOC)
    • 1 *.podspec files (34 LOC)
  • " *.gradle" is biggest, containing 51.7% of LOC.
  • " *.podspec" is smallest, containing 11.56% of LOC.


*.gradle152 LOC (51%) 4 files
*.bat71 LOC (24%) 1 file
*.xml37 LOC (12%) 3 files
*.podspec34 LOC (11%) 1 file
Other Code
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 ".*[.]plist".
    • files with paths like ".*[.]storyboard".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]editorconfig".
  • 17 files match defined criteria (693 LOC, 110.9% vs. main code):
    • 8 *.json files (343 LOC)
    • 3 *.md files (185 LOC)
    • 3 *.plist files (83 LOC)
    • 1 *.storyboard files (46 LOC)
    • 2 *.properties files (36 LOC)
  • " *.json" is biggest, containing 49.49% of LOC.
  • " *.properties" is smallest, containing 5.19% of LOC.


*.json343 LOC (49%) 8 files
*.md185 LOC (26%) 3 files
*.plist83 LOC (11%) 3 files
*.storyboard46 LOC (6%) 1 file
*.properties36 LOC (5%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-04 15:57