Repository Analysis

react/react-native

A framework for building native applications using React

3.9 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of react/react-native, a C++ project with 126,442 GitHub stars. SynthScan v2.0 examined 963,305 lines of code across 6338 source files, recording 2447 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 3.9 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

3.9
Adjusted Score
3.9
Raw Score
100%
Time Factor
2026-08-28
Last Push
126.4K
Stars
C++
Language
963.3K
Lines of Code
6.3K
Files
2.4K
Pattern Hits
2026-08-29
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 22HIGH 46MEDIUM 391LOW 1988

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 2447 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers1241 hits · 1137 pts
SeverityFileLineSnippetContext
LOWCHANGELOG-0.7x.md1433- **runtime** Fixes typo of function callFunctionOnBufferedRumtimeExecutor ([4e12c2e37c](https://github.com/facebook/reCODE
LOW…ivate/react-native-fantom/runner/EnvironmentOptions.js94export function validateEnvironmentVariables(): void {CODE
LOW…ate/react-native-fantom/runner/getFantomTestConfigs.js435function getConfigurationVariations(CODE
LOWprivate/react-native-fantom/runner/runner.js94async function processRNTesterCommandResult(CODE
LOWprivate/react-native-fantom/runner/paths.js75export function buildJSHeapSnapshotsOutputPathTemplate({CODE
LOWprivate/react-native-fantom/runner/utils.js261export function getDebugInfoFromCommandResult(CODE
LOWprivate/react-native-fantom/runner/snapshotUtils.js161function formatSnapshotAsTemplateLiteral(CODE
LOWprivate/react-native-fantom/runner/snapshotUtils.js236export function saveInlineSnapshotsToSource(CODE
LOW…ivate/react-native-fantom/runner/formatFantomConfig.js83function formatFantomHermesVariant(hermesVariant: HermesVariant): string {CODE
LOWprivate/react-native-fantom/runtime/setup.js420function validateEmptyMessageQueue(): void {CODE
LOWprivate/react-native-fantom/src/index.js668export function createShadowNodeReferenceCounter(CODE
LOWprivate/react-native-fantom/src/index.js682export function createShadowNodeRevisionGetter(CODE
LOWprivate/react-native-fantom/src/HighResTimeStampMock.js51export function installHighResTimeStampMock(): HighResTimeStampMock {CODE
LOWprivate/react-native-fantom/src/Benchmark.js302function createBenchmarkResultsObject(CODE
LOW…ate/react-native-fantom/src/getFantomRenderedOutput.js163function createJSXElementForTestComparison(CODE
LOW…ate/react-native-fantom/src/getFantomRenderedOutput.js195function jsonChildrenToJSXChildren(jsonChildren: FantomJsonObject['children']) {CODE
LOW…ntom/src/__tests__/FantomHighResTimeStampMock-itest.js20function installHighResTimeStampMock(): HighResTimeStampMock {CODE
LOW…vate/react-native-fantom/src/__tests__/Fantom-itest.js25function getActualViewportDimensions(root: Root): {CODE
LOWprivate/core-cli-utils/src/private/clean.js46 return async function deleteDirectoryContentsAction() {CODE
LOWprivate/core-cli-utils/src/private/clean.js71function deleteTmpDirectoryContents(CODE
LOWprivate/core-cli-utils/src/private/apple.js58function checkPodfileInSyncWithManifest(CODE
LOW…/react-native-codegen-typescript-test/scripts/build.js33function generateSnapshotTestCases(CODE
LOWscripts/releases/write-dotslash-release-asset-urls.js63async function writeReleaseAssetUrlsToDotSlashFiles(CODE
LOWscripts/releases/write-dotslash-release-asset-urls.js75async function writeReleaseAssetUrlsToDotSlashFile(CODE
LOWscripts/releases/write-dotslash-release-asset-urls.js131function isPreviousReleaseAssetProvider(CODE
LOWscripts/releases/write-dotslash-release-asset-urls.js142function createReleaseAssetProvider(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js98async function uploadReleaseAssetsForDotSlashFiles(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js157async function uploadReleaseAssetsForDotSlashFile(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js190async function fetchUpstreamAssetAndUploadToRelease(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js190async function fetchUpstreamAssetAndUploadToRelease(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js294async function maybeDeleteExistingReleaseAsset(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js322async function fetchAndValidateUpstreamAsset(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js351async function uploadAndVerifyReleaseAsset(CODE
LOWscripts/releases/validate-dotslash-artifacts.js61async function validateDotSlashArtifacts() /*: Promise<void> */ {CODE
LOWscripts/releases/set-rn-artifacts-version.js76async function updateReactNativeArtifacts(CODE
LOWscripts/releases/utils/hermes-utils.js45async function setStableHermesForReleaseBranch() {CODE
LOWscripts/releases/utils/hermes-utils.js61async function updateHermesCompilerVersionInDependencies(CODE
LOWscripts/releases/utils/hermes-utils.js82async function updateHermesRuntimeDependenciesVersions(CODE
LOWscripts/releases/utils/hermes-utils.js90async function updateHermesVersionsToPrebuilt() {CODE
LOWscripts/releases/utils/release-utils.js57function publishAndroidArtifactsToMaven(CODE
LOWscripts/releases/utils/release-utils.js84function publishExternalArtifactsToMaven(CODE
LOWscripts/releases/utils/dotslash-utils.js77async function processDotSlashFileInPlace(CODE
LOWscripts/releases/utils/dotslash-utils.js124function sanitizeFileNameComponent(CODE
LOWscripts/releases/utils/dotslash-utils.js147async function validateAndParseDotSlashFile(CODE
LOWscripts/releases/utils/dotslash-utils.js147async function validateAndParseDotSlashFile(CODE
LOWscripts/releases/utils/dotslash-utils.js157async function dangerouslyResignGeneratedFile(CODE
LOWscripts/releases/utils/dotslash-utils.js175async function validateDotSlashArtifactData(CODE
LOWscripts/releases/utils/curl-utils.js56function getTempDirPatternForTests() /*: RegExp */ {CODE
LOWscripts/releases/utils/npm-utils.js158function getPackageVersionStrByTag(CODE
LOWscripts/releases/ios-prebuild/setupDependencies.js86async function runPrepareDependencyScript(CODE
LOWscripts/js-api/build-types/buildApiSnapshot.js249async function getProcessedSnapshotResult(CODE
LOWscripts/js-api/build-types/buildGeneratedTypes.js158function extractTripleSlashDirectives(source: string): Array<string> {CODE
LOW…/build-types/utils/resolveCyclicImportsInDefinition.js81async function resolveCyclicImportsInDefinition(config: {CODE
LOW…ypes/transforms/typescript/replaceDefaultExportName.js13function createDefaultExportNameReplacer(filePath: string): PluginObj<unknown> {CODE
LOW…ild-types/transforms/typescript/versionExportedApis.js37function createVersionExportedApis(CODE
LOW…es/transforms/typescript/simplifyTypes/contextStack.js103export function insideTypeAliasLayerWithTypeParam(CODE
LOW…es/transforms/typescript/simplifyTypes/contextStack.js120export function insideUnresolvableTypeInstantiation(CODE
LOW…ld-types/transforms/flow/replaceStringishWithString.js36async function replaceStringishWithString(CODE
LOW…ld-types/transforms/flow/replaceRequiresWithImports.js187async function replaceRequiresWithImports(CODE
LOW…nsforms/flow/replaceNullablePropertiesWithUndefined.js18function isInsideObjectTypeProperty(node: TypeAnnotationType) {CODE
1181 more matches not shown…
Decorative Section Separators324 hits · 950 pts
SeverityFileLineSnippetContext
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py40 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py42 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py86 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py88 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py151 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py153 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py184 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py186 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py235 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py237 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py256 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py258 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py271 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py273 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py322 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py324 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py341 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py343 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py377 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py379 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py16 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py18 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py120 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py122 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py285 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_parse_arg_string.py287 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py16 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py18 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py77 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py79 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py176 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py178 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py250 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py252 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py383 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py385 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py483 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py485 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py628 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py630 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py654 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py656 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py324 # =========================================================================COMMENT
MEDIUMscripts/cxx-api/tests/test_config.py326 # =========================================================================COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp44 // ┌────────────── (Root) ──────────────┐COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp45 // │ ┏━ A (tag: 2) ━━━━━━━━━━━━━━━━━━━┓ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp50 // │ ┃ ┏━ AA (tag: 3) ━━━━━━━━━━━━━━┓ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp58 // │ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp59 // │ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp60 // │ ┏━ B (tag: 4) ━━━━━━━━━━━━━━━━━━━┓ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp65 // │ ┃ ┏━ BA (tag: 5) ━━━━━━━━━━━━━━┓ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp70 // │ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp71 // │ ┃ ┏━ BB (tag: 6) ━━━━━━━━━━━━━━┓ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp76 // │ ┃ ┃ ┏━ BBA (tag: 7) ━━━━━━━━━┓ ┃ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp81 // │ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp82 // │ ┃ ┃ ┏━ BBB (tag: 8) ━━━━━━━━━┓ ┃ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp87 // │ ┃ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp88 // │ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp89 // │ ┃ ┏━ BC (tag: 9) ━━━━━━━━━━━━━━┓ ┃ │COMMENT
MEDIUM…/react/renderer/mounting/tests/StackingContextTest.cpp94 // │ ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ ┃ │COMMENT
264 more matches not shown…
Over-Commented Block484 hits · 460 pts
SeverityFileLineSnippetContext
LOW…ivate/eslint-plugin-monorepo/rules/no-haste-imports.js61 }COMMENT
LOWprivate/react-native-fantom/runner/bundling.js41}COMMENT
LOWprivate/react-native-fantom/runner/utils.js121 '-c',COMMENT
LOWprivate/react-native-fantom/tester/src/NativeFantom.cpp1/*COMMENT
LOW…e/react-native-fantom/tester/src/TesterAppDelegate.cpp1/*COMMENT
LOW…e/react-native-fantom/tester/src/TesterAppDelegate.cpp21#include <jsi/jsi.h>COMMENT
LOWprivate/react-native-fantom/src/index.js181// Install a Fantom-specific global error handler that captures the first errorCOMMENT
LOWscripts/validate-ios-test-env.sh1#!/bin/bashCOMMENT
LOWscripts/objc-test.sh1#!/bin/bashCOMMENT
LOWscripts/cxx-api/tests/__init__.py1# Copyright (c) Meta Platforms, Inc. and affiliates.COMMENT
LOWscripts/cxx-api/parser/input_filters/__init__.py1# Copyright (c) Meta Platforms, Inc. and affiliates.COMMENT
LOW…mponents/__tests__/typescript-component-parser-test.js41COMMENT
LOW…s/react-native-codegen/src/generators/modules/Utils.js81// Platform-native (Java/Kotlin and ObjC) TurboModules copy ArrayBufferCOMMENT
LOW…n/src/generators/modules/GenerateModuleObjCpp/index.js81 * ${'@'}generated by codegen project: GenerateModuleObjCppCOMMENT
LOWpackages/dev-middleware/src/inspector-proxy/Device.js101 // Stores socket connection between Inspector Proxy and device.COMMENT
LOWpackages/dev-middleware/src/inspector-proxy/Device.js121 // Mapping built from scriptParsed events and used to fetch file content in `Debugger.getScriptSource`.COMMENT
LOWpackages/dev-middleware/src/inspector-proxy/Device.js1001 ).href;COMMENT
LOWpackages/react-native/react-native.config.js21// may (temporarily) be imported and registered here.COMMENT
LOW…ckages/react-native/sdks/hermes-engine/hermes-utils.rb41# - To force a build from source, install the dependencies with:COMMENT
LOW…ckages/react-native/sdks/hermes-engine/hermes-utils.rb341 return destination_pathCOMMENT
LOW…t-native/sdks/hermes-engine/utils/copy-hermes-xcode.sh1#!/bin/bashCOMMENT
LOWpackages/react-native/types_DEPRECATED/index.d.ts1/**COMMENT
LOWpackages/react-native/types_DEPRECATED/index.d.ts21// Souvik Ghosh <https://github.com/souvik-ghosh>COMMENT
LOWpackages/react-native/types_DEPRECATED/index.d.ts41// David Sheldrick <https://github.com/ds300>COMMENT
LOW…ative/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp1/*COMMENT
LOW…-native/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h1/*COMMENT
LOW…-native/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h21COMMENT
LOW…-native/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h41// moved for async execution.COMMENT
LOWpackages/react-native/ReactCommon/yoga/yoga/YGMacros.h1/*COMMENT
LOWpackages/react-native/ReactCommon/yoga/yoga/YGMacros.h21COMMENT
LOWpackages/react-native/ReactCommon/yoga/yoga/YGMacros.h41#if __has_include(<Foundation/Foundation.h>)COMMENT
LOW…kages/react-native/ReactCommon/yoga/yoga/style/Style.h21#include <yoga/enums/Display.h>COMMENT
LOW…eact-native/ReactCommon/yoga/yoga/algorithm/FlexLine.h41 // List of children which are part of the line flow. This means they are notCOMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1/*COMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp21#include <yoga/algorithm/BoundAxis.h>COMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp821 (child->getLayout().computedFlexBasis.unwrap() +COMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp841// respond with longest-word width; image/collection-like measuresCOMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1361//COMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1641 }COMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1661//COMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1681// - heightSizingMode: indicates the sizing rules for the height (see belowCOMMENT
LOW…t-native/ReactCommon/yoga/yoga/algorithm/PixelGrid.cpp21 // We want to calculate `fractial` such that `floor(scaledValue) = scaledValueCOMMENT
LOW…/react-native/ReactCommon/cxxreact/CxxNativeModule.cpp161COMMENT
LOW…react-native/ReactCommon/cxxreact/NativeToJsBridge.cpp21#include "MessageQueueThread.h"COMMENT
LOWpackages/react-native/ReactCommon/cxxreact/Instance.cpp1/*COMMENT
LOW…kages/react-native/ReactCommon/cxxreact/TraceSection.h21#define __RCT_INTERFACE_PUSHEDCOMMENT
LOW…ges/react-native/ReactCommon/cxxreact/ModuleRegistry.h61 // This is used to extend the population of modulesByName_ if registerModulesCOMMENT
LOW…s/react-native/ReactCommon/jsi/jsi/hermes-interfaces.h41 /// Used by the caller (the Runtime) to register a new source that canCOMMENT
LOW…s/react-native/ReactCommon/jsi/jsi/hermes-interfaces.h121 /// changes to the system timezone. When the system timezone changes, theCOMMENT
LOW…s/react-native/ReactCommon/jsi/jsi/hermes-interfaces.h161 /// Get IO tracking (aka HBC page access) info as a JSON string.COMMENT
LOW…s/react-native/ReactCommon/jsi/jsi/hermes-interfaces.h181 /// be taken to ensure that it is compiled in a mode that supports it (i.e.,COMMENT
LOW…ges/react-native/ReactCommon/jsi/jsi/instrumentation.h21/// Methods for starting and collecting instrumentation, an \c InstrumentationCOMMENT
LOW…ges/react-native/ReactCommon/jsi/jsi/instrumentation.h41 ///COMMENT
LOW…ges/react-native/ReactCommon/jsi/jsi/instrumentation.h61 /// \param cause The cause of this collection, as it should be reported inCOMMENT
LOW…ges/react-native/ReactCommon/jsi/jsi/instrumentation.h81COMMENT
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h1/*COMMENT
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h21#ifdef _MSC_VERCOMMENT
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h121struct JSI_EXPORT ICast {COMMENT
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h201class JSIException;COMMENT
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h221/// Object with the JS runtime.COMMENT
424 more matches not shown…
Hallucination Indicators22 hits · 310 pts
SeverityFileLineSnippetContext
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt425 assertThat(result[0]).isCloseTo(expected[0], org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt426 assertThat(result[1]).isCloseTo(expected[1], org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt427 assertThat(result[2]).isCloseTo(expected[2], org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt431 .isCloseTo(1.0, org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt496 .isCloseTo(Math.PI / 2, org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt498 .isCloseTo(Math.PI, org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt500 .isCloseTo(2 * Math.PI, org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt601 assertThat(matrix[5]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt602 assertThat(matrix[6]).isCloseTo(sin(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt603 assertThat(matrix[9]).isCloseTo(-sin(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt604 assertThat(matrix[10]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt618 assertThat(matrix[0]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt619 assertThat(matrix[2]).isCloseTo(-sin(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt620 assertThat(matrix[8]).isCloseTo(sin(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt621 assertThat(matrix[10]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt635 assertThat(matrix[0]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt636 assertThat(matrix[1]).isCloseTo(sin(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt637 assertThat(matrix[4]).isCloseTo(-sin(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt638 assertThat(matrix[5]).isCloseTo(cos(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt653 .isCloseTo(kotlin.math.tan(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…a/com/facebook/react/uimanager/MatrixMathHelperTest.kt670 .isCloseTo(kotlin.math.tan(angle), org.assertj.core.data.Offset.offset(1e-10))CODE
CRITICAL…id/src/main/java/com/facebook/react/ReactNativeHost.kt117 com.facebook.infer.annotation.Assertions.assertNotNull(getBundleAssetName()),CODE
Synthetic Comment Markers43 hits · 288 pts
SeverityFileLineSnippetContext
HIGH…ive-codegen/src/generators/components/GenerateTests.js39 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…ve-codegen/src/generators/components/GeneratePropsH.js44 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…ts/GenerateThirdPartyFabricComponentsProviderObjCpp.js24 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…enerators/components/GenerateComponentDescriptorCpp.js30 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…src/generators/components/GeneratePropsJavaDelegate.js46* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…/generators/components/GenerateComponentDescriptorH.js30 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…ve-codegen/src/generators/components/GenerateStateH.js27 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…-codegen/src/generators/components/GeneratePropsCpp.js36 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…/src/generators/components/GenerateComponentHObjCpp.js131* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…-codegen/src/generators/components/GenerateStateCpp.js28 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…n/src/generators/components/GenerateEventEmitterCpp.js43 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…gen/src/generators/components/GenerateEventEmitterH.js47 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…gen/src/generators/components/GenerateShadowNodeCpp.js28 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…ponents/GenerateThirdPartyFabricComponentsProviderH.js24 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…egen/src/generators/components/GenerateViewConfigJs.js39 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…rc/generators/components/GeneratePropsJavaInterface.js43* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…degen/src/generators/components/GenerateShadowNodeH.js28 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…e-codegen/src/generators/modules/GenerateModuleJniH.js38 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…degen/src/generators/modules/GenerateModuleJavaSpec.js51 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…codegen/src/generators/modules/GenerateModuleJniCpp.js124 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…tive-codegen/src/generators/modules/GenerateModuleH.js205 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…n/src/generators/modules/GenerateModuleObjCpp/index.js76 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…n/src/generators/modules/GenerateModuleObjCpp/index.js126 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…sks/GenerateAutolinkingNewArchitecturesFileTaskTest.kt197 # This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin)STRING
HIGH…sks/GenerateAutolinkingNewArchitecturesFileTaskTest.kt222 # This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin)STRING
HIGH…sks/GenerateAutolinkingNewArchitecturesFileTaskTest.kt391 * This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin).STRING
HIGH…sks/GenerateAutolinkingNewArchitecturesFileTaskTest.kt436 * This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin).STRING
HIGH…t/tasks/GenerateAutolinkingNewArchitecturesFileTask.kt203 # This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin)STRING
HIGH…t/tasks/GenerateAutolinkingNewArchitecturesFileTask.kt221 * This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin).STRING
HIGH…t/tasks/GenerateAutolinkingNewArchitecturesFileTask.kt258 * This code was generated by [React Native](https://www.npmjs.com/package/@react-native/gradle-plugin).STRING
HIGH…act/viewmanagers/AndroidPopupMenuManagerInterface.java2* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…eact/viewmanagers/AndroidPopupMenuManagerDelegate.java2* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…roid/android/src/main/jni/ReactPopupMenuAndroidSpecs.h3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…/src/main/jni/ReactPopupMenuAndroidSpecs-generated.cpp3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…/components/ReactPopupMenuAndroidSpecs/ShadowNodes.cpp3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…renderer/components/ReactPopupMenuAndroidSpecs/Props.h3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…nderer/components/ReactPopupMenuAndroidSpecs/Props.cpp3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…ents/ReactPopupMenuAndroidSpecs/ComponentDescriptors.h3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…er/components/ReactPopupMenuAndroidSpecs/ShadowNodes.h3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…/components/ReactPopupMenuAndroidSpecs/EventEmitters.h3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…enderer/components/ReactPopupMenuAndroidSpecs/States.h2 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…omponents/ReactPopupMenuAndroidSpecs/EventEmitters.cpp3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…derer/components/ReactPopupMenuAndroidSpecs/States.cpp3 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
Modern AI Meta-Vocabulary50 hits · 166 pts
SeverityFileLineSnippetContext
MEDIUMpackages/react-native/scripts/setup-apple-spm.js443// Scaffolding is an EXPLICIT, manual step (`npx react-native spm scaffold`) andCOMMENT
MEDIUMpackages/react-native/scripts/setup-apple-spm.js446// so the user fixes it deliberately: scaffold, then persist with patch-packageCOMMENT
MEDIUMpackages/react-native/scripts/setup-apple-spm.js449// error, and a wiped scaffold SHOULD re-surface it.COMMENT
MEDIUMpackages/react-native/scripts/setup-apple-spm.js670// node_modules/lockfile/patches after `npm install` + `spm scaffold`, none ofCOMMENT
MEDIUMpackages/react-native/scripts/setup-apple-spm.js1118 // The downstream scaffold/autolinker/package steps all call it internally;COMMENT
MEDIUMpackages/react-native/scripts/setup-apple-spm.js1178 // support — ONLY for the explicit `scaffold` action. init/update neverCOMMENT
MEDIUMpackages/react-native/scripts/setup-apple-spm.js1179 // auto-scaffold: a missing manifest must surface as a hard error (theCOMMENT
MEDIUMpackages/react-native/scripts/setup-apple-spm.js1181 // visible and fixed deliberately (scaffold + patch-package, or upstream).COMMENT
MEDIUMpackages/react-native/scripts/setup-apple-spm.js1199 // on init/update when the user declined the scaffold prompt — surface itCOMMENT
MEDIUMpackages/react-native/scripts/setup-apple-spm.js1200 // as a hard failure (exit 2) directing them to scaffold.COMMENT
MEDIUM…s/react-native/scripts/spm/generate-spm-autolinking.js805 // Skip a crashed run's leftover `.spm-scaffold-<pid>-<name>.podspec` copy.COMMENT
MEDIUM…s/react-native/scripts/spm/generate-spm-autolinking.js1505 // Community npm deps that autolink but ship/scaffold no Package.swift. We noCOMMENT
MEDIUM…s/react-native/scripts/spm/generate-spm-autolinking.js1530 // `spm scaffold` or shipping its own Package.swift), remove theCOMMENT
MEDIUM…s/react-native/scripts/spm/generate-spm-autolinking.js1548 // all, so "run spm scaffold" would be misleading).COMMENT
MEDIUMpackages/react-native/scripts/spm/spm-utils.js274// scaffold-package-swift.js) so the autolinker can recognize scaffolded filesCOMMENT
MEDIUMpackages/react-native/scripts/spm/spm-utils.js275// without a circular import (scaffold-package-swift requires the autolinker).COMMENT
MEDIUMpackages/react-native/scripts/spm/spm-utils.js277 '// AUTO-SCAFFOLDED by react-native spm scaffold — safe to edit & commit via patch-package.';CODE
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js81// computed at scaffold time (the walker anchored onCOMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js134// delete + regenerate via \`npx react-native spm scaffold\`.COMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js421 // Never self-ingest scaffold artifacts: a re-scaffold runs with theCOMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js425 // manifest it just wrote (alternating scaffold/self-destruct runs); theCOMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js505 // the scaffold writer mirrors them into a generated include/<SwiftName>/COMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js562 // package (<appRoot>/build/generated/ios). Computed at scaffold time —COMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js669 // computed at scaffold time.COMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js758// this file (or just this marker) and re-run \`npx react-native spm scaffold\`.COMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js936 // as `.spm-scaffold-<pid>-<name>.podspec` next to the original).COMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js1030 // Distinguish "first-time scaffold" (no file at all) from "regenerate"COMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js1130 // scaffolded here — leaving `react-native spm scaffold` unable to clear theCOMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js1168 // A transitive-resolution failure shouldn't abort the whole scaffold pass;COMMENT
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js131const SCAFFOLD_PREFIX_HEADER_CONTENTS = `// AUTO-SCAFFOLDED by react-native spm scaffold — mirrors CocoaPods' defaultCODE
MEDIUM…ges/react-native/scripts/spm/scaffold-package-swift.js1057 `// AUTO-SCAFFOLDED by react-native spm scaffold — the namespaced\n` +CODE
MEDIUM…ges/react-native/scripts/spm/generate-spm-xcodeproj.js814 # the build with a scaffold hint; other non-zero = warn but don't break).COMMENT
MEDIUM…ges/react-native/scripts/spm/generate-spm-xcodeproj.js829 # \`npx react-native spm scaffold\` from a terminal to generate the manifest.COMMENT
MEDIUMpackages/react-native/scripts/spm/read-podspec.js164 // best-effort cleanup; the file is named with `.spm-scaffold-...tmp`COMMENT
MEDIUMpackages/react-native/scripts/spm/spm-types.js400// Scaffold types — for the `npx react-native spm scaffold` command thatCOMMENT
MEDIUMpackages/react-native/scripts/spm/spm-types.js444 // Warnings collected during parsing — surfaced in the scaffold summary soCOMMENT
MEDIUMpackages/react-native/scripts/spm/spm-types.js449 // emit a louder banner in the scaffold summary explaining that dependencyCOMMENT
MEDIUMpackages/react-native/scripts/spm/spm-types.js502 // scaffold writer mirrors into a generated include/<SwiftName>/ shim dir soCOMMENT
MEDIUMpackages/react-native/scripts/spm/spm-types.js509 // Carried through from the PodspecModel; surfaced in the scaffold summary.COMMENT
MEDIUMpackages/react-native/scripts/spm/spm-types.js513// Per-dep outcome from one scaffold run. The orchestrator returns an arrayCOMMENT
MEDIUM…es/react-native/scripts/spm/expand-spm-dependencies.js184// library is checked like any other, so `spm scaffold` — which knows nothingCOMMENT
MEDIUM…t-native/scripts/spm/__tests__/setup-apple-spm-test.js170// (add/update/sync/scaffold) runs with: `--config-command` →COMMENT
MEDIUM…e/scripts/spm/__tests__/scaffold-package-swift-test.js950 // Pre-existing scaffold from same slot AND current generator versionCOMMENT
MEDIUM…e/scripts/spm/__tests__/scaffold-package-swift-test.js1091 // borrow. Degrading to the direct deps would scaffold manifests SPM rejectsCOMMENT
MEDIUM…e/scripts/spm/__tests__/scaffold-package-swift-test.js1092 // later, and a plugin buys no exemption — `spm scaffold` has no plugin code.COMMENT
MEDIUM…e/scripts/spm/__tests__/scaffold-package-swift-test.js1211// on next scaffold. Edits are persisted via patch-package per the markerCOMMENT
MEDIUM…e/scripts/spm/__tests__/scaffold-package-swift-test.js1302 `${SCAFFOLDER_MARKER}\n// Cache slot: SLOT-A/debug\n// pre-versioning scaffold\n`,CODE
MEDIUM…scripts/spm/__tests__/generate-spm-autolinking-test.js984 // on a fresh node_modules if you don't (no auto-scaffold/auto-restore).COMMENT
MEDIUM…scripts/spm/__tests__/generate-spm-autolinking-test.js1011 // Must NOT tell them to scaffold — scaffolding can't fix mixed-language.COMMENT
MEDIUM…scripts/spm/__tests__/generate-spm-autolinking-test.js1218 // `spm scaffold` has no plugin knowledge, so exempting the autolinker aloneCOMMENT
Verbosity Indicators48 hits · 82 pts
SeverityFileLineSnippetContext
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp320 // Step 2: Connection timingCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp330 // Step 3: Response receivedCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp473 // Step 1: WebSocket createdCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp483 // Step 2: Handshake request will be sentCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp298 // Step 1: Request will be sentCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp355 // Step 4: Data received (multiple chunks)COMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp374 // Step 5: Loading finishedCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp499 // Step 3: Handshake response receivedCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp514 // Step 4: Text message sentCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp526 // Step 5: Binary message sent (payload is base64-encoded)COMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp538 // Step 6: Text message receivedCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp550 // Step 7: WebSocket closedCOMMENT
LOW…ReactCommon/react/renderer/mounting/Differentiator.cpp435 // Step 1: iterate through entire treeCOMMENT
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1095 // Step 1: gather all animations driven by events.COMMENT
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1107 // Step 2: update all nodes that are connected to the finishedCOMMENT
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1190 // Step 1: gather all animations driven by events.COMMENT
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1202 // Step 2: update all nodes that are connected to the finishedCOMMENT
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1208 // Step 3: commit the changes to the UI.COMMENT
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp49 // Step 1: Build the Nodes graphCOMMENT
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp107 // Step 2: Update backgroundColorCOMMENT
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp136 // Step 3: Update opacityCOMMENT
LOW…react/renderer/uimanager/UIManagerUpdateShadowTree.cpp108 // Step 1: Create a list of shadow nodes to updateCOMMENT
LOW…react/renderer/uimanager/UIManagerUpdateShadowTree.cpp156 // Step 2: Clone nodes from children to ancestorsCOMMENT
LOW…react/renderer/uimanager/UIManagerUpdateShadowTree.cpp212 // Step 3: Commit ShadowTreeCOMMENT
LOW…ts/View/__tests__/View-yogaNodeOwnerAssertion-itest.js103 // Step 1: resize container -> measure-only pass leaks `hasNewLayout` on theCOMMENT
LOW…ts/View/__tests__/View-yogaNodeOwnerAssertion-itest.js109 // Step 2: restyle input -> clones the row, shares the hidden child's yoga nodeCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js51 // Step 1: Validate environmentCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js89 // Step 2: Setup Hermes repoCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js99 // Step 3: Get version from HermesCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js116 // Step 4: Trigger GitHub workflowCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js136 // Step 5: Update RN repo and create commitCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js157 // Step 6: Bump Hermes version for next release (PR)COMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js166 // Step 7: Bump RN main (PR)COMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js212 // Step 8: Return to stable branch and show summaryCOMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1483 // Step 1: Destroy DevSupportManagerCOMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1495 // Step 2: Move React Native to onHostDestroy()COMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1508 // Step 3: Stop all React Native surfacesCOMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1528 // Step 4: De-register the memory pressure listenerCOMMENT
LOW…a/com/facebook/react/views/modal/ReactModalHostView.kt559 // The goal is to compile-out UIManagerModule from the following code block:COMMENT
LOW…n/java/com/facebook/react/uimanager/style/ColorStop.kt80 // Step 1:COMMENT
LOW…n/java/com/facebook/react/uimanager/style/ColorStop.kt92 // Step 2:COMMENT
LOW…n/java/com/facebook/react/uimanager/style/ColorStop.kt106 // Step 3:COMMENT
LOW…gerInterop/RCTLegacyViewManagerInteropComponentView.mm108 // Step 1: check if ViewManager with specified name is supported.COMMENT
LOW…gerInterop/RCTLegacyViewManagerInteropComponentView.mm115 // Step 2: check if component has supported prefix.COMMENT
LOW…gerInterop/RCTLegacyViewManagerInteropComponentView.mm122 // Step 3: check if the module has been registeredCOMMENT
LOW…es/react-native/React/Fabric/Utils/RCTGradientUtils.mm286 // Step 1:COMMENT
LOW…es/react-native/React/Fabric/Utils/RCTGradientUtils.mm297 // Step 2:COMMENT
LOW…es/react-native/React/Fabric/Utils/RCTGradientUtils.mm311 // Step 3:COMMENT
Structural Annotation Overuse42 hits · 74 pts
SeverityFileLineSnippetContext
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp320 // Step 2: Connection timingCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp330 // Step 3: Response receivedCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp473 // Step 1: WebSocket createdCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp483 // Step 2: Handshake request will be sentCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp298 // Step 1: Request will be sentCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp355 // Step 4: Data received (multiple chunks)COMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp374 // Step 5: Loading finishedCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp499 // Step 3: Handshake response receivedCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp514 // Step 4: Text message sentCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp526 // Step 5: Binary message sent (payload is base64-encoded)COMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp538 // Step 6: Text message receivedCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp550 // Step 7: WebSocket closedCOMMENT
LOW…ReactCommon/react/renderer/mounting/Differentiator.cpp435 // Step 1: iterate through entire treeCOMMENT
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1095 // Step 1: gather all animations driven by events.COMMENT
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1107 // Step 2: update all nodes that are connected to the finishedCOMMENT
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1190 // Step 1: gather all animations driven by events.COMMENT
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1202 // Step 2: update all nodes that are connected to the finishedCOMMENT
LOW…react/renderer/animated/NativeAnimatedNodesManager.cpp1208 // Step 3: commit the changes to the UI.COMMENT
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp49 // Step 1: Build the Nodes graphCOMMENT
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp107 // Step 2: Update backgroundColorCOMMENT
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp136 // Step 3: Update opacityCOMMENT
LOW…react/renderer/uimanager/UIManagerUpdateShadowTree.cpp108 // Step 1: Create a list of shadow nodes to updateCOMMENT
LOW…react/renderer/uimanager/UIManagerUpdateShadowTree.cpp156 // Step 2: Clone nodes from children to ancestorsCOMMENT
LOW…react/renderer/uimanager/UIManagerUpdateShadowTree.cpp212 // Step 3: Commit ShadowTreeCOMMENT
LOW…/react/performance/timeline/PerformanceEntryReporter.h39 // NOTE: This class is not thread safe, make sure that the calls are made fromCOMMENT
LOW…ts/View/__tests__/View-yogaNodeOwnerAssertion-itest.js103 // Step 1: resize container -> measure-only pass leaks `hasNewLayout` on theCOMMENT
LOW…ts/View/__tests__/View-yogaNodeOwnerAssertion-itest.js109 // Step 2: restyle input -> clones the row, shares the hidden child's yoga nodeCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js51 // Step 1: Validate environmentCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js89 // Step 2: Setup Hermes repoCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js99 // Step 3: Get version from HermesCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js116 // Step 4: Trigger GitHub workflowCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js136 // Step 5: Update RN repo and create commitCOMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js157 // Step 6: Bump Hermes version for next release (PR)COMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js166 // Step 7: Bump RN main (PR)COMMENT
LOW…native/scripts/hermes/release-hermes-for-branch-cut.js212 // Step 8: Return to stable branch and show summaryCOMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1483 // Step 1: Destroy DevSupportManagerCOMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1495 // Step 2: Move React Native to onHostDestroy()COMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1508 // Step 3: Stop all React Native surfacesCOMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1528 // Step 4: De-register the memory pressure listenerCOMMENT
LOW…gerInterop/RCTLegacyViewManagerInteropComponentView.mm108 // Step 1: check if ViewManager with specified name is supported.COMMENT
LOW…gerInterop/RCTLegacyViewManagerInteropComponentView.mm115 // Step 2: check if component has supported prefix.COMMENT
LOW…gerInterop/RCTLegacyViewManagerInteropComponentView.mm122 // Step 3: check if the module has been registeredCOMMENT
Unused Imports73 hits · 72 pts
SeverityFileLineSnippetContext
LOWscripts/cxx-api/tests/test_input_filters.py6CODE
LOW…ripts/cxx-api/tests/test_excluded_symbol_references.py6CODE
LOWscripts/cxx-api/tests/test_snapshots.py6CODE
LOWscripts/cxx-api/parser/builders.py14CODE
LOWscripts/cxx-api/parser/__init__.py6CODE
LOWscripts/cxx-api/parser/__init__.py7CODE
LOWscripts/cxx-api/parser/main.py10CODE
LOWscripts/cxx-api/parser/snapshot.py6CODE
LOWscripts/cxx-api/parser/member/typedef_member.py6CODE
LOWscripts/cxx-api/parser/member/enum_member.py6CODE
LOWscripts/cxx-api/parser/member/property_member.py6CODE
LOWscripts/cxx-api/parser/member/variable_member.py6CODE
LOWscripts/cxx-api/parser/member/__init__.py6CODE
LOWscripts/cxx-api/parser/member/__init__.py6CODE
LOWscripts/cxx-api/parser/member/__init__.py6CODE
LOWscripts/cxx-api/parser/member/__init__.py7CODE
LOWscripts/cxx-api/parser/member/__init__.py8CODE
LOWscripts/cxx-api/parser/member/__init__.py9CODE
LOWscripts/cxx-api/parser/member/__init__.py10CODE
LOWscripts/cxx-api/parser/member/__init__.py11CODE
LOWscripts/cxx-api/parser/member/__init__.py12CODE
LOWscripts/cxx-api/parser/member/__init__.py13CODE
LOWscripts/cxx-api/parser/member/friend_member.py6CODE
LOWscripts/cxx-api/parser/member/base.py6CODE
LOWscripts/cxx-api/parser/member/concept_member.py6CODE
LOWscripts/cxx-api/parser/member/function_member.py6CODE
LOWscripts/cxx-api/parser/utils/argument_parsing.py6CODE
LOWscripts/cxx-api/parser/utils/qualified_path.py6CODE
LOWscripts/cxx-api/parser/utils/text_resolution.py10CODE
LOWscripts/cxx-api/parser/utils/__init__.py6CODE
LOWscripts/cxx-api/parser/utils/__init__.py6CODE
LOWscripts/cxx-api/parser/utils/__init__.py6CODE
LOWscripts/cxx-api/parser/utils/__init__.py6CODE
LOWscripts/cxx-api/parser/utils/__init__.py6CODE
LOWscripts/cxx-api/parser/utils/__init__.py6CODE
LOWscripts/cxx-api/parser/utils/__init__.py6CODE
LOWscripts/cxx-api/parser/utils/__init__.py6CODE
LOWscripts/cxx-api/parser/utils/__init__.py6CODE
LOWscripts/cxx-api/parser/utils/__init__.py6CODE
LOWscripts/cxx-api/parser/utils/__init__.py18CODE
LOWscripts/cxx-api/parser/utils/__init__.py19CODE
LOWscripts/cxx-api/parser/utils/__init__.py19CODE
LOWscripts/cxx-api/parser/utils/__init__.py19CODE
LOWscripts/cxx-api/parser/utils/__init__.py19CODE
LOWscripts/cxx-api/parser/utils/__init__.py19CODE
LOWscripts/cxx-api/parser/utils/__init__.py26CODE
LOWscripts/cxx-api/parser/utils/__init__.py26CODE
LOWscripts/cxx-api/parser/utils/__init__.py26CODE
LOWscripts/cxx-api/parser/utils/type_qualification.py6CODE
LOWscripts/cxx-api/parser/scope/__init__.py6CODE
LOWscripts/cxx-api/parser/scope/__init__.py6CODE
LOWscripts/cxx-api/parser/scope/__init__.py7CODE
LOWscripts/cxx-api/parser/scope/__init__.py8CODE
LOWscripts/cxx-api/parser/scope/__init__.py9CODE
LOWscripts/cxx-api/parser/scope/__init__.py10CODE
LOWscripts/cxx-api/parser/scope/__init__.py11CODE
LOWscripts/cxx-api/parser/scope/__init__.py12CODE
LOWscripts/cxx-api/parser/scope/__init__.py13CODE
LOWscripts/cxx-api/parser/scope/__init__.py14CODE
LOWscripts/cxx-api/parser/scope/extendable.py6CODE
13 more matches not shown…
Fake / Example Data54 hits · 57 pts
SeverityFileLineSnippetContext
LOW…ages/react-native/ReactCommon/jsi/jsi/test/testlib.cpp1841 String str = String::createFromUtf8(rd, "placeholder");CODE
LOW…t/renderer/components/textinput/BaseTextInputProps.cpp44 "placeholder",CODE
LOW…/components/androidtextinput/AndroidTextInputProps.cpp301 props["placeholder"] = placeholder;CODE
LOW…/components/androidtextinput/AndroidTextInputProps.cpp431 result["placeholder"] = placeholder;CODE
LOW…/react/modules/network/ProgressiveStringDecoderTest.kt19 """Lorem ipsum dolor sit amet, ea ius viris laoreet gloriatur, ea enim illud mel. Ea eligendi erroribus inciderintSTRING
LOW…/react/modules/network/ProgressiveStringDecoderTest.kt19 """Lorem ipsum dolor sit amet, ea ius viris laoreet gloriatur, ea enim illud mel. Ea eligendi erroribus inciderintSTRING
LOW…ok/react/views/textinput/ReactTextInputPropertyTest.kt200 manager.updateProperties(view, buildStyles("placeholder", "sometext"))CODE
LOW…ok/react/views/textinput/ReactTextInputPropertyTest.kt204 manager.updateProperties(view, buildStyles("placeholder", null))CODE
LOW…ok/react/views/textinput/ReactTextInputPropertyTest.kt211 manager.updateProperties(view, buildStyles("placeholder", "a very long placeholder string"))CODE
LOW…acebook/react/views/textinput/ReactTextInputManager.kt347 @ReactProp(name = "placeholder")CODE
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm52// ││ │ Lorem ipsum dolor sit amet, consectetur │ │ │COMMENT
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm52// ││ │ Lorem ipsum dolor sit amet, consectetur │ │ │COMMENT
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm66// ││ │ Lorem ipsum │ │ │COMMENT
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm69// ││ │ dolor sit amet, consectetur adipiscing elit. │ │ │COMMENT
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm348 @"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bibendum volutpat. NullCODE
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm348 @"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bibendum volutpat. NullCODE
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm353 @"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bibendum volutpat. NullCODE
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm353 @"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bibendum volutpat. NullCODE
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm237 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien biCODE
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm237 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien biCODE
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm280 props.text = "Lorem ipsum";CODE
LOW…ive/React/Tests/Text/RCTParagraphComponentViewTests.mm293 " dolor sit amet, consectetur adipiscing elit. Maecenas ut risus et sapien bibendum voluCODE
LOWpackages/rn-tester/js/components/ListExampleShared.js223 'Lorem ipsum dolor sit amet, ius ad pertinax oportere accommodare, an vix \CODE
LOWpackages/rn-tester/js/components/ListExampleShared.js223 'Lorem ipsum dolor sit amet, ius ad pertinax oportere accommodare, an vix \CODE
LOW…ester/js/examples/TextInput/TextInputSharedExamples.js1247 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…ester/js/examples/TextInput/TextInputSharedExamples.js1247 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWpackages/rn-tester/js/examples/XHR/XHRExampleFetch.js87 'https://microsoftedge.github.io/Demos/json-dummy-data/5MB-min.json';CODE
LOW…ver/VisualCompletionExample/VisualCompletionExample.js185 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas facilisis feugiat ipsum, non placerat nulla. VestibCODE
LOW…ver/VisualCompletionExample/VisualCompletionExample.js185 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas facilisis feugiat ipsum, non placerat nulla. VestibCODE
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1280 Lorem ipsum dolor sit amet, consectetur adipiscing elit. MaurisCODE
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1280 Lorem ipsum dolor sit amet, consectetur adipiscing elit. MaurisCODE
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1301 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1301 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1307 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1307 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1805 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1805 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1824 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…ages/rn-tester/js/examples/Text/TextExample.android.js1824 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…kages/rn-tester/js/examples/Text/TextSharedExamples.js96 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin volutpatCODE
LOW…kages/rn-tester/js/examples/Text/TextSharedExamples.js96 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin volutpatCODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js336 Lorem ipsum dolor sit amet, consectetur adipiscing elit. MaurisCODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js336 Lorem ipsum dolor sit amet, consectetur adipiscing elit. MaurisCODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js355 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js355 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js361 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js361 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1177 Lorem ipsum dolor sit amet,{' '}CODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1177 Lorem ipsum dolor sit amet,{' '}CODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1616 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1616 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1635 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOWpackages/rn-tester/js/examples/Text/TextExample.ios.js1635 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…/examples/Accessibility/AccessibilityAndroidExample.js70 <RNTesterText>Dolor sit amet{'\n'}</RNTesterText>CODE
AI Slop Vocabulary13 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUM…ges/dev-middleware/src/utils/getDevToolsFrontendUrl.js76 // server are colocated. This is more robust for cases where the frontendCOMMENT
MEDIUM…ommon/react/renderer/uimanager/PointerHoverTracker.cpp22 // leverage it to get the event path list at the moment the event occurredCOMMENT
MEDIUM…ommon/react/renderer/uimanager/PointerHoverTracker.cpp81 // robust diffing solution.COMMENT
MEDIUM…ages/react-native/Libraries/StyleSheet/processColor.js51 // We utilize the fact that bitwise operations in JS also operates onCOMMENT
MEDIUM…kages/react-native/scripts/cocoapods/rncore_facades.rb145 # COPIED into the facade dir (a self-contained snapshot — robust, noCOMMENT
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.COMMENT
MEDIUM…cebook/react/fabric/mounting/SurfaceMountingManager.kt466 // backwards-compatibility. Essentially, if a view has already been removed from theCOMMENT
MEDIUM…cebook/react/views/scroll/ReactHorizontalScrollView.kt497 // Essentially, if the height changes (due to keyboard popping up, for instance) theCOMMENT
MEDIUM…/java/com/facebook/react/views/text/ReactTextView.java182 // before we are laid out. This ordering is a requirement because we utilize the data fromCOMMENT
MEDIUM…s/idlecallbacks/__tests__/requestIdleCallback-itest.js95 // than baking in the 50 ms budget) so the assertion is robust againstCOMMENT
MEDIUMpackages/eslint-plugin-specs/react-native-modules.js32 // If using this externally, we leverage @react-native/codegen as published formCOMMENT
MEDIUM…er/RNTesterIntegrationTests/RNTesterIntegrationTests.m41#pragma mark - Test harnessCOMMENT
MEDIUMpackages/jest-preset/jest/assetFileTransformer.js28 // the correct images are loaded for components. EssentiallyCOMMENT
Cross-Language Confusion (JS/TS)3 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…ges/react-native/scripts/spm/generate-spm-xcodeproj.js820 elif command -v npx >/dev/null 2>&1; thenCODE
HIGH…ges/react-native/scripts/spm/generate-spm-xcodeproj.js831 elif [ "$RC" -ne 0 ]; thenCODE
HIGH…ges/react-native/scripts/spm/generate-spm-xcodeproj.js770 elif [ -f "$P" ]; thenCODE
Deep Nesting19 hits · 19 pts
SeverityFileLineSnippetContext
LOWscripts/cxx-api/parser/builders.py207CODE
LOWscripts/cxx-api/parser/builders.py304CODE
LOWscripts/cxx-api/parser/builders.py585CODE
LOWscripts/cxx-api/parser/builders.py669CODE
LOWscripts/cxx-api/parser/builders.py857CODE
LOWscripts/cxx-api/parser/main.py49CODE
LOWscripts/cxx-api/parser/main.py239CODE
LOWscripts/cxx-api/parser/main.py391CODE
LOWscripts/cxx-api/parser/__main__.py145CODE
LOWscripts/cxx-api/parser/utils/argument_parsing.py62CODE
LOWscripts/cxx-api/parser/utils/argument_parsing.py119CODE
LOWscripts/cxx-api/parser/utils/argument_parsing.py140CODE
LOWscripts/cxx-api/parser/utils/argument_parsing.py349CODE
LOWscripts/cxx-api/parser/utils/argument_parsing.py483CODE
LOWscripts/cxx-api/parser/utils/qualified_path.py11CODE
LOWscripts/cxx-api/parser/utils/text_resolution.py146CODE
LOWscripts/cxx-api/parser/utils/type_qualification.py57CODE
LOWscripts/cxx-api/parser/scope/struct_like_scope_kind.py48CODE
LOWscripts/cxx-api/parser/scope/scope.py57CODE
Redundant / Tautological Comments12 hits · 18 pts
SeverityFileLineSnippetContext
LOWscripts/cxx-api/parser/builders.py230 # Check if this is an unnamed template parameterCOMMENT
LOWscripts/cxx-api/parser/main.py152 # Check if this is an Objective-C interface by looking at the compound idCOMMENT
LOWscripts/cxx-api/parser/member/concept_member.py71 # Check if no line is indentedCOMMENT
LOWscripts/cxx-api/parser/utils/argument_parsing.py525 # Check if this is a declarator like (*) or (&) — don't parse thoseCOMMENT
LOWscripts/cxx-api/parser/scope/scope.py75 # Check if it's an inner scopeCOMMENT
LOWscripts/cxx-api/parser/scope/scope.py87 # Check if it's a member (type alias, variable, etc.)COMMENT
LOWpackages/react-native/scripts/cocoapods/rncore.rb283 # Check if it's a valid dSYM bundle with Info.plistCOMMENT
LOW…ges/react-native/scripts/cocoapods/new_architecture.rb189 # Read the file as a plistCOMMENT
LOW…ges/react-native/scripts/cocoapods/new_architecture.rb196 # Check if it contains the RCTNewArchEnabled keyCOMMENT
LOW…act-native/scripts/cocoapods/privacy_manifest_utils.rb72 # Check if the file is already in the PBXBuildFile sectionCOMMENT
LOW…act-native/scripts/cocoapods/privacy_manifest_utils.rb76 # Check if the file is already in the PBXFileReference sectionCOMMENT
LOW…ester/.maestro/scrollview-minindex-maintainvisible.yml21# Set minIndexForVisible to 0COMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMpackages/react-native/scripts/ios-configure-glog.sh107# Create a custom module.modulemap that works with Swift C++ interopCOMMENT
MEDIUMpackages/react-native/scripts/find-node-for-xcode.sh17# This file is deprecated and will be removed in a future release in favor of somethingCOMMENT
MEDIUMpackages/react-native/scripts/react_native_pods.rb376# This function is used by podspecs that needs to use the prebuilt sources for React Native.COMMENT
MEDIUM…ative/scripts/cocoapods/__tests__/test_utils/podSpy.rb6# This file contains the utilities required to mock properly theCOMMENT
Slop Phrases3 hits · 6 pts
SeverityFileLineSnippetContext
LOW…act-native/Libraries/Components/StatusBar/StatusBar.js205 * // Don't forget to call `popStackEntry` when you're done.COMMENT
MEDIUM…cripts/cocoapods/__tests__/test_utils/InstallerMock.rb33# To access the target's list, for example, you can use the following line:COMMENT
LOW…ponentViews/ScrollView/RCTVirtualViewContainerState.mm28 va_end(args); // Don't forget to call va_end to clean upCODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…raries/NativeAnimation/RCTNativeAnimatedTurboModule.mm247 // TODO: implement in the future if we want the same optimization here as on AndroidCOMMENT
LOW…e/Libraries/NativeAnimation/RCTNativeAnimatedModule.mm267 // TODO: implement in the future if we want the same optimization here as on AndroidCOMMENT
LOW…FabricPublicInstance/ReactFabricPublicInstanceUtils.js22 // TODO: implement a better check when the instance is defined in the React Native repository.COMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/cxx-api/parser/__init__.py9__all__ = ["build_snapshot", "get_repo_root"]CODE
LOWscripts/cxx-api/parser/member/__init__.py15__all__ = [CODE
LOWscripts/cxx-api/parser/utils/__init__.py28__all__ = [CODE
LOWscripts/cxx-api/parser/scope/__init__.py16__all__ = [CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…-native/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h43// Example usage:COMMENT
LOW…eact/Fabric/Mounting/RCTMountingTransactionObserving.h32 * # How to useCOMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/cxx-api/parser/__main__.py206 except Exception as e:CODE
LOWscripts/cxx-api/parser/input_filters/main.py41 except Exception as e:CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…es/Animated/__tests__/AnimatedBackendSuspense-itest.js37 async function getData(key: string): Promise<string> {CODE