AI Slop Code Risk Monitor

facebook/idb

SlopCodeMonitor badge for facebook/idb Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

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

5.2 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for facebook/idb, a Swift project with 5,402 GitHub stars. SynthScan examined 310,455 lines of code across 1749 source files, recording 1483 pattern matches distributed across 17 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-31
Last Push
5.4K
Stars
Swift
Language
310.5K
Lines of Code
1.7K
Files
1.5K
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 18.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.4/100 · LOW

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

Agent Over-Engineering Ratio 17.4/100 · LOW

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

PR Review Velocity Impact 24.4/100 · LOW

Which changes need focused human review? 1483 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 27MEDIUM 49LOW 1405

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 1483 distinct pattern matches across 17 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 Identifiers1053 hits · 983 pts
SeverityFileLineSnippetContext
LOW⚡homebrew_tests.py238 def test_latest_is_the_newest_release(self):CODE
LOW⚡homebrew_tests.py244 def test_an_unknown_tag_is_reported(self):CODE
LOW⚡homebrew_tests.py253 def test_a_run_of_another_workflow_is_refused(self):CODE
LOW⚡homebrew_tests.py262 def test_a_malformed_run_is_refused(self):CODE
LOW⚡homebrew_tests.py266 def test_pull_request_resolves_through_its_head(self):CODE
LOW⚡homebrew_tests.py331 def test_an_artifact_redirect_without_a_location_is_reported(self):CODE
LOW⚡homebrew_tests.py338 def test_artifacts_need_a_token(self):CODE
LOW⚡homebrew_tests.py343 def test_an_exhausted_rate_limit_suggests_a_token(self):CODE
LOW⚡homebrew_tests.py354 def test_token_prefers_the_environment(self):CODE
LOW⚡homebrew_tests.py361 def test_token_falls_back_to_gh(self):CODE
LOW⚡homebrew_tests.py371 def test_matching_formulae_pass(self):CODE
LOW⚡homebrew_tests.py375 def test_a_tampered_formula_is_refused(self):CODE
LOW⚡homebrew_tests.py381 def test_a_missing_formula_is_refused(self):CODE
LOW⚡homebrew_tests.py389 def test_runner_paths_become_the_downloaded_assets(self):CODE
LOW⚡homebrew_tests.py422 def test_a_release_facebook_fb_does_not_carry_is_refused(self):CODE
LOW⚡homebrew_tests.py428 def test_a_stale_clone_of_facebook_fb_installs_nothing(self):CODE
LOW⚡homebrew_tests.py434 def test_a_release_leaves_facebook_fb_installs_for_brew_to_upgrade(self):CODE
LOW⚡homebrew_tests.py649 def test_cursor_stays_within_the_rows(self):CODE
LOW⚡homebrew_tests.py657 def test_enter_installs_the_selected_build(self):CODE
LOW⚡homebrew_tests.py662 def test_tab_switches_and_keeps_each_cursor(self):CODE
LOW⚡homebrew_tests.py670 def test_an_uninstallable_build_explains_itself(self):CODE
LOW⚡homebrew_tests.py676 def test_enter_on_an_empty_tab_does_nothing(self):CODE
LOWhomebrew_tests.py281 def test_a_short_sha_is_expanded_before_looking_up_runs(self):CODE
LOWhomebrew_tests.py295 def test_a_commit_without_a_passing_run_is_reported(self):CODE
LOWhomebrew_tests.py305 def test_anything_else_is_a_branch(self):CODE
LOWhomebrew_tests.py319 def test_artifact_redirect_is_followed_without_the_token(self):CODE
LOWhomebrew_tests.py401 def test_an_asset_the_build_lacks_is_reported(self):CODE
LOWhomebrew_tests.py411 def test_a_release_installs_from_facebook_fb_without_the_local_tap(self):CODE
LOWhomebrew_tests.py447 def test_a_release_replaces_local_builds_without_asking(self):CODE
LOWhomebrew_tests.py459 def test_a_ci_build_points_at_the_downloaded_assets(self):CODE
LOWhomebrew_tests.py471 def test_a_run_without_the_wheel_is_reported(self):CODE
LOWhomebrew_tests.py477 def test_replacing_a_facebook_fb_install_needs_confirmation(self):CODE
LOWhomebrew_tests.py493 def test_a_confirmed_replacement_removes_the_metapackage_too(self):CODE
LOWhomebrew_tests.py502 def test_yes_replaces_without_asking(self):CODE
LOWhomebrew_tests.py518 def test_replacing_an_earlier_local_build_does_not_ask(self):CODE
LOWhomebrew_tests.py528 def test_reports_each_formula_and_the_local_build(self):CODE
LOWhomebrew_tests.py547 def test_the_local_build_is_not_reported_for_a_stable_install(self):CODE
LOWhomebrew_tests.py557 def test_removes_local_builds_and_restores_the_stable_formula(self):CODE
LOWhomebrew_tests.py573 def test_ci_rows_say_why_a_run_cannot_be_installed(self):CODE
LOWhomebrew_tests.py602 def test_release_rows_offer_only_the_release_facebook_fb_carries(self):CODE
LOWhomebrew_tests.py618 def test_release_rows_skip_drafts_and_list_newest_first(self):CODE
LOWhomebrew_tests.py691 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.py269def _quiescence_event_from_grpc(CODE
LOWidb/grpc/client.py298def log_and_handle_exceptions(grpc_method_name: str): # pyre-ignoreCODE
LOWidb/grpc/client.py716 async def accessibility_wait_result(CODE
LOWidb/grpc/client.py749 async def _accessibility_wait_result(CODE
LOWidb/grpc/client.py1095 async def clear_delivered_notifications(self, bundle_id: str) -> None:CODE
LOWidb/grpc/client.py1715 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/management.py88async def _check_domain_socket_is_bound(path: str) -> bool:CODE
LOWidb/grpc/target.py81def 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
LOWidb/grpc/accessibility.py18def accessibility_info_to_grpc(CODE
LOWidb/grpc/tests/hid_tests.py56 def test_hinge_rejects_invalid_angles(self) -> None:CODE
993 more matches not shown…
Over-Commented Block200 hits · 182 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.sh921# Resources/COMMENT
LOW…eworkBridge/SimulatorFrameworkBridge-Bridging-Header.h1/*COMMENT
LOWSimulatorFrameworkBridge/Runtime/AccessibilityRuntime.m1/*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
LOWSimulatorFrameworkBridge/Swift/LockScreenService.swift101}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…Tests/Tests/Unit/TestManager/ActivityRecordTests.swift121 #expect(description.contains("Tap Login Button"), "Description must include the title.")COMMENT
LOWREPLTests/ReplRunTelemetryTests.swift81 #expect(ReplRunStage.connect.rawValue == "connect")COMMENT
LOWidb/utils/contextlib.py161 raiseCOMMENT
LOWidb/common/types.py301COMMENT
LOWidb/common/types.py321 # both cannot be sent. One factor is applied to both axes and the image isCOMMENT
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.testHostAppBundleID) == nil)COMMENT
LOW…onLibTests/Tests/Unit/CompanionLibTransientTests.swift101 reportAttachments: true,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/SimulatorHIDEvent.swift201 /// contact into the opposite edge.COMMENT
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
LOWFBSimulatorControl/HID/SimulatorDTUHIDConnection.swift161COMMENT
LOW…SimulatorControl/Commands/SimulatorAudioCommands.swift201 }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
LOW…ulatorBridgeProtocol/BridgeAXTranslatorAttribute.swift1/*COMMENT
LOW…ulatorBridgeProtocol/BridgeAXTranslatorAttribute.swift181 /// A per-element identity, stable for as long as the element lives. No counterpart exists in theCOMMENT
LOWFBSimulatorBridgeProtocol/BridgeAXClientType.swift1/*COMMENT
LOWFBSimulatorBridgeProtocol/BridgeAXTranslatorRole.swift1/*COMMENT
LOW…ts/Tests/Smoke/Support/ProvidedSimulatorTestCase.swift21/// A test case for tests that need a booted simulator but do not own one.COMMENT
LOW…nit/SimulatorFrameworkBridge/AXWireContractTests.swift21 // MARK: - Node-attribute keys (the `_XCTD_fetchAttributes:` request/echo keys)COMMENT
LOW…trolTests/Tests/Unit/HID/SimulatorPurpleHIDTests.swift101 let data = SimulatorPurpleHID().lockDeviceEvent()COMMENT
LOW…s/Tests/Unit/HID/SimulatorHIDEventRenderingTests.swift181 #expect(touches.filter { $0.0 == .up }.count == 1)COMMENT
LOW…latorControlTests/Tests/Unit/XPC/XPCEncoderTests.swift61 #expect(xpc_get_type(object) == XPC_TYPE_DICTIONARY)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}COMMENT
LOWTools/SimScope/SimScope/AXTree.swift561 /// Merge a freshly read tree into the one already on screen, keeping the object for every key thatCOMMENT
LOWTools/SimScope/SimScope/DeviceWindowController.swift121COMMENT
140 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.sh703# =============================================================================COMMENT
MEDIUMbuild.sh705# =============================================================================COMMENT
MEDIUMbuild.sh1126# =============================================================================COMMENT
MEDIUMbuild.sh1128# =============================================================================COMMENT
MEDIUMbuild.sh1224# =============================================================================COMMENT
MEDIUMbuild.sh1226# =============================================================================COMMENT
MEDIUMbuild.sh1304# =============================================================================COMMENT
MEDIUMbuild.sh1306# =============================================================================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.py607except 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.py208except ProcessLookupError:CODE
HIGHEndToEndTests/harness.py488except asyncio.TimeoutError:CODE
HIGHEndToEndTests/harness.py947except OSError:CODE
HIGHEndToEndTests/harness.py3022except (BrokenPipeError, ConnectionResetError):CODE
HIGHEndToEndTests/harness.py3328except (OSError, asyncio.TimeoutError):CODE
HIGHEndToEndTests/harness.py1208except subprocess.TimeoutExpired:CODE
HIGHBenchmarks/install_bench.py194except OSError:CODE
Unused Imports72 hits · 68 pts
SeverityFileLineSnippetContext
LOWhomebrew.py32CODE
LOWidb/grpc/port_forward.py7CODE
LOWidb/grpc/hid.py8CODE
LOWidb/grpc/hid.py8CODE
LOWidb/grpc/tests/xctrace_tests.py7CODE
LOWidb/grpc/tests/dap_tests.py7CODE
LOWidb/grpc/tests/port_forward_tests.py7CODE
LOWidb/grpc/tests/debugserver_tests.py7CODE
LOWidb/grpc/tests/stream_test_support.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/profile_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/cli/tests/forward_tests.py7CODE
LOWidb/cli/commands/forward.py7CODE
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/library_package_tests.py8CODE
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/library_package.py34CODE
LOWCI/end_to_end_shard_tests.py6CODE
LOWCI/xcframework_zips_tests.py8CODE
LOWCI/xcframework_zips.py29CODE
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_profile.py8CODE
LOWEndToEndTests/test_applications.py8CODE
LOWEndToEndTests/test_applications.py21CODE
LOWEndToEndTests/test_recording.py12CODE
LOWEndToEndTests/harness_tests.py12CODE
LOWEndToEndTests/harness_tests.py20CODE
LOWEndToEndTests/test_files.py12CODE
LOWEndToEndTests/test_application_listing.py8CODE
12 more matches not shown…
AI Slop Vocabulary17 hits · 60 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.py1627 # this harness does not know says no more than no verdict.COMMENT
MEDIUMEndToEndTests/harness_tests.py3125 # Start the harness deadline only after a descendant owns the outputs.COMMENT
MEDIUM⚡…sts/Unit/Management/DeviceNotificationQueueTests.swift79 #expect(harness.events.isEmpty)COMMENT
MEDIUM⚡…sts/Unit/Management/DeviceNotificationQueueTests.swift83 #expect(harness.events == [1, 2, 3])COMMENT
MEDIUM⚡…sts/Unit/Management/DeviceNotificationQueueTests.swift84 #expect(harness.peakHandlers == 1)COMMENT
MEDIUM…sts/Unit/Management/DeviceNotificationQueueTests.swift95 #expect(harness.events == [1, 2])COMMENT
MEDIUM…sts/Unit/Management/DeviceNotificationQueueTests.swift96 #expect(harness.peakHandlers == 1)COMMENT
MEDIUM⚡…sts/Unit/Management/DeviceNotificationQueueTests.swift130 #expect(harness.events.isEmpty)COMMENT
MEDIUM⚡…sts/Unit/Management/DeviceNotificationQueueTests.swift134 #expect(harness.events == [1, 4])COMMENT
MEDIUM⚡…sts/Unit/Management/DeviceNotificationQueueTests.swift135 #expect(harness.peakHandlers == 1)COMMENT
MEDIUM.github/workflows/ci.yml183 # boot one itself, so this job is the harness that supplies it, named byCOMMENT
Cross-Language Confusion11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHidb/grpc/client.py2064 await self.push(CODE
HIGHidb/grpc/tests/target_tests.py190 for extended in [b"", b"{}", b'{"other": "value"}', b"[]", b'{"device": null}']: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 Nesting37 hits · 34 pts
SeverityFileLineSnippetContext
LOWhomebrew.py1032CODE
LOWhomebrew.py781CODE
LOWhomebrew.py839CODE
LOWidb/grpc/client.py485CODE
LOWidb/grpc/client.py1583CODE
LOWidb/grpc/profile.py124CODE
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/port_forward_tests.py156CODE
LOWidb/grpc/tests/launch_tests.py171CODE
LOWidb/utils/contextlib.py21CODE
LOWidb/utils/contextlib.py191CODE
LOWidb/cli/tests/forward_tests.py58CODE
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.py133CODE
LOWCI/binary_sizes.py228CODE
LOWCI/generate_documentation.py505CODE
LOWEndToEndTests/harness.py1443CODE
LOWEndToEndTests/harness.py1868CODE
LOWEndToEndTests/harness.py3079CODE
LOWEndToEndTests/test_services.py69CODE
LOWEndToEndTests/test_services.py174CODE
LOWEndToEndTests/harness_tests.py1240CODE
LOWEndToEndTests/install_fixtures.py240CODE
LOWEndToEndTests/documentation_tests.py166CODE
LOWEndToEndTests/documentation_tests.py565CODE
LOWBenchmarks/install_bench.py309CODE
LOWBenchmarks/install_bench.py751CODE
Excessive Try-Catch Wrapping24 hits · 26 pts
SeverityFileLineSnippetContext
LOWidb/grpc/client.py426 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.py336 except Exception:CODE
LOWidb/common/companion.py356 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
LOWidb/common/plugin.py291 except Exception:CODE
MEDIUMREPL/CLI/ReplRunner.swift130 print("Error: \(error)")CODE
MEDIUMREPL/CLI/main.swift149 print("Error: \(error)")STRING
MEDIUMREPL/CLI/ReplayCommand.swift88 print("Error: \(error)")STRING
MEDIUMREPL/CLI/ReplayCommand.swift90 print("Error: \(error)")STRING
LOWEndToEndTests/harness.py2794 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.py1054 async def set_location(self, latitude: float, longitude: float) -> None:CODE
LOWidb/grpc/client.py1442 async def set_orientation(self, orientation: HIDOrientationType) -> None:CODE
LOWidb/grpc/client.py1457 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.py1212 async def set_location(self, latitude: float, longitude: float) -> None:CODE
LOWidb/common/types.py1302 async def set_orientation(self, orientation: HIDOrientationType) -> None:CODE
LOWidb/common/types.py1314 async def set_hinge_angle(self, angle: float) -> None:CODE
Fake / Example Data7 hits · 7 pts
SeverityFileLineSnippetContext
LOWidb/common/types.py534 "placeholder": AccessibilitySearchableKey.PLACEHOLDER,CODE
LOWFBSimulatorAX/Model/AccessibilityKeys.swift31 case placeholder = "placeholder"CODE
LOWFBSimulatorAX/Model/AccessibilityKeys.swift90 case placeholder = "placeholder"CODE
LOWFBSimulatorAX/Model/AccessibilityLegacyRendering.swift74 put(placeholder, "placeholder")CODE
LOW…/Tests/Unit/Tree/AccessibilitySerializationTests.swift1285 for unrequested in ["identifier", "type", "frame", "enabled", "pid", "traits", "placeholder", "is_remote"] {CODE
LOW…/Tests/Unit/Tree/AccessibilitySerializationTests.swift1343 case .placeholder: return "placeholder"CODE
LOWFBSimulatorAXTests/Tests/Unit/Model/AXKeysTests.swift35 .placeholder: "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.py1748CODE
LOWidb/grpc/client.py1929CODE
LOWidb/common/types.py1076CODE
LOWidb/common/types.py1476CODE
LOWCI/generate_documentation_tests.py102CODE
LOWEndToEndTests/harness.py653CODE
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
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMidb/grpc/tests/inject_audio_tests.py78CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWidb/utils/contextlib.py255 def helper(*args, **kwds):CODE