Repository Analysis

facebook/react-native

A framework for building native applications using React

3.5 Likely human-written View on GitHub
3.5
Adjusted Score
3.5
Raw Score
100%
Time Factor
2026-05-29
Last Push
125,922
Stars
C++
Language
903,535
Lines of Code
6213
Files
2123
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 22HIGH 43MEDIUM 332LOW 1726

Pattern Findings

2123 matches across 16 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers1136 hits · 1032 pts
SeverityFileLineSnippet
LOWCHANGELOG-0.7x.md1433- **runtime** Fixes typo of function callFunctionOnBufferedRumtimeExecutor ([4e12c2e37c](https://github.com/facebook/re
LOW…ivate/react-native-fantom/runner/EnvironmentOptions.js98export function validateEnvironmentVariables(): void {
LOW…ate/react-native-fantom/runner/getFantomTestConfigs.js435function getConfigurationVariations(
LOWprivate/react-native-fantom/runner/runner.js94async function processRNTesterCommandResult(
LOWprivate/react-native-fantom/runner/paths.js75export function buildJSHeapSnapshotsOutputPathTemplate({
LOWprivate/react-native-fantom/runner/utils.js258export function getDebugInfoFromCommandResult(
LOWprivate/react-native-fantom/runner/snapshotUtils.js161function formatSnapshotAsTemplateLiteral(
LOWprivate/react-native-fantom/runner/snapshotUtils.js236export function saveInlineSnapshotsToSource(
LOW…ivate/react-native-fantom/runner/formatFantomConfig.js83function formatFantomHermesVariant(hermesVariant: HermesVariant): string {
LOWprivate/react-native-fantom/runtime/setup.js420function validateEmptyMessageQueue(): void {
LOWprivate/react-native-fantom/src/index.js668export function createShadowNodeReferenceCounter(
LOWprivate/react-native-fantom/src/index.js682export function createShadowNodeRevisionGetter(
LOWprivate/react-native-fantom/src/HighResTimeStampMock.js51export function installHighResTimeStampMock(): HighResTimeStampMock {
LOWprivate/react-native-fantom/src/Benchmark.js303function createBenchmarkResultsObject(
LOW…ate/react-native-fantom/src/getFantomRenderedOutput.js163function createJSXElementForTestComparison(
LOW…ate/react-native-fantom/src/getFantomRenderedOutput.js195function jsonChildrenToJSXChildren(jsonChildren: FantomJsonObject['children']) {
LOW…ntom/src/__tests__/FantomHighResTimeStampMock-itest.js20function installHighResTimeStampMock(): HighResTimeStampMock {
LOW…vate/react-native-fantom/src/__tests__/Fantom-itest.js25function getActualViewportDimensions(root: Root): {
LOWprivate/core-cli-utils/src/private/clean.js46 return async function deleteDirectoryContentsAction() {
LOWprivate/core-cli-utils/src/private/clean.js71function deleteTmpDirectoryContents(
LOWprivate/core-cli-utils/src/private/apple.js58function checkPodfileInSyncWithManifest(
LOW…/react-native-codegen-typescript-test/scripts/build.js33function generateSnapshotTestCases(
LOWscripts/releases/write-dotslash-release-asset-urls.js63async function writeReleaseAssetUrlsToDotSlashFiles(
LOWscripts/releases/write-dotslash-release-asset-urls.js75async function writeReleaseAssetUrlsToDotSlashFile(
LOWscripts/releases/write-dotslash-release-asset-urls.js131function isPreviousReleaseAssetProvider(
LOWscripts/releases/write-dotslash-release-asset-urls.js142function createReleaseAssetProvider(
LOWscripts/releases/upload-release-assets-for-dotslash.js94async function uploadReleaseAssetsForDotSlashFiles(
LOWscripts/releases/upload-release-assets-for-dotslash.js153async function uploadReleaseAssetsForDotSlashFile(
LOWscripts/releases/upload-release-assets-for-dotslash.js186async function fetchUpstreamAssetAndUploadToRelease(
LOWscripts/releases/upload-release-assets-for-dotslash.js186async function fetchUpstreamAssetAndUploadToRelease(
LOWscripts/releases/upload-release-assets-for-dotslash.js290async function maybeDeleteExistingReleaseAsset(
LOWscripts/releases/upload-release-assets-for-dotslash.js318async function fetchAndValidateUpstreamAsset(
LOWscripts/releases/upload-release-assets-for-dotslash.js347async function uploadAndVerifyReleaseAsset(
LOWscripts/releases/validate-dotslash-artifacts.js61async function validateDotSlashArtifacts() /*: Promise<void> */ {
LOWscripts/releases/set-rn-artifacts-version.js76async function updateReactNativeArtifacts(
LOWscripts/releases/utils/hermes-utils.js45async function setStableHermesForReleaseBranch() {
LOWscripts/releases/utils/hermes-utils.js61async function updateHermesCompilerVersionInDependencies(
LOWscripts/releases/utils/hermes-utils.js82async function updateHermesRuntimeDependenciesVersions(
LOWscripts/releases/utils/hermes-utils.js90async function updateHermesVersionsToPrebuilt() {
LOWscripts/releases/utils/release-utils.js57function publishAndroidArtifactsToMaven(
LOWscripts/releases/utils/release-utils.js84function publishExternalArtifactsToMaven(
LOWscripts/releases/utils/dotslash-utils.js75async function processDotSlashFileInPlace(
LOWscripts/releases/utils/dotslash-utils.js122function sanitizeFileNameComponent(
LOWscripts/releases/utils/dotslash-utils.js145async function validateAndParseDotSlashFile(
LOWscripts/releases/utils/dotslash-utils.js145async function validateAndParseDotSlashFile(
LOWscripts/releases/utils/dotslash-utils.js155async function dangerouslyResignGeneratedFile(
LOWscripts/releases/utils/dotslash-utils.js173async function validateDotSlashArtifactData(
LOWscripts/releases/utils/curl-utils.js56function getTempDirPatternForTests() /*: RegExp */ {
LOWscripts/releases/utils/npm-utils.js158function getPackageVersionStrByTag(
LOWscripts/releases/ios-prebuild/setupDependencies.js86async function runPrepareDependencyScript(
LOWscripts/js-api/build-types/buildApiSnapshot.js249async function getProcessedSnapshotResult(
LOWscripts/js-api/build-types/buildGeneratedTypes.js174function extractTripleSlashDirectives(source: string): Array<string> {
LOW…/build-types/utils/resolveCyclicImportsInDefinition.js81async function resolveCyclicImportsInDefinition(config: {
LOW…ransforms/typescript/convertTypeAliasesToInterfaces.js114function hasEmitAsInterfaceAnnotation(path: $FlowFixMe): boolean {
LOW…ypes/transforms/typescript/replaceDefaultExportName.js13function createDefaultExportNameReplacer(filePath: string): PluginObj<unknown> {
LOW…ild-types/transforms/typescript/versionExportedApis.js32function createVersionExportedApis(
LOW…es/transforms/typescript/simplifyTypes/contextStack.js103export function insideTypeAliasLayerWithTypeParam(
LOW…es/transforms/typescript/simplifyTypes/contextStack.js120export function insideUnresolvableTypeInstantiation(
LOW…ld-types/transforms/flow/replaceStringishWithString.js36async function replaceStringishWithString(
LOW…ld-types/transforms/flow/replaceRequiresWithImports.js187async function replaceRequiresWithImports(
1076 more matches not shown…
Decorative Section Separators314 hits · 920 pts
SeverityFileLineSnippet
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py40 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py42 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py86 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py88 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py151 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py153 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py184 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py186 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py235 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py237 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py256 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py258 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py271 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py273 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py322 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py324 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py341 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py343 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py377 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py379 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py16 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py18 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py120 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py122 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py285 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py287 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py16 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py18 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py77 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py79 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py176 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py178 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py250 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py252 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py383 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py385 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py483 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py485 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py628 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py630 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py654 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py656 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py324 # =========================================================================
MEDIUMscripts/cxx-api/tests/test_config.py326 # =========================================================================
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp44 // ┌────────────── (Root) ──────────────┐
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp45 // │ ┏━ A (tag: 2) ━━━━━━━━━━━━━━━━━━━┓ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp50 // │ ┃ ┏━ AA (tag: 3) ━━━━━━━━━━━━━━┓ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp58 // │ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp59 // │ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp60 // │ ┏━ B (tag: 4) ━━━━━━━━━━━━━━━━━━━┓ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp65 // │ ┃ ┏━ BA (tag: 5) ━━━━━━━━━━━━━━┓ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp70 // │ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp71 // │ ┃ ┏━ BB (tag: 6) ━━━━━━━━━━━━━━┓ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp76 // │ ┃ ┃ ┏━ BBA (tag: 7) ━━━━━━━━━┓ ┃ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp81 // │ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp82 // │ ┃ ┃ ┏━ BBB (tag: 8) ━━━━━━━━━┓ ┃ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp87 // │ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp88 // │ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp89 // │ ┃ ┏━ BC (tag: 9) ━━━━━━━━━━━━━━┓ ┃ │
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp94 // │ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ │
254 more matches not shown…
Over-Commented Block393 hits · 373 pts
SeverityFileLineSnippet
LOW…ivate/eslint-plugin-monorepo/rules/no-haste-imports.js61 }
LOWprivate/react-native-fantom/runner/bundling.js41}
LOWprivate/react-native-fantom/tester/src/NativeFantom.cpp1/*
LOW…e/react-native-fantom/tester/src/TesterAppDelegate.cpp1/*
LOW…e/react-native-fantom/tester/src/TesterAppDelegate.cpp21#include <react/featureflags/ReactNativeFeatureFlags.h>
LOWprivate/react-native-fantom/src/index.js181// Install a Fantom-specific global error handler that captures the first error
LOWscripts/validate-ios-test-env.sh1#!/bin/bash
LOWscripts/objc-test.sh1#!/bin/bash
LOWscripts/cxx-api/tests/__init__.py1# Copyright (c) Meta Platforms, Inc. and affiliates.
LOWscripts/cxx-api/parser/input_filters/__init__.py1# Copyright (c) Meta Platforms, Inc. and affiliates.
LOW…mponents/__tests__/typescript-component-parser-test.js41
LOW…n/src/generators/modules/GenerateModuleObjCpp/index.js81 * ${'@'}generated by codegen project: GenerateModuleObjCpp
LOWpackages/dev-middleware/src/inspector-proxy/Device.js101 // Stores socket connection between Inspector Proxy and device.
LOWpackages/dev-middleware/src/inspector-proxy/Device.js121 // Mapping built from scriptParsed events and used to fetch file content in `Debugger.getScriptSource`.
LOWpackages/dev-middleware/src/inspector-proxy/Device.js1001 ).href;
LOWpackages/react-native/react-native.config.js21// - @react-native/community-cli-plugin
LOWpackages/react-native/types/index.d.ts1/**
LOWpackages/react-native/types/index.d.ts21// Souvik Ghosh <https://github.com/souvik-ghosh>
LOWpackages/react-native/types/index.d.ts41// David Sheldrick <https://github.com/ds300>
LOW…ckages/react-native/sdks/hermes-engine/hermes-utils.rb21 end
LOW…t-native/sdks/hermes-engine/utils/copy-hermes-xcode.sh1#!/bin/bash
LOW…ative/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp1/*
LOW…-native/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h21
LOWpackages/react-native/ReactCommon/yoga/yoga/YGMacros.h1/*
LOWpackages/react-native/ReactCommon/yoga/yoga/YGMacros.h21
LOWpackages/react-native/ReactCommon/yoga/yoga/YGMacros.h41#if __has_include(<Foundation/Foundation.h>)
LOW…kages/react-native/ReactCommon/yoga/yoga/style/Style.h21#include <yoga/enums/Display.h>
LOW…eact-native/ReactCommon/yoga/yoga/algorithm/FlexLine.h41 // List of children which are part of the line flow. This means they are not
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1/*
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp21#include <yoga/algorithm/CalculateLayout.h>
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp941 }
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1221// * The 'order' property is not supported. The order of flex items is always
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1241// - availableWidth & availableHeight: available size to be used for sizing
LOW…t-native/ReactCommon/yoga/yoga/algorithm/PixelGrid.cpp21 // We want to calculate `fractial` such that `floor(scaledValue) = scaledValue
LOW…/react-native/ReactCommon/cxxreact/CxxNativeModule.cpp161
LOW…react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp21#include "MessageQueueThread.h"
LOWpackages/react-native/ReactCommon/cxxreact/Instance.cpp1/*
LOW…kages/react-native/ReactCommon/cxxreact/TraceSection.h21#define __RCT_INTERFACE_PUSHED
LOW…ges/react-native/ReactCommon/cxxreact/ModuleRegistry.h61 // This is used to extend the population of modulesByName_ if registerModules
LOW…s/react-native/ReactCommon/jsi/jsi/hermes-interfaces.h21namespace sampling_profiler {
LOW…s/react-native/ReactCommon/jsi/jsi/hermes-interfaces.h41 virtual void scheduleTask(const std::function<void()>& task) = 0;
LOW…s/react-native/ReactCommon/jsi/jsi/hermes-interfaces.h121 /// optimization. Hermes maintains a cached timezone offset to accelerate date
LOW…s/react-native/ReactCommon/jsi/jsi/hermes-interfaces.h161 virtual const ::hermes::vm::GCExecTrace& getGCExecTrace() const = 0;
LOW…s/react-native/ReactCommon/jsi/jsi/hermes-interfaces.h181 /// interruption and time limit monitoring if the runtime is configured with
LOW…ges/react-native/ReactCommon/jsi/jsi/instrumentation.h21/// Methods for starting and collecting instrumentation, an \c Instrumentation
LOW…ges/react-native/ReactCommon/jsi/jsi/instrumentation.h41 ///
LOW…ges/react-native/ReactCommon/jsi/jsi/instrumentation.h61 /// \param cause The cause of this collection, as it should be reported in
LOW…ges/react-native/ReactCommon/jsi/jsi/instrumentation.h81
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h1/*
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h21#ifdef _MSC_VER
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h121struct JSI_EXPORT ICast {
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h201class JSIException;
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h221/// Object with the JS runtime.
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h261// the future. Until released, these features may be subject to change. After
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h301 /// algorithm. \p transferList must be a JS Array. Given the length property
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h361 /// Prepares to evaluate the given JavaScript \c buffer by processing it into
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h381 const std::shared_ptr<const PreparedJavaScript>& js) = 0;
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h401 ///
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h421
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h621 void (*cb)(void* ctx, bool ascii, const void* data, size_t num)) = 0;
333 more matches not shown…
Hallucination Indicators22 hits · 310 pts
SeverityFileLineSnippet
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt437 assertThat(result[0]).isCloseTo(expected[0], org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt438 assertThat(result[1]).isCloseTo(expected[1], org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt439 assertThat(result[2]).isCloseTo(expected[2], org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt443 .isCloseTo(1.0, org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt508 .isCloseTo(Math.PI / 2, org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt510 .isCloseTo(Math.PI, org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt512 .isCloseTo(2 * Math.PI, org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt613 assertThat(matrix[5]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt614 assertThat(matrix[6]).isCloseTo(sin(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt615 assertThat(matrix[9]).isCloseTo(-sin(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt616 assertThat(matrix[10]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt630 assertThat(matrix[0]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt631 assertThat(matrix[2]).isCloseTo(-sin(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt632 assertThat(matrix[8]).isCloseTo(sin(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt633 assertThat(matrix[10]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt647 assertThat(matrix[0]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt648 assertThat(matrix[1]).isCloseTo(sin(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt649 assertThat(matrix[4]).isCloseTo(-sin(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt650 assertThat(matrix[5]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt665 .isCloseTo(kotlin.math.tan(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt682 .isCloseTo(kotlin.math.tan(angle), org.assertj.core.data.Offset.offset(1e-10))
CRITICAL…id/src/main/java/com/facebook/react/ReactNativeHost.kt117 com.facebook.infer.annotation.Assertions.assertNotNull(getBundleAssetName())
Synthetic Comment Markers43 hits · 288 pts
SeverityFileLineSnippet
HIGH…ive-codegen/src/generators/components/GenerateTests.js39 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…ve-codegen/src/generators/components/GeneratePropsH.js44 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…ts/GenerateThirdPartyFabricComponentsProviderObjCpp.js24 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…enerators/components/GenerateComponentDescriptorCpp.js30 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…src/generators/components/GeneratePropsJavaDelegate.js46* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…/generators/components/GenerateComponentDescriptorH.js30 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…ve-codegen/src/generators/components/GenerateStateH.js27 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…-codegen/src/generators/components/GeneratePropsCpp.js36 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…/src/generators/components/GenerateComponentHObjCpp.js131* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…-codegen/src/generators/components/GenerateStateCpp.js28 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…n/src/generators/components/GenerateEventEmitterCpp.js43 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…gen/src/generators/components/GenerateEventEmitterH.js47 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…gen/src/generators/components/GenerateShadowNodeCpp.js28 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…ponents/GenerateThirdPartyFabricComponentsProviderH.js24 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…egen/src/generators/components/GenerateViewConfigJs.js34 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…rc/generators/components/GeneratePropsJavaInterface.js43* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…degen/src/generators/components/GenerateShadowNodeH.js28 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…e-codegen/src/generators/modules/GenerateModuleJniH.js38 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…degen/src/generators/modules/GenerateModuleJavaSpec.js46 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…codegen/src/generators/modules/GenerateModuleJniCpp.js119 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…tive-codegen/src/generators/modules/GenerateModuleH.js204 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…n/src/generators/modules/GenerateModuleObjCpp/index.js76 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…n/src/generators/modules/GenerateModuleObjCpp/index.js125 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…sks/GenerateAutolinkingNewArchitecturesFileTaskTest.kt123 # This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin)
HIGH…sks/GenerateAutolinkingNewArchitecturesFileTaskTest.kt148 # This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin)
HIGH…sks/GenerateAutolinkingNewArchitecturesFileTaskTest.kt191 * This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin).
HIGH…sks/GenerateAutolinkingNewArchitecturesFileTaskTest.kt236 * This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin).
HIGH…t/tasks/GenerateAutolinkingNewArchitecturesFileTask.kt176 # This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin)
HIGH…t/tasks/GenerateAutolinkingNewArchitecturesFileTask.kt194 * This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin).
HIGH…t/tasks/GenerateAutolinkingNewArchitecturesFileTask.kt231 * This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin).
HIGH…act/viewmanagers/AndroidPopupMenuManagerInterface.java2* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…eact/viewmanagers/AndroidPopupMenuManagerDelegate.java2* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…roid/android/src/main/jni/ReactPopupMenuAndroidSpecs.h3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…/src/main/jni/ReactPopupMenuAndroidSpecs-generated.cpp3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…/components/ReactPopupMenuAndroidSpecs/ShadowNodes.cpp3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…renderer/components/ReactPopupMenuAndroidSpecs/Props.h3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…nderer/components/ReactPopupMenuAndroidSpecs/Props.cpp3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…ents/ReactPopupMenuAndroidSpecs/ComponentDescriptors.h3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…er/components/ReactPopupMenuAndroidSpecs/ShadowNodes.h3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…/components/ReactPopupMenuAndroidSpecs/EventEmitters.h3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…enderer/components/ReactPopupMenuAndroidSpecs/States.h2 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…omponents/ReactPopupMenuAndroidSpecs/EventEmitters.cpp3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
HIGH…derer/components/ReactPopupMenuAndroidSpecs/States.cpp3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
Unused Imports73 hits · 72 pts
SeverityFileLineSnippet
LOWscripts/cxx-api/tests/test_input_filters.py6
LOW…ripts/cxx-api/tests/test_excluded_symbol_references.py6
LOWscripts/cxx-api/tests/test_snapshots.py6
LOWscripts/cxx-api/parser/builders.py14
LOWscripts/cxx-api/parser/__init__.py6
LOWscripts/cxx-api/parser/__init__.py7
LOWscripts/cxx-api/parser/main.py10
LOWscripts/cxx-api/parser/snapshot.py6
LOWscripts/cxx-api/parser/member/typedef_member.py6
LOWscripts/cxx-api/parser/member/enum_member.py6
LOWscripts/cxx-api/parser/member/property_member.py6
LOWscripts/cxx-api/parser/member/variable_member.py6
LOWscripts/cxx-api/parser/member/__init__.py6
LOWscripts/cxx-api/parser/member/__init__.py6
LOWscripts/cxx-api/parser/member/__init__.py6
LOWscripts/cxx-api/parser/member/__init__.py7
LOWscripts/cxx-api/parser/member/__init__.py8
LOWscripts/cxx-api/parser/member/__init__.py9
LOWscripts/cxx-api/parser/member/__init__.py10
LOWscripts/cxx-api/parser/member/__init__.py11
LOWscripts/cxx-api/parser/member/__init__.py12
LOWscripts/cxx-api/parser/member/__init__.py13
LOWscripts/cxx-api/parser/member/friend_member.py6
LOWscripts/cxx-api/parser/member/base.py6
LOWscripts/cxx-api/parser/member/concept_member.py6
LOWscripts/cxx-api/parser/member/function_member.py6
LOWscripts/cxx-api/parser/utils/argument_parsing.py6
LOWscripts/cxx-api/parser/utils/qualified_path.py6
LOWscripts/cxx-api/parser/utils/text_resolution.py10
LOWscripts/cxx-api/parser/utils/__init__.py6
LOWscripts/cxx-api/parser/utils/__init__.py6
LOWscripts/cxx-api/parser/utils/__init__.py6
LOWscripts/cxx-api/parser/utils/__init__.py6
LOWscripts/cxx-api/parser/utils/__init__.py6
LOWscripts/cxx-api/parser/utils/__init__.py6
LOWscripts/cxx-api/parser/utils/__init__.py6
LOWscripts/cxx-api/parser/utils/__init__.py6
LOWscripts/cxx-api/parser/utils/__init__.py6
LOWscripts/cxx-api/parser/utils/__init__.py6
LOWscripts/cxx-api/parser/utils/__init__.py18
LOWscripts/cxx-api/parser/utils/__init__.py19
LOWscripts/cxx-api/parser/utils/__init__.py19
LOWscripts/cxx-api/parser/utils/__init__.py19
LOWscripts/cxx-api/parser/utils/__init__.py19
LOWscripts/cxx-api/parser/utils/__init__.py19
LOWscripts/cxx-api/parser/utils/__init__.py26
LOWscripts/cxx-api/parser/utils/__init__.py26
LOWscripts/cxx-api/parser/utils/__init__.py26
LOWscripts/cxx-api/parser/utils/type_qualification.py6
LOWscripts/cxx-api/parser/scope/__init__.py6
LOWscripts/cxx-api/parser/scope/__init__.py6
LOWscripts/cxx-api/parser/scope/__init__.py7
LOWscripts/cxx-api/parser/scope/__init__.py8
LOWscripts/cxx-api/parser/scope/__init__.py9
LOWscripts/cxx-api/parser/scope/__init__.py10
LOWscripts/cxx-api/parser/scope/__init__.py11
LOWscripts/cxx-api/parser/scope/__init__.py12
LOWscripts/cxx-api/parser/scope/__init__.py13
LOWscripts/cxx-api/parser/scope/__init__.py14
LOWscripts/cxx-api/parser/scope/extendable.py6
13 more matches not shown…
Verbosity Indicators39 hits · 61 pts
SeverityFileLineSnippet
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp305 // Step 1: Request will be sent
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp327 // Step 2: Connection timing
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp337 // Step 3: Response received
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp362 // Step 4: Data received (multiple chunks)
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp381 // Step 5: Loading finished
LOW…ReactCommon/react/renderer/mounting/Differentiator.cpp435 // Step 1: iterate through entire tree
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1065 // Step 1: gather all animations driven by events.
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1077 // Step 2: update all nodes that are connected to the finished
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1158 // Step 1: gather all animations driven by events.
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1170 // Step 2: update all nodes that are connected to the finished
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1176 // Step 3: commit the changes to the UI.
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp48 // Step 1: Build the Nodes graph
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp106 // Step 2: Update backgroundColor
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp135 // Step 3: Update opacity
LOW…react/renderer/uimanager/UIManagerUpdateShadowTree.cpp108 // Step 1: Create a list of shadow nodes to update
LOW…react/renderer/uimanager/UIManagerUpdateShadowTree.cpp156 // Step 2: Clone nodes from children to ancestors
LOW…react/renderer/uimanager/UIManagerUpdateShadowTree.cpp212 // Step 3: Commit ShadowTree
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js51 // Step 1: Validate environment
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js89 // Step 2: Setup Hermes repo
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js99 // Step 3: Get version from Hermes
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js116 // Step 4: Trigger GitHub workflow
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js136 // Step 5: Update RN repo and create commit
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js157 // Step 6: Bump Hermes version for next release (PR)
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js166 // Step 7: Bump RN main (PR)
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js212 // Step 8: Return to stable branch and show summary
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1487 // Step 1: Destroy DevSupportManager
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1499 // Step 2: Move React Native to onHostDestroy()
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1512 // Step 3: Stop all React Native surfaces
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1532 // Step 4: De-register the memory pressure listener
LOW…a/com/facebook/react/views/modal/ReactModalHostView.kt557 // The goal is to compile-out UIManagerModule from the following code block:
LOW…n/java/com/facebook/react/uimanager/style/ColorStop.kt80 // Step 1:
LOW…n/java/com/facebook/react/uimanager/style/ColorStop.kt92 // Step 2:
LOW…n/java/com/facebook/react/uimanager/style/ColorStop.kt106 // Step 3:
LOW…gerInterop/RCTLegacyViewManagerInteropComponentView.mm106 // Step 1: check if ViewManager with specified name is supported.
LOW…gerInterop/RCTLegacyViewManagerInteropComponentView.mm113 // Step 2: check if component has supported prefix.
LOW…gerInterop/RCTLegacyViewManagerInteropComponentView.mm120 // Step 3: check if the module has been registered
LOW…es/react-native/React/Fabric/Utils/RCTGradientUtils.mm286 // Step 1:
LOW…es/react-native/React/Fabric/Utils/RCTGradientUtils.mm297 // Step 2:
LOW…es/react-native/React/Fabric/Utils/RCTGradientUtils.mm311 // Step 3:
Fake / Example Data45 hits · 46 pts
SeverityFileLineSnippet
LOW…/react/modules/network/ProgressiveStringDecoderTest.kt19 """Lorem ipsum dolor sit amet, ea ius viris laoreet gloriatur, ea enim illud mel. Ea eligendi erroribus inciderint
LOW…/react/modules/network/ProgressiveStringDecoderTest.kt19 """Lorem ipsum dolor sit amet, ea ius viris laoreet gloriatur, ea enim illud mel. Ea eligendi erroribus inciderint
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm52// ││ │ Lorem ipsum dolor sit amet, consectetur │ │ │
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm52// ││ │ Lorem ipsum dolor sit amet, consectetur │ │ │
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm66// ││ │ Lorem ipsum │ │ │
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm69// ││ │ dolor sit amet, consectetur adipiscing elit. │ │ │
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm348 @"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bibendum volutpat. Null
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm348 @"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bibendum volutpat. Null
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm353 @"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bibendum volutpat. Null
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm353 @"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bibendum volutpat. Null
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm237 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bi
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm237 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bi
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm280 props.text = "Lorem ipsum";
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm293 " dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bibendum volu
LOWpackages/rn-tester/js/components/ListExampleShared.js223 'Lorem ipsum dolor sit amet, ius ad pertinax oportere accommodare, an vix \
LOWpackages/rn-tester/js/components/ListExampleShared.js223 'Lorem ipsum dolor sit amet, ius ad pertinax oportere accommodare, an vix \
LOW…ester/js/examples/TextInput/TextInputSharedExamples.js1220 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…ester/js/examples/TextInput/TextInputSharedExamples.js1220 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…ver/VisualCompletionExample/VisualCompletionExample.js185 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas facilisis feugiat ipsum, non placerat nulla. Vestib
LOW…ver/VisualCompletionExample/VisualCompletionExample.js185 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas facilisis feugiat ipsum, non placerat nulla. Vestib
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1185 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1185 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1206 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1206 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1212 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1212 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1710 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1710 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1729 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1729 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…kages/rn-tester/js/examples/Text/TextSharedExamples.js96 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin volutpat
LOW…kages/rn-tester/js/examples/Text/TextSharedExamples.js96 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin volutpat
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js336 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js336 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js355 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js355 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js361 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js361 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1136 Lorem ipsum dolor sit amet,{' '}
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1136 Lorem ipsum dolor sit amet,{' '}
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1575 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1575 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1594 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1594 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
LOW…/examples/Accessibility/AccessibilityAndroidExample.js70 <RNTesterText>Dolor sit amet{'\n'}</RNTesterText>
AI Slop Vocabulary14 hits · 40 pts
SeverityFileLineSnippet
MEDIUM…ges/dev-middleware/src/utils/getDevToolsFrontendUrl.js76 // server are colocated. This is more robust for cases where the frontend
MEDIUM…ommon/react/renderer/uimanager/PointerHoverTracker.cpp22 // leverage it to get the event path list at the moment the event occurred
MEDIUM…ommon/react/renderer/uimanager/PointerHoverTracker.cpp81 // robust diffing solution.
MEDIUM…ages/react-native/Libraries/StyleSheet/processColor.js51 // We utilize the fact that bitwise operations in JS also operates on
LOW…ative/scripts/cocoapods/__tests__/test_utils/podSpy.rb9# To use this file, just add `require_relative "path/to/podSpy.rb"` to your test file.
MEDIUM…cebook/react/fabric/mounting/SurfaceMountingManager.kt473 // backwards-compatibility. Essentially, if a view has already been removed from the
MEDIUM…book/react/views/scroll/ReactHorizontalScrollView.java506 // Essentially, if the height changes (due to keyboard popping up, for instance) the
MEDIUM…book/react/views/scroll/ReactHorizontalScrollView.java683 // current view first to bail out of recursion. Essentially if there's any
MEDIUM…/java/com/facebook/react/views/text/ReactTextView.java181 // before we are laid out. This ordering is a requirement because we utilize the data from
MEDIUM…es/react-native/React/Views/ScrollView/RCTScrollView.m973// maintainVisibleContentPosition is used to allow seamless loading of content from both ends of
MEDIUM…s/idlecallbacks/__tests__/requestIdleCallback-itest.js95 // than baking in the 50 ms budget) so the assertion is robust against
MEDIUMpackages/eslint-plugin-specs/react-native-modules.js32 // If using this externally, we leverage @react-native/codegen as published form
MEDIUM…er/RNTesterIntegrationTests/RNTesterIntegrationTests.m41#pragma mark - Test harness
MEDIUMpackages/jest-preset/jest/assetFileTransformer.js28 // the correct images are loaded for components. Essentially
Deep Nesting19 hits · 19 pts
SeverityFileLineSnippet
LOWscripts/cxx-api/parser/builders.py206
LOWscripts/cxx-api/parser/builders.py303
LOWscripts/cxx-api/parser/builders.py570
LOWscripts/cxx-api/parser/builders.py646
LOWscripts/cxx-api/parser/builders.py834
LOWscripts/cxx-api/parser/main.py49
LOWscripts/cxx-api/parser/main.py239
LOWscripts/cxx-api/parser/main.py391
LOWscripts/cxx-api/parser/__main__.py145
LOWscripts/cxx-api/parser/utils/argument_parsing.py62
LOWscripts/cxx-api/parser/utils/argument_parsing.py119
LOWscripts/cxx-api/parser/utils/argument_parsing.py140
LOWscripts/cxx-api/parser/utils/argument_parsing.py349
LOWscripts/cxx-api/parser/utils/argument_parsing.py483
LOWscripts/cxx-api/parser/utils/qualified_path.py11
LOWscripts/cxx-api/parser/utils/text_resolution.py146
LOWscripts/cxx-api/parser/utils/type_qualification.py57
LOWscripts/cxx-api/parser/scope/struct_like_scope_kind.py48
LOWscripts/cxx-api/parser/scope/scope.py57
Redundant / Tautological Comments12 hits · 18 pts
SeverityFileLineSnippet
LOWscripts/cxx-api/parser/builders.py229 # Check if this is an unnamed template parameter
LOWscripts/cxx-api/parser/main.py152 # Check if this is an Objective-C interface by looking at the compound id
LOWscripts/cxx-api/parser/member/concept_member.py71 # Check if no line is indented
LOWscripts/cxx-api/parser/utils/argument_parsing.py525 # Check if this is a declarator like (*) or (&) — don't parse those
LOWscripts/cxx-api/parser/scope/scope.py75 # Check if it's an inner scope
LOWscripts/cxx-api/parser/scope/scope.py87 # Check if it's a member (type alias, variable, etc.)
LOWpackages/react-native/scripts/cocoapods/rncore.rb297 # Check if it's a valid dSYM bundle with Info.plist
LOWpackages/react-native/scripts/cocoapods/rncore.rb596 # Check if VFS overlay is already present
LOW…ges/react-native/scripts/cocoapods/new_architecture.rb187 # Read the file as a plist
LOW…ges/react-native/scripts/cocoapods/new_architecture.rb194 # Check if it contains the RCTNewArchEnabled key
LOW…act-native/scripts/cocoapods/privacy_manifest_utils.rb72 # Check if the file is already in the PBXBuildFile section
LOW…act-native/scripts/cocoapods/privacy_manifest_utils.rb76 # Check if the file is already in the PBXFileReference section
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippet
MEDIUMpackages/react-native/scripts/ios-configure-glog.sh107# Create a custom module.modulemap that works with Swift C++ interop
MEDIUMpackages/react-native/scripts/find-node-for-xcode.sh17# This file is deprecated and will be removed in a future release in favor of something
MEDIUMpackages/react-native/scripts/react_native_pods.rb313# This function is used by podspecs that needs to use the prebuilt sources for React Native.
MEDIUM…ative/scripts/cocoapods/__tests__/test_utils/podSpy.rb6# This file contains the utilities required to mock properly the
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippet
LOW…act-native/Libraries/Components/StatusBar/StatusBar.js239 * // Don't forget to call `popStackEntry` when you're done.
MEDIUM…cripts/cocoapods/__tests__/test_utils/InstallerMock.rb33# To access the target's list, for example, you can use the following line:
LOW…ponentViews/ScrollView/RCTVirtualViewContainerState.mm28 va_end(args); // Don't forget to call va_end to clean up
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippet
LOW…-native/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h41// Example usage:
LOW…/Libraries/Components/RefreshControl/RefreshControl.js88 * ### Usage example
LOW…eact/Fabric/Mounting/RCTMountingTransactionObserving.h32 * # How to use
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippet
LOWscripts/cxx-api/parser/__main__.py206 except Exception as e:
LOWscripts/cxx-api/parser/input_filters/main.py41 except Exception as e:
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOW…es/Animated/__tests__/AnimatedBackendSuspense-itest.js37 async function getData(key: string): Promise<string> {