Repository Analysis

facebook/idb

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

3.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of facebook/idb, a Swift project with 5,302 GitHub stars. SynthScan v2.0 examined 152,230 lines of code across 1100 source files, recording 509 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 3.8 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.8
Adjusted Score
3.8
Raw Score
100%
Time Factor
2026-08-28
Last Push
5.3K
Stars
Swift
Language
152.2K
Lines of Code
1.1K
Files
509
Pattern Hits
2026-08-29
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 6MEDIUM 19LOW 484

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 509 distinct pattern matches across 14 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 Identifiers224 hits · 228 pts
SeverityFileLineSnippetContext
LOWidb/grpc/crash.py39def _to_crash_log_query_proto(query: CrashLogQuery) -> CrashLogQueryProto:CODE
LOWidb/grpc/dap.py132async def read_next_dap_protocol_message(stream: StreamReader) -> bytes:CODE
LOWidb/grpc/xctrace.py35async def xctrace_drain_until_running(CODE
LOWidb/grpc/xctrace.py67def formatted_time_to_seconds(formatted_time: str | None) -> float | None:CODE
LOWidb/grpc/client.py212def log_and_handle_exceptions(grpc_method_name: str): # pyre-ignoreCODE
LOWidb/grpc/client.py1300 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.py19async def instruments_generate_bytes(CODE
LOWidb/grpc/instruments.py35async def instruments_drain_until_running(CODE
LOWidb/grpc/instruments.py50async def instruments_drain_until_stop(CODE
LOWidb/grpc/instruments.py68def translate_instruments_timings(CODE
LOWidb/grpc/management.py88async def _check_domain_socket_is_bound(path: str) -> bool:CODE
LOWidb/grpc/target.py56def screen_dimensions_to_grpc(dimensions: ScreenDimensions) -> GrpcScreenDimensions:CODE
LOWidb/grpc/install.py80async def _generate_framework_chunks(CODE
LOWidb/grpc/tests/log_tests.py31 async def test_tail_specific_logs_handles_split_multibyte_at_boundary(CODE
LOWidb/grpc/tests/target_tests.py15 def test_merge_connected_targets(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py41 def test_default_options_are_an_empty_request(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py63 def test_compression_quality_is_carried(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py69 def test_an_unset_compression_quality_asks_for_the_default(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py87 def test_no_crop_captures_the_full_screen(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py90 def test_a_scale_factor_is_carried(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py95 def test_fit_bounds_are_carried_with_zero_meaning_unbounded(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py114 def test_no_scale_is_a_native_capture(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py117 def test_a_factor_and_a_bounding_box_together_are_rejected(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py125 def test_a_compression_quality_outside_the_range_is_rejected(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py140 def test_a_fit_bound_below_one_is_rejected(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py152 def test_the_screenshot_carries_every_measurement(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py171 def test_a_screenshot_is_still_bytes(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py179 def test_an_unreported_measurement_is_none(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py188 def test_the_repr_says_when_a_measurement_is_missing(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py208 def test_an_old_companion_still_serves_a_default_screenshot(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py219 def test_an_old_companion_cannot_serve_a_configured_screenshot(self) -> None:CODE
LOWidb/grpc/tests/screenshot_tests.py230 def test_a_format_the_companion_did_not_encode_is_rejected(self) -> None:CODE
LOWidb/grpc/tests/xctest_tests.py17 async def test_extract_paths_from_xctestrun(self) -> None:CODE
LOWidb/grpc/tests/management_tests.py62def _build_fake_client_factory(CODE
LOWidb/grpc/tests/management_tests.py116 async def test_returns_targets_when_all_companions_describe_successfully(CODE
LOWidb/grpc/tests/management_tests.py131 async def test_timeout_with_prune_removes_companion_and_omits_target(CODE
LOWidb/grpc/tests/management_tests.py145 async def test_timeout_without_prune_keeps_companion(self) -> None:CODE
LOWidb/grpc/tests/management_tests.py157 async def test_describe_exception_with_prune_removes_companion(self) -> None:CODE
LOWidb/grpc/tests/management_tests.py169 async def test_partial_success_returns_only_described_targets(self) -> None:CODE
LOWidb/grpc/tests/xctest_log_parser.py27 def test_ignores_line_missing_class_name(self) -> None:CODE
LOWidb/grpc/tests/xctest_log_parser.py38 def test_ignores_line_with_mismatched_types(self) -> None:CODE
LOWidb/grpc/tests/xctest_log_parser.py49 def test_ignores_line_that_is_too_long(self) -> None:CODE
LOWidb/grpc/tests/xctest_log_parser.py61 def test_ignores_log_lines_outside_test(self) -> None:CODE
LOWidb/grpc/tests/xctest_log_parser.py67 def test_adds_lines_to_distinct_tests(self) -> None:CODE
LOWidb/grpc/tests/xctest_log_parser.py87 def test_handles_mismatched_starts(self) -> None:CODE
LOWidb/grpc/tests/client_metadata_tests.py17 def test_client_resolves_scoped_invocation_metadata(self) -> None:CODE
LOWidb/cli/main.py142def get_default_companion_path() -> str | None:CODE
LOWidb/cli/tests/parser_tests.py793 async def test_set_preference_forwards_name(self) -> None:CODE
LOWidb/cli/tests/parser_tests.py800 async def test_set_preference_with_domain(self) -> None:CODE
LOWidb/cli/tests/parser_tests.py809 async def test_set_autofill_passwords(self) -> None:CODE
LOWidb/cli/tests/parser_tests.py816 async def test_set_hardware_keyboard_routes_through_generic_preference(CODE
LOWidb/cli/tests/parser_tests.py825 async def test_set_locale_routes_through_generic_preference(self) -> None:CODE
LOWidb/cli/tests/parser_tests.py832 async def test_get_locale_routes_through_generic_preference(self) -> None:CODE
LOWidb/cli/tests/parser_tests.py1478 async def test_screenshot_will_not_put_json_and_an_image_on_stdout(self) -> None:CODE
LOWidb/cli/tests/parser_tests.py1486 async def test_accessibility_info_all(self) -> None:CODE
LOWidb/cli/tests/parser_tests.py1494 async def test_accessibility_info_all_nested(self) -> None:CODE
LOWidb/cli/tests/parser_tests.py1502 async def test_accessibility_info_at_point(self) -> None:CODE
164 more matches not shown…
Over-Commented Block155 hits · 155 pts
SeverityFileLineSnippetContext
LOWproject.yml1# @generated by the idb project.yml generator -- do not edit by hand.COMMENT
LOWbuild.sh481# *.bundle SwiftPM resource bundles (Bundle.module -> Bundle.main)COMMENT
LOWSimulatorFrameworkBridge/SystemConfigurationPrivate.h1/*COMMENT
LOWSimulatorFrameworkBridge/AccessibilityRuntime.m421 bool (*automationEnabled)(void);COMMENT
LOWSimulatorFrameworkBridge/AccessibilityRuntime.m801 }COMMENT
LOWSimulatorFrameworkBridge/AccessibilityRuntime.m1101 }COMMENT
LOWSimulatorFrameworkBridge/AXRuntimePrivate.h1/*COMMENT
LOWSimulatorFrameworkBridge/RunningBoardServicesPrivate.h1/*COMMENT
LOWSimulatorFrameworkBridge/AXPTranslationPrivate.h1/*COMMENT
LOWSimulatorFrameworkBridge/PhotosPrivate.h1/*COMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m1/*COMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m61// Asks the walk to explain each element the accessibility server reports unreachable, by hit-testing thatCOMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m81static NSString *const kNodeExplainedBy = @"FBExplainedBy";COMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m101// which is what distinguishes "this tree is the previous screen" from "this tree happens to look alike".COMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m121static NSString *const kRequestAssertValue = @"assertValue";COMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m141// rather than about any one application.COMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m161// Reported on every describe rather than only when it changes: a caller cannot otherwise tell a tree readCOMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m221COMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m241COMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m301// contract, mirrored host-side by `FBAXWire.Node.defaultFetchList`.COMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m901 );COMMENT
LOWSimulatorFrameworkBridge/AccessibilityService.m1661 }COMMENT
LOWSimulatorFrameworkBridge/AccessibilityRuntime.h1/*COMMENT
LOWSimulatorFrameworkBridge/AccessibilityRuntime.h21//COMMENT
LOWXCTestBootstrap/XCTestBootstrap.h1/*COMMENT
LOWXCTestBootstrap/XCTestBootstrap.h21 #import <XCTestBootstrap/XCTestBootstrap-Swift.h>COMMENT
LOW…rap/TestManager/FBTestManagerAPIMediatorIDEInterface.m1/*COMMENT
LOW…rap/TestManager/FBTestManagerAPIMediatorIDEInterface.m81/// After _XCT_launchProcessWithPath:bundleID:arguments:environmentVariables: is called,COMMENT
LOWXCTestBootstrap/TestManager/FBRemoteAutomationRuntime.m1/*COMMENT
LOW…otstrap/TestManager/FBRemoteAutomationConnection.swift41COMMENT
LOWXCTestBootstrap/TestManager/FBTestBundleDTXConnection.m21#import <DTXConnectionServices/DTXConnection.h>COMMENT
LOWREPLTests/ReplRunTelemetryTests.swift101 // renaming a case must not silently rename the column value.COMMENT
LOWidb/utils/contextlib.py161 raiseCOMMENT
LOWidb/common/types.py181 # Lossy formats only, in (0, 1]; None means the companion's default. TheCOMMENT
LOWidb/common/types.py241COMMENT
LOWFBControlCore/FBControlCore.h1/*COMMENT
LOWFBControlCore/FBControlCore.h21#import <FBControlCore/FBProcessBuilder.h>COMMENT
LOW…trolCore/Configuration/FBScreenshotConfiguration.swift81COMMENT
LOW…trolCore/Configuration/FBScreenshotConfiguration.swift261 ///COMMENT
LOW…trolCore/Configuration/FBScreenshotConfiguration.swift361 throw FBScreenshotGeometryError.fitBoundNotPositive(bound)COMMENT
LOWFBControlCore/Async/AsyncResourceContext.swift1/*COMMENT
LOWFBControlCore/Async/AsyncResourceContext.swift21/// try await withAsyncResource(COMMENT
LOWFBControlCore/Async/AsyncPolling.swift1/*COMMENT
LOWFBControlCore/Async/AsyncPolling.swift41}COMMENT
LOWFBControlCore/Async/AsyncFBFutureBridge.swift141/// Force-casts an `FBMutableFuture<T>` to its `FBFuture<T>` parent type.COMMENT
LOWFBControlCore/Async/AsyncFBFutureBridge.swift181 var teardown: FBMutableFuture<AnyObject>?COMMENT
LOWFBControlCore/Async/AsyncFBFutureBridge.swift261/// returning `FBFuture<T>` while implementing the work natively inCOMMENT
LOWFBControlCore/Commands/FBAccessibilityResponse.swift181 /// Where the read spent its time, when the backend measured it.COMMENT
LOWFBControlCore/Commands/FBAccessibilityDocument.swift201 /// node count, and a truncated read never saw the rest of the tree.COMMENT
LOWFBControlCore/Commands/FBAccessibilityDocument.swift261/// tree, which cannot see another process compositing on top of it — a system alert or SpringBoardCOMMENT
LOWFBControlCore/Commands/FBAccessibilityDocument.swift281 /// actually read rather than to a heuristic over geometry.COMMENT
LOWFBControlCore/Commands/FBAccessibilityDocument.swift301 ///COMMENT
LOWFBControlCore/Commands/FBAccessibilityDocument.swift541COMMENT
LOWFBControlCore/Commands/FBAccessibilityDocument.swift601}COMMENT
LOWFBControlCore/Commands/FBAccessibilityDocument.swift621 /// Pulling the tree out of the application.COMMENT
LOWFBControlCore/Commands/FBAccessibilityDocument.swift741 case assertedCOMMENT
LOWFBControlCore/Commands/FBAccessibilityDocument.swift801 /// Not part of the emitted schema and absent from `CodingKeys`: it is an *input* to deciding why anCOMMENT
LOWFBControlCore/Commands/FBAccessibilityKeys.swift41 /// Only the guest lanes are affected. `axIsHittable()` returns nil on the translator lane, which has noCOMMENT
LOWFBControlCore/Commands/FBTargetCommandCache.swift1/*COMMENT
LOW…ntrolCore/Commands/FBAccessibilityRequestOptions.swift41/// case list.COMMENT
95 more matches not shown…
Unused Imports62 hits · 62 pts
SeverityFileLineSnippetContext
LOWidb/grpc/crash.py8CODE
LOWidb/grpc/dap.py12CODE
LOWidb/grpc/xctrace.py12CODE
LOWidb/grpc/hid.py8CODE
LOWidb/grpc/hid.py8CODE
LOWidb/grpc/stream.py11CODE
LOWidb/grpc/stream.py11CODE
LOWidb/grpc/xctest.py12CODE
LOWidb/grpc/xctest.py12CODE
LOWidb/grpc/xctest.py12CODE
LOWidb/grpc/xctest.py12CODE
LOWidb/grpc/instruments.py11CODE
LOWidb/grpc/launch.py10CODE
LOWidb/grpc/target.py10CODE
LOWidb/grpc/install.py11CODE
LOWidb/grpc/install.py11CODE
LOWidb/grpc/xctest_log_parser.py9CODE
LOWidb/grpc/xctest_log_parser.py9CODE
LOWidb/grpc/xctest_log_parser.py9CODE
LOWidb/utils/contextlib.py262CODE
LOWidb/utils/typing.py8CODE
LOWidb/cli/main.py16CODE
LOWidb/cli/main.py16CODE
LOWidb/cli/main.py16CODE
LOWidb/cli/commands/approve.py9CODE
LOWidb/cli/commands/log.py9CODE
LOWidb/cli/commands/log.py9CODE
LOWidb/cli/commands/shell.py11CODE
LOWidb/cli/commands/xctest.py13CODE
LOWidb/cli/commands/xctest.py13CODE
LOWidb/cli/commands/revoke.py9CODE
LOWidb/cli/commands/file.py14CODE
LOWidb/cli/commands/file.py14CODE
LOWidb/cli/commands/app.py10CODE
LOWidb/cli/commands/target.py12CODE
LOWidb/cli/commands/video.py10CODE
LOWidb/cli/commands/video.py10CODE
LOWidb/common/misc.py9CODE
LOWidb/common/command.py10CODE
LOWidb/common/command.py10CODE
LOWidb/common/command.py10CODE
LOWidb/common/companion_set.py16CODE
LOWidb/common/companion_set.py16CODE
LOWidb/common/tar.py15CODE
LOWidb/common/tar.py15CODE
LOWidb/common/hid.py9CODE
LOWidb/common/hid.py9CODE
LOWidb/common/hid.py9CODE
LOWidb/common/hid.py9CODE
LOWidb/common/format.py12CODE
LOWidb/common/format.py12CODE
LOWidb/common/format.py12CODE
LOWidb/common/format.py12CODE
LOWidb/common/types.py18CODE
LOWidb/common/types.py18CODE
LOWidb/common/types.py18CODE
LOWidb/common/networking.py13CODE
LOWidb/common/networking.py13CODE
LOWidb/common/plugin.py8CODE
LOWidb/common/args.py10CODE
2 more matches not shown…
Decorative Section Separators12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMbuild.sh40# =============================================================================COMMENT
MEDIUMbuild.sh42# =============================================================================COMMENT
MEDIUMbuild.sh262# =============================================================================COMMENT
MEDIUMbuild.sh264# =============================================================================COMMENT
MEDIUMbuild.sh343# =============================================================================COMMENT
MEDIUMbuild.sh345# =============================================================================COMMENT
MEDIUMbuild.sh603# =============================================================================COMMENT
MEDIUMbuild.sh605# =============================================================================COMMENT
MEDIUMbuild.sh651# =============================================================================COMMENT
MEDIUMbuild.sh653# =============================================================================COMMENT
MEDIUMbuild.sh722# =============================================================================COMMENT
MEDIUMbuild.sh724# =============================================================================COMMENT
Excessive Try-Catch Wrapping21 hits · 24 pts
SeverityFileLineSnippetContext
LOWidb/grpc/client.py319 except Exception as ex:CODE
LOWidb/grpc/management.py68 except Exception:CODE
LOWidb/grpc/management.py96 except Exception:CODE
LOWidb/cli/main.py373 except Exception:CODE
LOWidb/common/logging.py109 except Exception as ex:CODE
LOWidb/common/logging.py142 except Exception as ex:CODE
LOWidb/common/signal.py43 except Exception:CODE
MEDIUMidb/common/signal.py40def _close() -> None:CODE
LOWidb/common/companion.py103 except Exception as e:CODE
LOWidb/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.swift124 print("Error: \(error)")CODE
MEDIUMREPL/CLI/ReplayCommand.swift88 print("Error: \(error)")STRING
MEDIUMREPL/CLI/ReplayCommand.swift91 print("Error: \(error)")STRING
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHidb/grpc/client.py1610 await self.push(CODE
HIGHidb/cli/commands/file.py282 return await client.push(CODE
HIGHidb/cli/commands/file.py382 await client.push(CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHCompanionDiscoveryTests/TestSupport.swift0#!/bin/bash path="" prev="" for arg in "$@"; do if [ "$prev" = "--grpc-domain-sock" ]; then path="$arg"; fi prev="$arg" STRING
HIGHCompanionDiscoveryTests/CompanionManagerTests.swift0#!/bin/bash path="" prev="" for arg in "$@"; do if [ "$prev" = "--grpc-domain-sock" ]; then path="$arg"; fi prev="$arg" STRING
HIGHCompanionDiscoveryTests/CompanionSpawnerTests.swift0#!/bin/bash path="" prev="" for arg in "$@"; do if [ "$prev" = "--grpc-domain-sock" ]; then path="$arg"; fi prev="$arg" STRING
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippetContext
LOWidb/grpc/client.py377CODE
LOWidb/grpc/hid.py155CODE
LOWidb/grpc/xctest.py56CODE
LOWidb/grpc/management.py164CODE
LOWidb/grpc/install.py109CODE
LOWidb/utils/contextlib.py21CODE
LOWidb/utils/contextlib.py191CODE
LOWidb/cli/commands/file.py142CODE
LOWidb/common/companion_set.py30CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMidb/grpc/tests/log_tests.py50 # Create a mock client with mocked stubCOMMENT
MEDIUMidb/grpc/tests/log_tests.py55 # Create an async iterator for the messagesCOMMENT
MEDIUMidb/common/companion_set.py61 # Create the state fileCOMMENT
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOWidb/common/types.py378 "placeholder": AccessibilitySearchableKey.PLACEHOLDER,CODE
LOWFBControlCore/Commands/FBAccessibilityDocument.swift1119 put(placeholder, "placeholder")CODE
LOWFBControlCore/Commands/FBAccessibilityKeys.swift32 case placeholder = "placeholder"CODE
LOWFBControlCore/Commands/FBAccessibilityKeys.swift103 case placeholder = "placeholder"CODE
LOW…sts/Tests/Unit/FBAccessibilitySerializationTests.swift1096 for unrequested in ["identifier", "type", "frame", "enabled", "pid", "traits", "placeholder", "is_remote"] {CODE
LOW…sts/Tests/Unit/FBAccessibilitySerializationTests.swift1155 case .placeholder: return "placeholder"CODE
LOW…sts/Tests/Unit/FBAccessibilitySerializationTests.swift1174 XCTAssertTrue(try XCTUnwrap(document.first).keys.contains("placeholder"))CODE
LOW…torControlTests/Tests/Unit/FBAXWireContractTests.swift80 .placeholder: "placeholder",CODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWidb/grpc/client.py1333CODE
LOWidb/grpc/client.py1484CODE
LOWidb/common/types.py732CODE
LOWidb/common/types.py1015CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWbuild.sh14# Check if xattrs are supported on the current filesystemCOMMENT
LOWbuild.sh54# Check if ditto is available for xattr-free copyingCOMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWidb/grpc/client.py681 async def set_location(self, latitude: float, longitude: float) -> None:CODE
LOWidb/common/types.py853 async def set_location(self, latitude: float, longitude: float) -> None:CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWidb/utils/contextlib.py255 def helper(*args, **kwds):CODE