Repository Analysis

facebook/react-native

A framework for building native applications using React

3.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of facebook/react-native, a C++ project with 126,196 GitHub stars. SynthScan v2.0 examined 898,164 lines of code across 6131 source files, recording 2209 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 3.7 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.7
Adjusted Score
3.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
126.2K
Stars
C++
Language
898.2K
Lines of Code
6.1K
Files
2.2K
Pattern Hits
2026-07-14
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 43MEDIUM 338LOW 1806

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 2209 distinct pattern matches across 19 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 Identifiers1151 hits · 1048 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.js94async function uploadReleaseAssetsForDotSlashFiles(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js153async function uploadReleaseAssetsForDotSlashFile(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js186async function fetchUpstreamAssetAndUploadToRelease(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js186async function fetchUpstreamAssetAndUploadToRelease(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js290async function maybeDeleteExistingReleaseAsset(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js318async function fetchAndValidateUpstreamAsset(CODE
LOWscripts/releases/upload-release-assets-for-dotslash.js347async 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.js75async function processDotSlashFileInPlace(CODE
LOWscripts/releases/utils/dotslash-utils.js122function sanitizeFileNameComponent(CODE
LOWscripts/releases/utils/dotslash-utils.js145async function validateAndParseDotSlashFile(CODE
LOWscripts/releases/utils/dotslash-utils.js145async function validateAndParseDotSlashFile(CODE
LOWscripts/releases/utils/dotslash-utils.js155async function dangerouslyResignGeneratedFile(CODE
LOWscripts/releases/utils/dotslash-utils.js173async 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.js32function 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
1091 more matches not shown…
Decorative Section Separators322 hits · 944 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
262 more matches not shown…
Over-Commented Block407 hits · 387 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…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// - @react-native/community-cli-pluginCOMMENT
LOWpackages/react-native/types/index.d.ts1/**COMMENT
LOWpackages/react-native/types/index.d.ts21// Souvik Ghosh <https://github.com/souvik-ghosh>COMMENT
LOWpackages/react-native/types/index.d.ts41// David Sheldrick <https://github.com/ds300>COMMENT
LOW…ckages/react-native/sdks/hermes-engine/hermes-utils.rb21 endCOMMENT
LOW…t-native/sdks/hermes-engine/utils/copy-hermes-xcode.sh1#!/bin/bashCOMMENT
LOW…ative/ReactCommon/jsiexecutor/jsireact/JSIExecutor.cpp1/*COMMENT
LOW…-native/ReactCommon/jsiexecutor/jsireact/JSIExecutor.h21COMMENT
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/CalculateLayout.h>COMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp661 totalOuterFlexBasis +=COMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp681// requested axis and `Undefined` on the other. Text measure-funcsCOMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1181 deltaFreeSpace += boundMainSize - childFlexBasis;COMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1201// This two pass approach for resolving min/max constraints deviates from theCOMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1481// https://www.w3.org/TR/CSS3-flexbox/.COMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1501// * Min/Max sizes in the main axis are not honored when resolving flexibleCOMMENT
LOW…ve/ReactCommon/yoga/yoga/algorithm/CalculateLayout.cpp1521// Details:COMMENT
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
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h261// the future. Until released, these features may be subject to change. AfterCOMMENT
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h301 /// algorithm. \p transferList must be a JS Array. Given the length propertyCOMMENT
LOWpackages/react-native/ReactCommon/jsi/jsi/jsi.h361 /// Prepares to evaluate the given JavaScript \c buffer by processing it intoCOMMENT
347 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.js34 * 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.js46 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…codegen/src/generators/modules/GenerateModuleJniCpp.js119 * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).COMMENT
HIGH…tive-codegen/src/generators/modules/GenerateModuleH.js204 * 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.js125 * 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
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…
Verbosity Indicators41 hits · 72 pts
SeverityFileLineSnippetContext
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp305 // Step 1: Request will be sentCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp327 // Step 2: Connection timingCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp337 // Step 3: Response receivedCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp362 // Step 4: Data received (multiple chunks)COMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp381 // Step 5: Loading finishedCOMMENT
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.cpp48 // Step 1: Build the Nodes graphCOMMENT
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp106 // Step 2: Update backgroundColorCOMMENT
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp135 // 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.kt1481 // Step 1: Destroy DevSupportManagerCOMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1493 // Step 2: Move React Native to onHostDestroy()COMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1506 // Step 3: Stop all React Native surfacesCOMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1526 // 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 Overuse35 hits · 63 pts
SeverityFileLineSnippetContext
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp305 // Step 1: Request will be sentCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp327 // Step 2: Connection timingCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp337 // Step 3: Response receivedCOMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp362 // Step 4: Data received (multiple chunks)COMMENT
LOW…ommon/jsinspector-modern/tests/NetworkReporterTest.cpp381 // Step 5: Loading finishedCOMMENT
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.cpp48 // Step 1: Build the Nodes graphCOMMENT
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp106 // Step 2: Update backgroundColorCOMMENT
LOW…on/react/renderer/animated/tests/AnimatedNodeTests.cpp135 // 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.h37 // 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.kt1481 // Step 1: Destroy DevSupportManagerCOMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1493 // Step 2: Move React Native to onHostDestroy()COMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1506 // Step 3: Stop all React Native surfacesCOMMENT
LOW…/main/java/com/facebook/react/runtime/ReactHostImpl.kt1526 // 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
Fake / Example Data53 hits · 54 pts
SeverityFileLineSnippetContext
LOW…ages/react-native/ReactCommon/jsi/jsi/test/testlib.cpp1840 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.cpp427 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.kt197 manager.updateProperties(view, buildStyles("placeholder", "sometext"))CODE
LOW…ok/react/views/textinput/ReactTextInputPropertyTest.kt200 manager.updateProperties(view, buildStyles("placeholder", null))CODE
LOW…acebook/react/views/textinput/ReactTextInputManager.kt340 @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.js1220 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed doCODE
LOW…ester/js/examples/TextInput/TextInputSharedExamples.js1220 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 Vocabulary12 hits · 34 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
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.kt463 // backwards-compatibility. Essentially, if a view has already been removed from theCOMMENT
MEDIUM…cebook/react/views/scroll/ReactHorizontalScrollView.kt489 // 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
Deep Nesting19 hits · 19 pts
SeverityFileLineSnippetContext
LOWscripts/cxx-api/parser/builders.py206CODE
LOWscripts/cxx-api/parser/builders.py303CODE
LOWscripts/cxx-api/parser/builders.py570CODE
LOWscripts/cxx-api/parser/builders.py646CODE
LOWscripts/cxx-api/parser/builders.py834CODE
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.py229 # 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.rb297 # Check if it's a valid dSYM bundle with Info.plistCOMMENT
LOWpackages/react-native/scripts/cocoapods/rncore.rb596 # Check if VFS overlay is already presentCOMMENT
LOW…ges/react-native/scripts/cocoapods/new_architecture.rb187 # Read the file as a plistCOMMENT
LOW…ges/react-native/scripts/cocoapods/new_architecture.rb194 # 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
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.rb316# 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.mm250 // 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.h41// 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