AI Slop Code RIsk Monitor

facebook/idb

idb is a flexible command line interface for automating iOS simulators and devices

5.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for facebook/idb, a Swift project with 5,362 GitHub stars. SynthScan examined 273,092 lines of code across 1651 source files, recording 1316 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 5.2 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

5.2
Adjusted Signal
5.2
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.4K
Stars
Swift
Language
273.1K
Lines of Code
1.7K
Files
1.3K
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 18.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1165 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.4/100 · LOW

Are imports declared and package/API names verified? 81 finding(s).

Agent Over-Engineering Ratio 17.8/100 · LOW

Are wrappers, guards, and repeated structures necessary? 1011 finding(s).

PR Review Velocity Impact 24.6/100 · LOW

Which changes need focused human review? 1316 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 2HIGH 26MEDIUM 39LOW 1249

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1316 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers935 hits · 865 pts
SeverityFileLineSnippetContext
LOW⚡homebrew_tests.py245 def test_latest_is_the_newest_release(self):CODE
LOW⚡homebrew_tests.py251 def test_an_unknown_tag_is_reported(self):CODE
LOW⚡homebrew_tests.py260 def test_a_run_of_another_workflow_is_refused(self):CODE
LOW⚡homebrew_tests.py269 def test_a_malformed_run_is_refused(self):CODE
LOW⚡homebrew_tests.py273 def test_pull_request_resolves_through_its_head(self):CODE
LOW⚡homebrew_tests.py338 def test_an_artifact_redirect_without_a_location_is_reported(self):CODE
LOW⚡homebrew_tests.py345 def test_artifacts_need_a_token(self):CODE
LOW⚡homebrew_tests.py350 def test_an_exhausted_rate_limit_suggests_a_token(self):CODE
LOW⚡homebrew_tests.py361 def test_token_prefers_the_environment(self):CODE
LOW⚡homebrew_tests.py368 def test_token_falls_back_to_gh(self):CODE
LOW⚡homebrew_tests.py378 def test_matching_formulae_pass(self):CODE
LOW⚡homebrew_tests.py382 def test_a_tampered_formula_is_refused(self):CODE
LOW⚡homebrew_tests.py388 def test_a_missing_formula_is_refused(self):CODE
LOW⚡homebrew_tests.py396 def test_runner_paths_become_the_downloaded_assets(self):CODE
LOW⚡homebrew_tests.py441 def test_a_tampered_release_installs_nothing(self):CODE
LOW⚡homebrew_tests.py448 def test_a_release_without_formulae_is_reported(self):CODE
LOW⚡homebrew_tests.py457 def test_a_ci_build_points_at_the_downloaded_assets(self):CODE
LOW⚡homebrew_tests.py641 def test_cursor_stays_within_the_rows(self):CODE
LOW⚡homebrew_tests.py649 def test_enter_installs_the_selected_build(self):CODE
LOW⚡homebrew_tests.py654 def test_tab_switches_and_keeps_each_cursor(self):CODE
LOW⚡homebrew_tests.py662 def test_an_uninstallable_build_explains_itself(self):CODE
LOW⚡homebrew_tests.py668 def test_enter_on_an_empty_tab_does_nothing(self):CODE
LOWhomebrew_tests.py288 def test_a_short_sha_is_expanded_before_looking_up_runs(self):CODE
LOWhomebrew_tests.py302 def test_a_commit_without_a_passing_run_is_reported(self):CODE
LOWhomebrew_tests.py312 def test_anything_else_is_a_branch(self):CODE
LOWhomebrew_tests.py326 def test_artifact_redirect_is_followed_without_the_token(self):CODE
LOWhomebrew_tests.py408 def test_an_asset_the_build_lacks_is_reported(self):CODE
LOWhomebrew_tests.py418 def test_a_release_is_staged_and_installed_fully_qualified(self):CODE
LOWhomebrew_tests.py469 def test_a_run_without_the_wheel_is_reported(self):CODE
LOWhomebrew_tests.py475 def test_replacing_a_facebook_fb_install_needs_confirmation(self):CODE
LOWhomebrew_tests.py490 def test_a_confirmed_replacement_removes_the_metapackage_too(self):CODE
LOWhomebrew_tests.py501 def test_yes_replaces_without_asking(self):CODE
LOWhomebrew_tests.py517 def test_replacing_an_earlier_local_build_does_not_ask(self):CODE
LOWhomebrew_tests.py527 def test_reports_each_formula_and_the_local_build(self):CODE
LOWhomebrew_tests.py546 def test_the_local_build_is_not_reported_for_a_stable_install(self):CODE
LOWhomebrew_tests.py556 def test_removes_local_builds_and_restores_the_stable_formula(self):CODE
LOWhomebrew_tests.py572 def test_ci_rows_say_why_a_run_cannot_be_installed(self):CODE
LOWhomebrew_tests.py601 def test_release_rows_flag_releases_without_formulae(self):CODE
LOWhomebrew_tests.py611 def test_release_rows_skip_drafts_and_list_newest_first(self):CODE
LOWhomebrew_tests.py683 def test_errors_exit_nonzero_with_a_message(self):CODE
LOWidb/grpc/dap.py131async def read_next_dap_protocol_message(stream: StreamReader) -> bytes:CODE
LOWidb/grpc/xctrace.py34async def xctrace_drain_until_running(CODE
LOWidb/grpc/xctrace.py66def formatted_time_to_seconds(formatted_time: str | None) -> float | None:CODE
LOWidb/grpc/client.py259def _quiescence_event_from_grpc(CODE
LOWidb/grpc/client.py288def log_and_handle_exceptions(grpc_method_name: str): # pyre-ignoreCODE
LOWidb/grpc/client.py666 async def accessibility_wait_result(CODE
LOWidb/grpc/client.py699 async def _accessibility_wait_result(CODE
LOWidb/grpc/client.py972 async def clear_delivered_notifications(self, bundle_id: str) -> None:CODE
LOWidb/grpc/client.py1656 async def _handle_code_coverage_in_response(CODE
LOWidb/grpc/xctest.py56def extract_paths_from_xctestrun(path: str, logger: Logger | None = None) -> list[str]:CODE
LOWidb/grpc/xctest.py262def save_activities_attachments(activity: TestActivity, path: str) -> None:CODE
LOWidb/grpc/xctest.py275def attachment_to_file_extension(attachment: TestAttachment) -> str:CODE
LOWidb/grpc/instruments.py18async def instruments_generate_bytes(CODE
LOWidb/grpc/instruments.py34async def instruments_drain_until_running(CODE
LOWidb/grpc/instruments.py49async def instruments_drain_until_stop(CODE
LOWidb/grpc/instruments.py67def translate_instruments_timings(CODE
LOWidb/grpc/management.py88async def _check_domain_socket_is_bound(path: str) -> bool:CODE
LOWidb/grpc/target.py75def screen_dimensions_to_grpc(dimensions: ScreenDimensions) -> GrpcScreenDimensions:CODE
LOWidb/grpc/install.py235async def _generate_framework_chunks(CODE
LOWidb/grpc/install.py265def select_stream_compression(CODE
875 more matches not shown…
Over-Commented Block177 hits · 158 pts
SeverityFileLineSnippetContext
LOWproject.yml1# @generated by the idb project.yml generator -- do not edit by hand.COMMENT
LOWbuild.sh241# skipped because no identity precedes it.COMMENT
LOWbuild.sh901 buildCOMMENT
LOW…eworkBridge/SimulatorFrameworkBridge-Bridging-Header.h1/*COMMENT
LOW…rFrameworkBridge/Runtime/Private/KeyedArchivePrivate.h1/*COMMENT
LOW…atorFrameworkBridge/Runtime/Private/AXRuntimePrivate.h1/*COMMENT
LOW…rkBridge/Runtime/Private/RunningBoardServicesPrivate.h1/*COMMENT
LOW…rameworkBridge/Runtime/Private/AXPTranslationPrivate.h1/*COMMENT
LOW…mulatorFrameworkBridge/Runtime/Private/PhotosPrivate.h1/*COMMENT
LOW…ulatorFrameworkBridge/Swift/AccessibilityService.swift41private let requestMaxNodes = BridgeAXWire.Request.maxNodes.rawValueCOMMENT
LOW…ulatorFrameworkBridge/Swift/AccessibilityService.swift61// Reader-derived keys (below) are spelled in the reader's own namespace, not `XC_kAXXC*`, so the twoCOMMENT
LOW…ulatorFrameworkBridge/Swift/AccessibilityService.swift121// rather than about any one application.COMMENT
LOW…ulatorFrameworkBridge/Swift/AccessibilityService.swift261 var processIdentifier: pid_t = 0COMMENT
LOWREPLTests/ReplRunTelemetryTests.swift81 #expect(ReplRunStage.connect.rawValue == "connect")COMMENT
LOWidb/utils/contextlib.py161 raiseCOMMENT
LOWidb/common/types.py281 # caller who believes they are getting a smaller image finds out that theyCOMMENT
LOWidb/common/types.py341#COMMENT
LOWFBControlCore/Management/Target.swift81// MARK: - Target ProtocolCOMMENT
LOWFBControlCore/Subprocess/HostSubprocess.swift61 }COMMENT
LOWFBControlCore/Subprocess/SubprocessInput.swift1/*COMMENT
LOWFBControlCore/Subprocess/SubprocessInput.swift21///COMMENT
LOWFBControlCore/Subprocess/FileBackedOutput.swift1/*COMMENT
LOW…onLibTests/Tests/Unit/CompanionLibTransientTests.swift41 #expect((request.testTargetAppBundleID) == nil)COMMENT
LOW…onLibTests/Tests/Unit/CompanionLibTransientTests.swift101 coverageRequest: coverageRequest,COMMENT
LOW…orFrameworkBridge/SimulatorFrameworkBridgeClient.swift81/// Launches a copy of the guest that daemons see as a particular app.COMMENT
LOW…orControl/SimulatorFrameworkBridge/AXBridgeError.swift21 /// The guest could not bind the private frameworks it reads through, so it can serve no request. TheCOMMENT
LOWFBSimulatorControl/Framebuffer/Framebuffer.swift41COMMENT
LOWFBSimulatorControl/HID/SimulatorHIDTransport.swift21/// two-finger touch, button and keyboard — and, where a target needs both, the Indigo transportCOMMENT
LOWFBSimulatorControl/HID/SimulatorIndigoHID.swift121COMMENT
LOWFBSimulatorControl/HID/SimulatorDTUHIDConnection.swift21COMMENT
LOWFBSimulatorControl/HID/SimulatorDTUHIDConnection.swift61COMMENT
LOW…SimulatorControl/Commands/SimulatorAudioCommands.swift181 }COMMENT
LOW…torControl/Commands/SimulatorRuntimeToolCommands.swift41COMMENT
LOW…torControl/Commands/SimulatorRuntimeToolCommands.swift61 ///COMMENT
LOWFBSimulatorBridgeProtocol/BridgeAXWire.swift21 case frame = "XC_kAXXCAttributeFrame"COMMENT
LOWFBSimulatorBridgeProtocol/BridgeAXWire.swift41 /// `XC_kAXXC*` attribute: the guest hit-tests inline while it walks, sparing the host a round trip perCOMMENT
LOWFBSimulatorBridgeProtocol/BridgeAXWire.swift121 /// remedy applies — while the envelope's `error` carries the detail. An unknown or absent kindCOMMENT
LOWFBSimulatorBridgeProtocol/BridgeAXClientType.swift1/*COMMENT
LOWFBSimulatorBridgeProtocol/BridgeAXClientType.swift61 }COMMENT
LOW…ts/Tests/Smoke/Support/ProvidedSimulatorTestCase.swift21/// A test case for tests that need a booted simulator but do not own one.COMMENT
LOWTools/SimScope/SimScopeRemote/SimScopeRemote.swift121 ///COMMENT
LOWTools/SimScope/SimScopeProtocol/ControlSocket.swift41 /// Support that came to 107 for an ordinary home directory, so addressing a second device couldCOMMENT
LOWTools/SimScope/SimScopeProtocol/AgentProtocol.swift41 case hitTest(point: CGPoint)COMMENT
LOWTools/SimScope/SimScopeProtocol/AgentProtocol.swift61 /// failure of working from screenshots.COMMENT
LOWTools/SimScope/SimScope/AXTree.swift41 /// structural containers (`Any`, unlabelled images, numeric-only types) provide nothing and areCOMMENT
LOWTools/SimScope/SimScope/AXTree.swift61 ///COMMENT
LOWTools/SimScope/SimScope/AXTree.swift81 /// Deliberately narrower than `blocked`. Most blocked elements are blocked for reasons that haveCOMMENT
LOWTools/SimScope/SimScope/AXTree.swift101 /// Not actionable for some reason other than occlusion — never a control, disabled, zero-sized.COMMENT
LOWTools/SimScope/SimScope/AXTree.swift421/// meaningful nodes themselves (for the coverage visualization overlay).COMMENT
LOWTools/SimScope/SimScope/DeviceWindowController.swift121COMMENT
LOWTools/SimScope/SimScope/TreeInspector.swift21///COMMENT
LOWTools/SimScope/SimScope/TreeInspector.swift61 private var roots: [AXOutlineNode] = []COMMENT
LOWTools/SimScope/SimScope/TreeInspector.swift241 readTask = nilCOMMENT
LOWTools/SimScope/SimScope/TreeInspector.swift501 }COMMENT
LOWTools/SimScope/SimScope/CodeInjector.swift41 /// an error — an author iterating on a snippet spends most of their runs here.COMMENT
LOWTools/SimScope/SimScope/CodeInjector.swift121 // MARK: - Running on the app's main threadCOMMENT
LOWTools/SimScope/SimScope/SimBackend.swift201 /// frontmost read.COMMENT
LOWTools/SimScope/SimScope/SimBackend.swift281 case let .guestBridge(p):COMMENT
LOWTools/SimScope/SimScope/SimulatorView.swift461COMMENT
LOWZstdDecompress/zstddeclib.c81 * header and the script 'combine.sh' combines the whole zstd source codeCOMMENT
117 more matches not shown…
Decorative Section Separators24 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUM⚡build.sh54# =============================================================================COMMENT
MEDIUM⚡build.sh56# =============================================================================COMMENT
MEDIUMbuild.sh535# =============================================================================COMMENT
MEDIUMbuild.sh537# =============================================================================COMMENT
MEDIUMbuild.sh701# =============================================================================COMMENT
MEDIUMbuild.sh703# =============================================================================COMMENT
MEDIUMbuild.sh1078# =============================================================================COMMENT
MEDIUMbuild.sh1080# =============================================================================COMMENT
MEDIUMbuild.sh1142# =============================================================================COMMENT
MEDIUMbuild.sh1144# =============================================================================COMMENT
MEDIUMbuild.sh1222# =============================================================================COMMENT
MEDIUMbuild.sh1224# =============================================================================COMMENT
MEDIUM⚡tests/build-test.sh313# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/build-test.sh315# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/build-test.sh323# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/build-test.sh325# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/build-test.sh333# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/build-test.sh335# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/build-test.sh486# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/build-test.sh488# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/build-test.sh527# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/build-test.sh533# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/build-test.sh565# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/build-test.sh567# ---------------------------------------------------------------------------COMMENT
Empty Error Handlers16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHidb/grpc/tests/xctrace_tests.py165except asyncio.CancelledError:CODE
HIGHidb/cli/main.py116except concurrent.futures.CancelledError:CODE
HIGHidb/cli/commands/accessibility.py572except asyncio.TimeoutError:CODE
HIGHidb/common/signal.py43except Exception:CODE
HIGHidb/common/companion_set.py50except OSError:CODE
HIGHidb/common/companion_set.py54except OSError:CODE
HIGHidb/common/companion_set.py93except OSError:CODE
HIGHidb/common/companion_set.py98except OSError:CODE
HIGHidb/common/tar.py295except FileExistsError:CODE
HIGHEndToEndTests/harness.py165except ProcessLookupError:CODE
HIGHEndToEndTests/harness.py439except asyncio.TimeoutError:CODE
HIGHEndToEndTests/harness.py898except OSError:CODE
HIGHEndToEndTests/harness.py2954except (BrokenPipeError, ConnectionResetError):CODE
HIGHEndToEndTests/harness.py3256except (OSError, asyncio.TimeoutError):CODE
HIGHEndToEndTests/harness.py1159except subprocess.TimeoutExpired:CODE
HIGHBenchmarks/install_bench.py194except OSError:CODE
Unused Imports62 hits · 58 pts
SeverityFileLineSnippetContext
LOWhomebrew.py31CODE
LOWidb/grpc/hid.py8CODE
LOWidb/grpc/hid.py8CODE
LOWidb/grpc/tests/xctrace_tests.py7CODE
LOWidb/grpc/tests/dap_tests.py7CODE
LOWidb/grpc/tests/debugserver_tests.py7CODE
LOWidb/grpc/tests/stream_test_support.py7CODE
LOWidb/grpc/tests/instruments_tests.py7CODE
LOWidb/grpc/tests/wave9_management_tests.py7CODE
LOWidb/grpc/tests/launch_tests.py7CODE
LOWidb/grpc/tests/xctest_tests.py7CODE
LOWidb/grpc/tests/install_tests.py7CODE
LOWidb/grpc/tests/repl_contract_tests.py7CODE
LOWidb/grpc/tests/file_tests.py7CODE
LOWidb/utils/contextlib.py262CODE
LOWidb/cli/command_tree.py25CODE
LOWidb/cli/main.py31CODE
LOWidb/cli/tests/wave9_contract_tests.py7CODE
LOWidb/cli/tests/interactive_output_tests.py7CODE
LOWidb/cli/tests/interactive_contract_tests.py7CODE
LOWidb/cli/tests/wave9_output_tests.py7CODE
LOWidb/cli/tests/command_tree_tests.py14CODE
LOWidb/common/plugin.py8CODE
LOWidb/common/tests/wave9_lifecycle_tests.py7CODE
LOWCI/test_plan_tests.py6CODE
LOWCI/check_documentation_links.py8CODE
LOWCI/check_documentation_links_tests.py6CODE
LOWCI/dependency_lock.py8CODE
LOWCI/provision_simulator.py13CODE
LOWCI/test_plan.py13CODE
LOWCI/end_to_end_shard.py12CODE
LOWCI/binary_sizes.py18CODE
LOWCI/dependency_lock_tests.py6CODE
LOWCI/binary_sizes_tests.py8CODE
LOWCI/generate_documentation.py19CODE
LOWCI/end_to_end_shard_tests.py6CODE
LOWCI/collect_diagnostics_tests.py8CODE
LOWCI/generate_documentation_tests.py8CODE
LOWCI/collect_diagnostics.py11CODE
LOWCI/provision_simulator_tests.py8CODE
LOWEndToEndTests/test_targets.py8CODE
LOWEndToEndTests/documentation.py30CODE
LOWEndToEndTests/harness.py14CODE
LOWEndToEndTests/test_services.py8CODE
LOWEndToEndTests/test_applications.py8CODE
LOWEndToEndTests/test_applications.py21CODE
LOWEndToEndTests/harness_tests.py12CODE
LOWEndToEndTests/harness_tests.py20CODE
LOWEndToEndTests/test_files.py12CODE
LOWEndToEndTests/test_application_listing.py8CODE
LOWEndToEndTests/test_system.py8CODE
LOWEndToEndTests/test_capture.py8CODE
LOWEndToEndTests/test_demos.py15CODE
LOWEndToEndTests/accessibility_tests.py15CODE
LOWEndToEndTests/install_fixtures.py12CODE
LOWEndToEndTests/test_install.py13CODE
LOWEndToEndTests/documentation_tests.py13CODE
LOWEndToEndTests/test_accessibility.py17CODE
LOWBenchmarks/floor.py14CODE
LOWBenchmarks/install_bench.py51CODE
2 more matches not shown…
Cross-Language Confusion10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHidb/grpc/client.py1966 await self.push(CODE
HIGHidb/grpc/tests/xctrace_tests.py156 stream.push(XctraceRecordResponse(log=b"during\n"))CODE
HIGHidb/grpc/tests/file_tests.py109 await client.push(CODE
HIGHidb/cli/tests/interactive_output_tests.py392 '{"bundle_id": "id", "name": null, "architectures": null}\n',CODE
HIGHidb/cli/commands/file.py281 return await client.push(CODE
HIGHidb/cli/commands/file.py381 await client.push(CODE
HIGHidb/common/tests/wave9_state_tests.py30 b'[{"udid": "alpha", "is_local": false, "pid": null, 'CODE
HIGHidb/common/tests/wave9_state_tests.py34 b'[{"udid": "alpha", "is_local": false, "pid": null, 'CODE
HIGHidb/common/tests/wave9_state_tests.py181 b'[{"udid": "unknown", "is_local": false, "pid": null, 'CODE
HIGHEndToEndTests/test_demos.py156 if shown.isHidden || shown.alpha == 0 { return false }CODE
Deep Nesting33 hits · 30 pts
SeverityFileLineSnippetContext
LOWhomebrew.py1011CODE
LOWhomebrew.py760CODE
LOWhomebrew.py818CODE
LOWidb/grpc/client.py458CODE
LOWidb/grpc/hid.py161CODE
LOWidb/grpc/xctest.py56CODE
LOWidb/grpc/status_details.py39CODE
LOWidb/grpc/management.py164CODE
LOWidb/grpc/install.py306CODE
LOWidb/grpc/tests/log_tests.py135CODE
LOWidb/grpc/tests/xctrace_tests.py85CODE
LOWidb/grpc/tests/launch_tests.py25CODE
LOWidb/utils/contextlib.py21CODE
LOWidb/utils/contextlib.py191CODE
LOWidb/cli/commands/file.py141CODE
LOWidb/common/tests/tar_tests.py62CODE
LOWidb/common/tests/wave9_state_tests.py103CODE
LOWidb/common/tests/wave9_state_tests.py452CODE
LOWCI/dependency_lock.py59CODE
LOWCI/test_plan.py113CODE
LOWCI/binary_sizes.py228CODE
LOWCI/generate_documentation.py505CODE
LOWEndToEndTests/harness.py1396CODE
LOWEndToEndTests/harness.py1819CODE
LOWEndToEndTests/harness.py3011CODE
LOWEndToEndTests/test_services.py62CODE
LOWEndToEndTests/test_services.py158CODE
LOWEndToEndTests/harness_tests.py1239CODE
LOWEndToEndTests/install_fixtures.py240CODE
LOWEndToEndTests/documentation_tests.py166CODE
LOWEndToEndTests/documentation_tests.py565CODE
LOWBenchmarks/install_bench.py309CODE
LOWBenchmarks/install_bench.py743CODE
AI Slop Vocabulary9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM…bTests/Tests/Unit/IDBCommandExecutorInstallTests.swift95 #expect(harness.executor.storageManager.application.persistedBundleIDs == ["com.example.sample"])COMMENT
MEDIUM…bTests/Tests/Unit/IDBCommandExecutorInstallTests.swift106 #expect(try await harness.target.application.installed(bundleID: "com.example.sample").bundle.path == artifact.path.COMMENT
MEDIUM…bTests/Tests/Unit/IDBCommandExecutorInstallTests.swift117 #expect(try harness.executor.storageManager.xctest.testDescriptor(withID: "com.example.sampletests").url.lastPathComCOMMENT
MEDIUM…bTests/Tests/Unit/IDBCommandExecutorInstallTests.swift161 #expect(artifact.path.deletingLastPathComponent().deletingLastPathComponent().standardizedFileURL.path == harness.exCOMMENT
MEDIUMCI/generate_documentation.py614 # The harness stops a recorder that is too slow to produce its first frame,COMMENT
MEDIUM⚡CI/generate_documentation_tests.py866 # The harness stops a recorder that is slow to produce frames, and theSTRING
MEDIUM⚡EndToEndTests/harness_tests.py1577 # this harness does not know says no more than no verdict.COMMENT
MEDIUMEndToEndTests/harness_tests.py2951 # Start the harness deadline only after a descendant owns the outputs.COMMENT
MEDIUM.github/workflows/ci.yml155 # boot one itself, so this job is the harness that supplies it, named byCOMMENT
Excessive Try-Catch Wrapping22 hits · 25 pts
SeverityFileLineSnippetContext
LOWidb/grpc/client.py400 except Exception as ex:CODE
LOWidb/grpc/management.py68 except Exception:CODE
LOWidb/grpc/management.py96 except Exception:CODE
LOWidb/cli/main.py93 except Exception:CODE
LOWidb/common/logging.py121 except Exception as ex:CODE
LOWidb/common/logging.py154 except Exception as ex:CODE
LOWidb/common/signal.py43 except Exception:CODE
MEDIUMidb/common/signal.py40def _close() -> None:CODE
LOW⚡idb/common/companion.py103 except Exception as e:CODE
LOW⚡idb/common/companion.py118 except Exception as e:CODE
LOWidb/common/companion.py333 except Exception:CODE
LOWidb/common/companion.py353 except Exception as e:CODE
LOWidb/common/plugin.py31 except Exception:CODE
LOWidb/common/plugin.py106 except Exception:CODE
LOWidb/common/plugin.py118 except Exception:CODE
LOWidb/common/plugin.py199 except Exception:CODE
LOWidb/common/plugin.py219 except Exception:CODE
LOWidb/common/plugin.py240 except Exception:CODE
MEDIUMREPL/CLI/ReplRunner.swift121 print("Error: \(error)")CODE
MEDIUMREPL/CLI/ReplayCommand.swift88 print("Error: \(error)")STRING
MEDIUMREPL/CLI/ReplayCommand.swift90 print("Error: \(error)")STRING
LOWEndToEndTests/harness.py2726 except Exception as error:CODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICAL…bTests/Tests/Unit/IDBCommandExecutorInstallTests.swift253 let pushed = harness.executor.storageManager.dylib.basePath.appendingPathComponent("nested/libSample.dylib")CODE
CRITICAL…ntrol/CoreDevice/SimulatorDisplayUpdatesProtocol.swift50 return event.status.pushing.elements.last.map(SimulatorDisplayProtocol.report(of:))CODE
Modern Structural Boilerplate8 hits · 8 pts
SeverityFileLineSnippetContext
LOWidb/grpc/client.py931 async def set_location(self, latitude: float, longitude: float) -> None:CODE
LOWidb/grpc/client.py1316 async def set_orientation(self, orientation: HIDOrientationType) -> None:CODE
LOWidb/grpc/client.py1331 async def set_hinge_angle(self, angle: float) -> None:CODE
LOWidb/grpc/tests/wave9_management_tests.py100 async def _set_companions(self, *companions: CompanionInfo) -> None:CODE
LOWidb/cli/main.py37__all__ = [CODE
LOWidb/common/types.py1035 async def set_location(self, latitude: float, longitude: float) -> None:CODE
LOWidb/common/types.py1124 async def set_orientation(self, orientation: HIDOrientationType) -> None:CODE
LOWidb/common/types.py1136 async def set_hinge_angle(self, angle: float) -> None:CODE
Fake / Example Data7 hits · 7 pts
SeverityFileLineSnippetContext
LOWidb/common/types.py499 "placeholder": AccessibilitySearchableKey.PLACEHOLDER,CODE
LOW…nit/SimulatorFrameworkBridge/AXWireContractTests.swift84 .placeholder: "placeholder",CODE
LOWFBAXCore/AccessibilityKeys.swift31 case placeholder = "placeholder"CODE
LOWFBAXCore/AccessibilityKeys.swift90 case placeholder = "placeholder"CODE
LOWFBAXCore/AccessibilityLegacyRendering.swift74 put(placeholder, "placeholder")CODE
LOW…Tests/Tests/Unit/AccessibilitySerializationTests.swift1261 for unrequested in ["identifier", "type", "frame", "enabled", "pid", "traits", "placeholder", "is_remote"] {CODE
LOW…Tests/Tests/Unit/AccessibilitySerializationTests.swift1319 case .placeholder: return "placeholder"CODE
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMidb/grpc/tests/log_tests.py52 # Create a mock client with mocked stubCOMMENT
MEDIUMidb/grpc/tests/log_tests.py57 # Create an async iterator for the messagesCOMMENT
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOWidb/grpc/client.py1689CODE
LOWidb/grpc/client.py1840CODE
LOWidb/common/types.py900CODE
LOWidb/common/types.py1289CODE
LOWCI/generate_documentation_tests.py102CODE
LOWEndToEndTests/harness.py604CODE
Redundant / Tautological Comments2 hits · 4 pts
SeverityFileLineSnippetContext
LOWbuild.sh11# Check if xattrs are supported on the current filesystemCOMMENT
LOW⚡build.sh65# Check if ditto is available for xattr-free copyingCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWidb/utils/contextlib.py255 def helper(*args, **kwds):CODE