AI Slop Code Risk Monitor

t8y2/dbx

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

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

3.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for t8y2/dbx, a Rust project with 28,358 GitHub stars. SynthScan examined 2,378,042 lines of code across 6593 source files, recording 7709 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 3.2 (Low 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.

3.2
Adjusted Signal
3.2
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
28.4K
Stars
Rust
Language
2.4M
Lines of Code
6.6K
Files
7.7K
Pattern Hits
2026-10-31
Scan Date
0.01
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 14.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.4/100 · LOW

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

Agent Over-Engineering Ratio 13.4/100 · LOW

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

PR Review Velocity Impact 15.6/100 · LOW

Which changes need focused human review? 7709 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 14HIGH 20MEDIUM 65LOW 7610

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 7709 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 Identifiers6962 hits · 6604 pts
SeverityFileLineSnippetContext
LOWagents/drivers/argo-go/bench/agent_compare.py578def summarize_process_metrics(samples: list[dict]) -> dict:CODE
LOWagents/drivers/hive-go/bench/agent_compare.py578def summarize_process_metrics(samples: list[dict]) -> dict:CODE
LOWagents/scripts/validate_windows_pe_dependencies.py104def forbidden_msvc_runtime_dlls(imports: list[str]) -> list[str]:CODE
LOWagents/scripts/build_driver_zips.py47def release_url_with_filename(url: str, filename: str) -> str:CODE
LOWagents/scripts/build_driver_zips.py258def remove_raw_driver_artifacts(release_dir: Path) -> list[Path]:CODE
LOWagents/scripts/validate_agents_test.py13 def test_versions_must_match_included_agent_modules(self):CODE
LOWagents/scripts/validate_agents_test.py35 def test_versions_support_driver_modules_variable(self):CODE
LOWagents/scripts/validate_agents_test.py51 def test_versions_accept_crate_native_sqlite_worker(self):CODE
LOWagents/scripts/validate_agents_test.py69 def test_source_scan_rejects_old_execute_query_patterns(self):CODE
LOWagents/scripts/validate_agents_test.py97 def test_jdbc_architecture_requires_shared_base_for_new_agents(self):CODE
LOWagents/scripts/validate_agents_test.py148 def test_versions_include_native_only_modules(self):CODE
LOWagents/scripts/validate_agents_test.py180 def test_authoring_template_must_use_shared_foundation(self):CODE
LOWagents/scripts/validate_agents_test.py209 def test_jdbc_pool_coverage_requires_every_jdbc_module(self):CODE
LOWagents/scripts/validate_agents_test.py222 def test_jdbc_pool_coverage_rejects_non_jdbc_modules(self):CODE
LOWagents/scripts/validate_agents_test.py235 def test_manifest_validation_requires_registry_fields(self):CODE
LOWagents/scripts/validate_agents_test.py274 def test_manifest_validation_requires_main_class_source(self):CODE
LOWagents/scripts/validate_agents_test.py312 def test_manifest_validation_supports_drivers_directory(self):CODE
LOWagents/scripts/validate_agents_test.py341 def test_kotlin_residue_scan_rejects_kt_and_kts_files_outside_build_dirs(self):CODE
LOWagents/scripts/validate_agents_test.py450 def test_agent_jar_validation_requires_main_class_entry(self):CODE
LOWagents/scripts/validate_agents_test.py473 def test_agent_jar_validation_supports_drivers_directory(self):CODE
LOWagents/scripts/validate_agents.py137def validate_no_kotlin_residue(root: Path) -> list[str]:CODE
LOWagents/scripts/validate_agents.py191def validate_jdbc_architecture(root: Path, modules: set[str]) -> list[str]:CODE
LOWagents/scripts/validate_agents.py213def validate_jdbc_pool_coverage(root: Path, modules: set[str]) -> list[str]:CODE
LOWagents/scripts/validate_agents.py232def validate_authoring_template(root: Path) -> list[str]:CODE
LOWagents/scripts/validate_agents.py257def validate_release_runtime_keys(root: Path) -> list[str]:CODE
LOWagents/scripts/driver_release_packages_test.py42 def test_lists_every_native_only_module(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py57 def test_every_listed_module_has_a_version(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py64 def test_versions_platform_limited_native_artifacts(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py83 def test_builds_java_and_platform_specific_native_driver_tar_zstd_packages(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py362 def test_versions_nebula_native_artifacts(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py376 def test_versions_iotdb_native_artifacts(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py391 def test_versions_hive_native_artifacts(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py406 def test_versions_zookeeper_native_artifacts(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py421 def test_versions_sqlite_worker_native_artifacts(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py440 def test_full_offline_bundle_includes_supported_windows_artifacts(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py524 def test_delta_patch_generated_and_registry_annotated(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py563 def test_delta_skipped_when_ratio_exceeds_threshold(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py579 def test_delta_skipped_for_unchanged_version(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py592 def test_cleanup_keeps_delta_files(self) -> None:CODE
LOW⚡agents/scripts/validate_windows_pe_dependencies_test.py49 def test_reads_imported_dll_names(self) -> None:CODE
LOW⚡agents/scripts/validate_windows_pe_dependencies_test.py56 def test_rejects_dynamic_visual_cpp_runtime(self) -> None:CODE
LOW⚡agents/scripts/validate_windows_pe_dependencies_test.py66 def test_rejects_non_pe_files(self) -> None:CODE
LOWdocs/app/[lang]/drivers/DriversClient.tsx150async function refineBundlePlatformWithHints(): Promise<string | null> {CODE
LOWdocs/components/DocsSidebarFooter.tsx62export function DocsSidebarLanguageButton() {CODE
LOWdocs/lib/agentRegistrySource.ts18export async function fetchAgentDownloadCatalog(): Promise<AgentDownloadCatalog | null> {CODE
LOWdocs/lib/agentRegistrySource.ts23export async function fetchAgentDownloadCatalogWithRegistry(): Promise<{ catalog: AgentDownloadCatalog; registry: AgentRCODE
LOWdocs/lib/structuredData.ts79export function buildSoftwareApplicationStructuredData(lang: DocsLang, version: string) {CODE
LOWdocs/lib/agentRegistry.ts77export function selectNativeAgentPlatform(options: ReadonlyArray<Pick<NativeAgentDisplayEntry, "platformKey">>, detectedCODE
LOWdocs/lib/agentRegistry.ts248export function buildAgentDownloadCatalogFromRegistry(registry: AgentRegistry): AgentDownloadCatalog {CODE
LOWdocs/lib/agentRegistry.ts259export function buildAgentDownloadCatalog(assets: GitHubReleaseAsset[]): AgentDownloadCatalog {CODE
LOWdocs/lib/agentRegistry.ts269export function buildJdbcPluginDownloadEntry(): JdbcPluginDownloadEntry {CODE
LOWdocs/lib/agentRegistry.ts319function buildDriverEntriesFromRegistry(registry: AgentRegistry): DriverDisplayEntry[] {CODE
LOWdocs/lib/agentRegistry.ts373export function buildOfflineBundleEntries(assets: GitHubReleaseAsset[]): OfflineBundleEntry[] {CODE
LOWdocs/lib/issueSubmission.ts402async function getGitHubInstallationToken(config: GitHubIssueConfig): Promise<{ token: string; repository: string }> {CODE
LOWpackages/mongo-shell/src/json.ts92function replaceMongoRegexLiterals(source: string): string | null {CODE
LOWpackages/mongo-shell/src/json.ts136function isMongoRegexValuePosition(source: string, index: number): boolean {CODE
LOWpackages/mongo-shell/src/json.ts196export function parseCollectionMethodTarget(source: string, method: string): { collection: string; methodCallIndex: numbCODE
LOWpackages/mongo-shell/src/json.ts214export function findChainedMethodCallIndex(source: string, method: string): number {CODE
LOWpackages/mongo-shell/src/json.ts306export function hasUnclosedMongoDelimiters(source: string): boolean {CODE
LOWpackages/mongo-shell/src/json.ts503function replaceMongoEjsonDeserialize(source: string): string {CODE
6902 more matches not shown…
Over-Commented Block573 hits · 532 pts
SeverityFileLineSnippetContext
LOWCargo.toml21# Windows bindings otherwise import COMBASE or WinRT APIs unavailable on Win7.COMMENT
LOWcrates/dbx-mcp/tests/session_transactions_mysql.rs1//! Native MySQL 5.7 contention evidence for MCP fixed-session transactions.COMMENT
LOWcrates/dbx-mcp/tests/plugin_tools_server.rs1//! End-to-end external plugin-tools test against a real `.dbxp` package:COMMENT
LOWcrates/dbx-mcp/tests/live_batch.rs1//! Live regression for `dbx_execute_batch` transaction semantics against realCOMMENT
LOWcrates/dbx-mcp/src/products.rs1//! Product providers (design §5): MCP tools for non-SQL products, oneCOMMENT
LOWcrates/dbx-mcp/src/session.rs81 }COMMENT
LOWcrates/dbx-mcp/src/backend.rs121 }COMMENT
LOWcrates/dbx-mcp/src/transport.rs1//! Compatibility shim for the `server/discover` probe used by agents thatCOMMENT
LOWcrates/dbx-mcp/src/server.rs381 #[schemars(description = "Optional routine signature for databases that overload routine names (e.g. Oracle)")]COMMENT
LOWcrates/dbx-mcp/src/server.rs521pub struct SendMessageRequest {COMMENT
LOWcrates/dbx-mcp/src/server.rs541 #[schemars(extend("type" = "object"))]COMMENT
LOWcrates/dbx-mcp/src/server.rs621 /// Per-cell character window for every rendered statement. Flattened fromCOMMENT
LOWcrates/dbx-mcp/src/server.rs701/// Field rows shown in a confirmation summary before it collapses the rest intoCOMMENT
LOWcrates/dbx-mcp/src/http.rs61 if let Some(cancellation) = cancellation {COMMENT
LOWcrates/dbx-mcp/src/plugin_tools.rs1//! External exposure of plugin MCP tools on the `dbx` MCP server.COMMENT
LOWcrates/dbx-mcp/src/approval.rs1//! Desktop confirmation for high-risk non-SQL MCP tool calls.COMMENT
LOWcrates/dbx-platform/src/ssh_prompt.rs1//! Interactive SSH prompt bridge between the backend (russh handshake /COMMENT
LOWcrates/dbx-platform/src/ssh_prompt.rs61 pub host: String,COMMENT
LOWcrates/dbx-platform/src/ssh_prompt.rs81 #[serde(default)]COMMENT
LOWcrates/dbx-platform/src/ssh_prompt.rs301/// see even when the connection ultimately fails (e.g. the key changed => aCOMMENT
LOWcrates/dbx-platform/src/nanosleep_stub.rs1/// 为 WinLibs MinGW-w64 (POSIX UCRT) 提供 nanosleep64 桩实现。COMMENT
LOWcrates/dbx-platform/src/download.rs181/// failures that kill a single-connection download: connect/send errors,COMMENT
LOWcrates/dbx-platform/src/relaunch.rs1//! Relaunching the desktop app on macOS.COMMENT
LOWcrates/dbx-ai-provider/src/ai_cli_agent.rs1061/// cancellation, and a zero exit status. Both the CLI's own `end` marker and theCOMMENT
LOWcrates/dbx-ai-provider/src/ai_cli_agent.rs1161 }COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs61}COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs341 #[serde(default)]COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs421 pub models: Vec<AiModelListItem>,COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs441 /// persist this field; it is attached to a runtime config clone.COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs541 /// Tool calls made by the assistant (role="assistant"). Used toCOMMENT
LOWcrates/dbx-ai-provider/src/ai.rs641 #[serde(default, skip_serializing_if = "Option::is_none")]COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs661 #[serde(default, skip_serializing_if = "Option::is_none")]COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs681 /// Immutable plugin data retained independently of sent and pending messages.COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs701 pub schema: Option<String>,COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs821 pub session_ids: Vec<String>,COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs881COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs921/// Temporary Agens compatibility workaround. Agens' OpenAI-compatible gatewayCOMMENT
LOWcrates/dbx-ai-provider/src/ai.rs4281 .awaitCOMMENT
LOWcrates/dbx-ai-provider/src/ai.rs9241 assert_eq!(classify_error("AI request failed: model not found"), "modelNotFound");COMMENT
LOWcrates/dbx-ai-provider/src/ai.rs9721COMMENT
LOWcrates/dbx-web/src/demo.rs1//! `DBX_DEMO_MODE` 守卫:面向公网演示部署封锁会改变服务器状态、或让服务器向COMMENT
LOWcrates/dbx-driver-support/src/ddl_scan.rs1//! Structural, quote-and-parenthesis-aware scanning helpers forCOMMENT
LOWcrates/dbx-driver-support/src/ssh_host_key.rs1//! Host-key verification for the SSH tunnel client.COMMENT
LOWcrates/dbx-driver-support/src/ssh_host_key.rs21//! (the `check_server_key` handler) then performs an **explicit TOFU** flow:COMMENT
LOWcrates/dbx-driver-support/src/file_validator.rs1use std::path::Path;COMMENT
LOWcrates/dbx-driver-support/src/db.rs81///COMMENT
LOWcrates/dbx-driver-support/src/db.rs201}COMMENT
LOWcrates/dbx-driver-support/src/ssh_config.rs81/// Fills an empty `key_path` when the connection is set up for key auth, usingCOMMENT
LOWcrates/dbx-driver-support/src/ssh_config.rs281/// Accumulates `Host` entries while walking a config file and, in place, theCOMMENT
LOWcrates/dbx-sql-schema/src/table_structure_sql.rs141/// diverge: IRIS supports `%DESCRIPTION` while *defining* a table or column,COMMENT
LOWcrates/dbx-sql-schema/src/schema_diff.rs321/// commonly coexist as separate rows with independently chosen targets — soCOMMENT
LOWcrates/dbx-sql-schema/src/schema_diff.rs341/// known-correct length with a possibly wrong one.COMMENT
LOWcrates/dbx-sql-schema/src/schema_diff.rs3061 /// literal.COMMENT
LOWcrates/dbx-sql-schema/src/schema_diff.rs4481/// exist on the target connection.COMMENT
LOWcrates/dbx-sql-schema/src/schema_diff.rs4741 | DatabaseType::VerticaCOMMENT
LOWcrates/dbx-sql-schema/src/schema_diff.rs5001/// Drivers hand `column_default` back verbatim and they do not agree on itsCOMMENT
LOWcrates/dbx-sql-schema/src/schema_diff.rs6261pub const MYSQL_DISABLE_FOREIGN_KEY_CHECKS: &str = "SET FOREIGN_KEY_CHECKS = 0;";COMMENT
LOWcrates/dbx-sql-schema/src/schema_diff.rs15421 // column, DATE and NUMBER included (issue #8011 review round 2).COMMENT
LOWcrates/dbx-sql-schema/src/db_admin_sql.rs241 pub schema: Option<String>,COMMENT
LOWcrates/dbx-sql-schema/src/table_structure_sql/types.rs41 pub identity: Option<ColumnIdentity>,COMMENT
513 more matches not shown…
Decorative Section Separators55 hits · 165 pts
SeverityFileLineSnippetContext
MEDIUMcrates/dbx-web/src/routes/connection.rs1338// ── Salesforce OAuth ──────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-sql-schema/src/schema_diff.rs14314 // ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMcrates/dbx-sql-schema/src/schema_diff.rs14316 // ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMcrates/dbx-core/src/connection/connection_secrets.rs728// ── Salesforce OAuth 密钥持久化 ─────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/connection/connection_secrets.rs818// ── MQTT 密钥持久化 ──────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/connection/connection_secrets.rs1653 // ── MQTT 密钥持久化测试 ────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/ai/agent_tools.rs2988 // ── SQL confirmation binding tests ──────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/ai/agent_tools.rs3146 // ── get_current_time tests ────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/skills/mod.rs336// ── Roots, name resolution and referencing files ──────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/skills/mod.rs944 // ── name resolution and referencing files (agent tools) ────────────────COMMENT
MEDIUMcrates/dbx-core/src/skills/mod.rs1168 // ── Windows reparse-point equivalents ──────────────────────────────────COMMENT
MEDIUMcrates/dbx-drivers/src/db/turso_driver.rs155// ─── Public API ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-drivers/src/db/turso_driver.rs493// ─── Internal helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-drivers/src/db/proxy_tunnel.rs705 // ── HTTP CONNECT response parsing ──────────────────────────────────────COMMENT
MEDIUMcrates/dbx-drivers/src/db/proxy_tunnel.rs900 // ── test_target parsing ───────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-drivers/src/db/proxy_tunnel.rs947 // ── SOCKS5 CONNECT header parsing ─────────────────────────────────────COMMENT
MEDIUMcrates/dbx-drivers/src/db/proxy_tunnel.rs969 // ── Existing tunnel lifecycle tests ────────────────────────────────────COMMENT
MEDIUMcrates/dbx-drivers/src/db/proxy_tunnel.rs990 // ── I/O-layer 1xx response handling ────────────────────────────────────COMMENT
MEDIUMcrates/dbx-driver-agent/src/agent_service.rs2799// ──────────── Offline import ────────────COMMENT
MEDIUMcrates/dbx-driver-agent/src/agent_service.rs4526// ──────────── Tests ────────────COMMENT
MEDIUM…on/src/test/java/com/dbx/agent/EwkbWktDecoderTest.java23 // ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…on/src/test/java/com/dbx/agent/EwkbWktDecoderTest.java26 // ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…common/src/main/java/com/dbx/agent/EwkbWktDecoder.java286 // ── EWKB parser ────────────────────────────────────────────────────────COMMENT
MEDIUM…common/src/main/java/com/dbx/agent/EwkbWktDecoder.java487 // ── WKT formatting ─────────────────────────────────────────────────────COMMENT
MEDIUM…common/src/main/java/com/dbx/agent/EwkbWktDecoder.java608 // ── helper structs ─────────────────────────────────────────────────────COMMENT
MEDIUM.cargo/config.toml14# ===================================================================================COMMENT
MEDIUM…ps/desktop/src/components/config/DriverStoreDialog.vue85// ──────────── Driver store path ────────────COMMENT
MEDIUM…ps/desktop/src/components/config/DriverStoreDialog.vue195// ──────────── Agent drivers ────────────COMMENT
MEDIUM…ps/desktop/src/components/config/DriverStoreDialog.vue909// ──────────── JDBC drivers ────────────COMMENT
MEDIUM…ps/desktop/src/components/config/DriverStoreDialog.vue1456// ──────────── Lifecycle ────────────COMMENT
MEDIUMapps/desktop/src/components/layout/AppToolbar.vue191// ──────────── Right-side overflow detection ────────────COMMENT
MEDIUMapps/desktop/src/components/layout/AppToolbar.vue437// ──────────── Resize observer ────────────COMMENT
MEDIUMapps/desktop/src/components/layout/AppToolbar.vue457// ──────────── Left-side "More" items ────────────COMMENT
MEDIUMapps/desktop/src/components/grid/LayerPreviewDialog.vue33// ── Effective SRID (detected default + manual override) ─────────────────────COMMENT
MEDIUMapps/desktop/src/components/grid/LayerPreviewDialog.vue47// ── Resize / maximise ──────────────────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/components/grid/LayerPreviewDialog.vue109// ── Leaflet ───────────────────────────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/components/grid/LayerPreviewDialog.vue229// ── Label property ─────────────────────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/components/grid/LayerPreviewDialog.vue323// ── Map ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/dataGrid/geometryPreview.ts345// ── GeoJSON conversion helpers ─────────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts664// ── DM (达梦) tabular explain parser ──────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts800// ── PostgreSQL JSON explain parser ────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts866// ── MySQL JSON explain parser ─────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts933// ── QuestDB explain parser ─────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts934// ── openGauss explain parser ────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts990// ── Doris explain parser ────────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts1013// ── Helpers ───────────────────────────────────────────────────────────COMMENT
MEDIUM…op/src/lib/__tests__/ai/aiWriteSqlConfirmation.spec.ts6// ── looksLikeWriteSqlProposal ──────────────────────────────────────────────COMMENT
MEDIUM…op/src/lib/__tests__/ai/aiWriteSqlConfirmation.spec.ts107// ── shouldGrantWriteSqlOnShortAffirmative ──────────────────────────────────COMMENT
MEDIUM…op/src/lib/__tests__/ai/aiWriteSqlConfirmation.spec.ts214 // ── negative — write keyword in earlier line, NOT the proposal line ─────COMMENT
MEDIUM…op/src/lib/__tests__/ai/aiWriteSqlConfirmation.spec.ts238 // ── guard conditions ────────────────────────────────────────────────────COMMENT
MEDIUM…op/src/lib/__tests__/ai/aiWriteSqlConfirmation.spec.ts257// ── containsWriteSql regex ──────────────────────────────────────────────────COMMENT
MEDIUM…op/src/lib/__tests__/ai/aiWriteSqlConfirmation.spec.ts280// ── Button-confirmation flow (looksLikeActionProposal) ──────────────────────COMMENT
MEDIUM…op/src/lib/__tests__/ai/aiWriteSqlConfirmation.spec.ts302// ── executeAndExplain skill prompt ──────────────────────────────────────────COMMENT
MEDIUM…op/src/lib/__tests__/ai/aiWriteSqlConfirmation.spec.ts322// ── extractFirstSqlCodeBlock (SQL binding) ─────────────────────────────────COMMENT
MEDIUM…op/src/lib/__tests__/ai/aiWriteSqlConfirmation.spec.ts350// ── countSqlCodeBlocks ──────────────────────────────────────────────────────COMMENT
Hallucination Indicators14 hits · 120 pts
SeverityFileLineSnippetContext
CRITICALcrates/dbx-driver-agent/src/agent_driver.rs5159 stderr_tail.push_line("\tat com.dbx.agent.hive.HiveAgent.connect(HiveAgent.kt:21)".to_string());CODE
CRITICAL…jdbc/src/test/java/app/dbx/jdbc/DbxJdbcPluginTest.java252 org.junit.jupiter.api.Assertions.assertThrows(SQLException.class, () -> reader.source(" Owner ", " Trigger "STRING
CRITICAL…st/java/com/dbx/agent/ignite3/Ignite3AgentUrlTest.java83 org.apache.ignite.jdbc.IgniteJdbcDriver.class.getProtectionDomain().getCodeSource().getLocation().toURI()CODE
CRITICALagents/drivers/cassandra-go/config_test.go146 "com.datastax.oss.driver.internal.core.connection.ExponentialReconnectionPolicy((long)1,(long)8)",CODE
CRITICAL…/src/test/java/com/dbx/agent/kafka/KafkaAgentTest.java230 offsets.completeExceptionally(new org.apache.kafka.common.errors.TimeoutException("oCODE
CRITICAL…/src/test/java/com/dbx/agent/kafka/KafkaAgentTest.java440 Map.of(new TopicPartition("events", 1), new org.apache.kafka.clients.consumer.OffsetAndMetadata(42L)),STRING
CRITICAL…/src/test/java/com/dbx/agent/kafka/KafkaAgentTest.java889 var error = org.junit.jupiter.api.Assertions.assertThrows(IllegalArgumentException.class,STRING
CRITICAL…/src/test/java/com/dbx/agent/kafka/KafkaAgentTest.java1000 var error = org.junit.jupiter.api.Assertions.assertThrows(IllegalArgumentException.class,STRING
CRITICAL…/dbx/agent/oceanbaseoracle/OceanBaseLobValuesTest.java23 @org.junit.jupiter.params.provider.ValueSource(strings = {"query", "page", "table"})CODE
CRITICAL…/dbx/agent/oceanbaseoracle/PlDebugResultCacheTest.java16 var normalized=PlDebugTemporalJson.normalize(new StringReader(source),cache.remaining(),System.nanoTime()+java.uCODE
CRITICALagents/go-common/go-gssapi/krb5/krb5.go490 gssInToken.aPReq.Ticket.DecryptedEncPart.CName.PrincipalNameString(),CODE
CRITICALapps/desktop/src/components/admin/DatabaseJobAdmin.vue271const dispatchedRun = computed(() => !native.previousExecution.value && native.execution.value?.status.state === "runninCODE
CRITICAL…transfer/__tests__/DataTransferDialog.packages.spec.ts295 result.oraclePackages.input.source.objects.push({CODE
CRITICALapps/desktop/src/lib/database/oracleConstraints.ts807 !!oldIndexName && (plan.change.target === null || plan.change.target?.kind !== "unique" || plan.change.target.definiCODE
Empty Error Handlers12 hits · 60 pts
SeverityFileLineSnippetContext
HIGHagents/drivers/cassandra-go/bench/agent_compare.py108except Exception:CODE
HIGHagents/drivers/argo-go/bench/agent_compare.py136except Exception:CODE
HIGHagents/drivers/argo-go/bench/agent_compare.py172except (OSError, subprocess.SubprocessError, ValueError):CODE
HIGHagents/drivers/argo-go/bench/agent_compare.py461except Exception:CODE
HIGHagents/drivers/hive-go/bench/agent_compare.py136except Exception:CODE
HIGHagents/drivers/hive-go/bench/agent_compare.py172except (OSError, subprocess.SubprocessError, ValueError):CODE
HIGHagents/drivers/hive-go/bench/agent_compare.py461except Exception:CODE
HIGHscripts/ai-proxy-12277/remote_mock.py27except (ValueError, UnicodeDecodeError):CODE
HIGH.github/scripts/ci-install-system-deps.test.py318except ProcessLookupError:CODE
HIGH.github/scripts/ci-gradle.test.py214except ProcessLookupError:CODE
HIGH.github/scripts/ci-gradle.py39except ProcessLookupError:CODE
HIGH.github/scripts/ci-install-system-deps.py124except ProcessLookupError:CODE
Fake / Example Data35 hits · 36 pts
SeverityFileLineSnippetContext
LOWcrates/dbx-mcp/src/server.rs13505 name: "Jane Doe".to_string(),CODE
LOWcrates/dbx-mcp/src/server.rs13723 "Jane Doe",CODE
LOWcrates/dbx-mcp/src/server.rs13976 assert!(text.contains("Jane Doe"), "{text}");CODE
LOWcrates/dbx-core/src/data/csv_export.rs404 "username": "user@example.com",CODE
LOWcrates/dbx-drivers/src/db/salesforce_driver.rs1630 assert!(!ropc_debug.contains("user@example.com"), "{ropc_debug}");CODE
LOWcrates/dbx-plugin-runtime/src/plugins/manifest.rs3697 for key in ["default", "binding", "description", "placeholder"] {CODE
LOWplugins/README.md412 "host": { "label": "主机", "placeholder": "请输入主机" },CODE
LOWplugins/manifest.schema.json162 "placeholder": { "type": "string" },CODE
LOWplugins/manifest.schema.json258 "placeholder": { "type": ["string", "null"] },CODE
LOWagents/drivers/cassandra-go/kerberos_test.go39 cachePath := writeTestFile(t, "alice.ccache", "placeholder")CODE
LOWagents/drivers/cassandra-go/kerberos_test.go40 keytabPath := writeTestFile(t, "alice.keytab", "placeholder")CODE
LOWagents/drivers/cassandra-go/kerberos_test.go76 cachePath := writeTestFile(t, "alice.ccache", "placeholder")CODE
LOWagents/go-common/gohive/dsn_test.go20 if value.Username != "user@example.com" || value.Password != "p@ss:word" || value.Auth != "LDAP" || value.TransportModeCODE
LOWagents/go-common/gohive/http_auth_test.go31 Username: "user@example.com",CODE
LOWpackages/app-tests/insertValueHints.test.ts289 " 'Acme Corp' as company_name,",CODE
LOWpackages/app-tests/insertValueHints.test.ts306 " 'Acme Corp' as company_name,",CODE
LOW…ests__/ConnectionDialog.salesforcePasswordMode.spec.ts215 const username = [...document.querySelectorAll("input")].find((input) => input.getAttribute("placeholder") === "userCODE
LOW…ests__/ConnectionDialog.salesforcePasswordMode.spec.ts215 const username = [...document.querySelectorAll("input")].find((input) => input.getAttribute("placeholder") === "userCODE
LOW…ection/__tests__/ConnectionDialog.sshLocalPort.spec.ts236 expect(localPortInput()?.getAttribute("placeholder")).toBe("Auto");CODE
LOW…on/__tests__/ConnectionDialog.h2UrlPlaceholder.spec.ts198 return [...document.querySelectorAll("input")].find((input) => input.getAttribute("placeholder")?.includes("jdbc:h2:")CODE
LOW⚡…on/__tests__/ConnectionDialog.h2UrlPlaceholder.spec.ts220 expect(input?.getAttribute("placeholder")).toBe("jdbc:h2:file:/path/to/database");CODE
LOW⚡…on/__tests__/ConnectionDialog.h2UrlPlaceholder.spec.ts227 expect(input?.getAttribute("placeholder")).toBe("jdbc:h2:tcp://host:9092/database");CODE
LOW⚡…on/__tests__/ConnectionDialog.h2UrlPlaceholder.spec.ts234 expect(input?.getAttribute("placeholder")).toBe("jdbc:h2:file:/path/to/database");CODE
LOW…ktop/src/components/redis/RedisPluginCodecView.spec.ts25 SelectValue: defineComponent({ props: ["placeholder"], setup: (props) => () => props.placeholder }),CODE
LOW…/desktop/src/components/generate/params/TextParams.vue15 "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliCODE
LOW…/desktop/src/components/generate/params/TextParams.vue15 "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliCODE
LOWapps/desktop/src/components/mq/shared/MqSearchInput.vue14 <input type="search" class="mq-search-input" :value="modelValue" :placeholder="placeholder" :disabled="disabled" @inpuCODE
LOW…rc/components/structure/StructureIndexColumnPicker.vue62 <Button type="button" variant="outline" :class="[triggerClass, 'w-full min-w-0 justify-between gap-2']" :aria-labeCODE
LOW…rc/components/structure/StructureIndexColumnPicker.vue74 :aria-label="placeholder"CODE
LOW…rc/components/structure/StructureIndexColumnPicker.vue102 <div class="index-column-options min-h-0 overflow-y-auto overscroll-contain p-1" :aria-label="placeholder" role="gCODE
LOW…ents/grid/__tests__/DataGridGoToColumnShortcut.spec.ts425 expect(document.activeElement?.getAttribute("placeholder")).toBe("Search column/comment...");CODE
LOW…s/desktop/src/components/dolt/DoltRevisionSelector.vue143 :placeholder="placeholder"CODE
LOWapps/desktop/src/lib/dataGrid/dataGenerate.ts1729 "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magnaCODE
LOWapps/desktop/src/lib/dataGrid/dataGenerate.ts1729 "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magnaCODE
LOW…desktop/src/lib/ai/__tests__/aiImportSelection.spec.ts10 apiKey: "dummy-key",CODE
Cross-Language Confusion (JS/TS)3 hits · 22 pts
SeverityFileLineSnippetContext
HIGH⚡apps/desktop/src/lib/redis/redisCommandPreview.ts378 " if not line: return None",CODE
HIGH⚡apps/desktop/src/lib/redis/redisCommandPreview.ts386 " if length == -1: return None",CODE
HIGH⚡apps/desktop/src/lib/redis/redisCommandPreview.ts392 " if count == -1: return None",CODE
Deep Nesting16 hits · 16 pts
SeverityFileLineSnippetContext
LOWcrates/dbx-core/src/schema/agent_metadata_fixture.py28CODE
LOWagents/drivers/argo-go/bench/agent_compare.py184CODE
LOWagents/drivers/hive-go/bench/agent_compare.py184CODE
LOWagents/scripts/build_driver_zips.py189CODE
LOWagents/scripts/validate_agents.py124CODE
LOWagents/scripts/validate_agents.py191CODE
LOWagents/scripts/driver_release_packages_test.py83CODE
LOWagents/scripts/validate_agent_jars.py24CODE
LOWscripts/ai-proxy-12277/remote_mock.py15CODE
LOWscripts/ai-proxy-12277/run_proof.py32CODE
LOW.github/scripts/ci-gradle-repositories.test.py28CODE
LOW.github/scripts/ci-install-system-deps.test.py206CODE
LOW.github/scripts/ci-gradle.test.py160CODE
LOW.github/scripts/ci-gradle.py122CODE
LOW.github/scripts/ci-install-system-deps.py162CODE
LOW.github/scripts/configure-docker-mirror.py16CODE
Excessive Try-Catch Wrapping14 hits · 15 pts
SeverityFileLineSnippetContext
LOWcrates/dbx-core/tests/mongodb_column_metadata.rs86 except Exception as error:CODE
LOWcrates/dbx-core/src/data/transfer/iris_tests.rs201 except Exception as error:CODE
LOWagents/drivers/cassandra-go/bench/agent_compare.py108 except Exception:CODE
LOWagents/drivers/argo-go/bench/functional_probe.py83 except Exception as error:CODE
LOWagents/drivers/argo-go/bench/functional_probe.py142 except Exception as error:CODE
LOWagents/drivers/argo-go/bench/agent_compare.py136 except Exception:CODE
LOWagents/drivers/argo-go/bench/agent_compare.py461 except Exception:CODE
LOWagents/drivers/hive-go/bench/functional_probe.py83 except Exception as error:CODE
LOWagents/drivers/hive-go/bench/functional_probe.py142 except Exception as error:CODE
LOWagents/drivers/hive-go/bench/agent_compare.py136 except Exception:CODE
LOWagents/drivers/hive-go/bench/agent_compare.py461 except Exception:CODE
LOWagents/scripts/build_driver_zips.py116 except Exception as error: # noqa: BLE001 - any fetch failure just skips the deltaCODE
LOW.github/scripts/ci-install-system-deps.py206 except Exception as error:CODE
MEDIUM.github/scripts/ci-install-system-deps.py121def dispose(process):CODE
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHcrates/dbx-driver-mongodb/src/mongo_driver.rs2708/// document (before or after the change, as requested) or nothing.COMMENT
HIGHapps/desktop/src/components/editor/AiAssistant.vue400// active tab, so AI-generated SQL could be written into, and executed on,COMMENT
Modern AI Meta-Vocabulary5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMapps/desktop/src/components/objects/ObjectBrowser.vue5191 // True when we are revalidating on top of visible rows (a stale-cache scaffold, or aCOMMENT
MEDIUMapps/desktop/src/components/objects/ObjectBrowser.vue5222 // No scaffold: first load in this scope, cache invalidated by a DDL mutation,COMMENT
MEDIUMapps/desktop/src/components/objects/ObjectBrowser.vue5245 // banner rather than replacing the scaffold (or same-instance refresh) list.COMMENT
MEDIUM…sktop/src/lib/elasticsearch/elasticsearchCompletion.ts102// Value scaffold inserted after a completed key so the matching brackets comeCOMMENT
MEDIUM…sktop/src/lib/elasticsearch/elasticsearchCompletion.ts368 // Only an object key without its own `:` yet may pull the value scaffold in;COMMENT
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/cache-keepalive.yml34 # Deep async export tests exceed the Rust test harness's default thread stack on Linux.COMMENT
MEDIUM.github/workflows/ci.yml1020 # Deep async export tests exceed the Rust test harness's default thread stack on Linux.COMMENT
MEDIUM…ps/desktop/src/components/plugins/PluginBottomDock.vue385// currently rendered pixel height, so the transition is seamless. TheCOMMENT
MEDIUM…ps/desktop/src/components/plugins/PluginBottomDock.vue400 // transition stays seamless.COMMENT
Verbosity Indicators5 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡apps/desktop/src/composables/useDataGridExport.ts2724 // Step 1: table-data context — existing backend table exportCOMMENT
LOW⚡apps/desktop/src/composables/useDataGridExport.ts2733 // Step 2: query-result context — NEW backend streaming with background taskCOMMENT
LOWapps/desktop/src/composables/useDataGridExport.ts2745 // Step 3: fallback — local export (Web and edge-case scenarios)COMMENT
LOW⚡apps/desktop/src/lib/ai/aiProposalDetect.ts213 // Step 1: last line must be an action proposal (ask + action + question mark).COMMENT
LOW⚡apps/desktop/src/lib/ai/aiProposalDetect.ts223 // Step 2: the full message must contain write/DDL SQL keywords somewhereCOMMENT
Structural Annotation Overuse5 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡apps/desktop/src/composables/useDataGridExport.ts2724 // Step 1: table-data context — existing backend table exportCOMMENT
LOW⚡apps/desktop/src/composables/useDataGridExport.ts2733 // Step 2: query-result context — NEW backend streaming with background taskCOMMENT
LOWapps/desktop/src/composables/useDataGridExport.ts2745 // Step 3: fallback — local export (Web and edge-case scenarios)COMMENT
LOW⚡apps/desktop/src/lib/ai/aiProposalDetect.ts213 // Step 1: last line must be an action proposal (ask + action + question mark).COMMENT
LOW⚡apps/desktop/src/lib/ai/aiProposalDetect.ts223 // Step 2: the full message must contain write/DDL SQL keywords somewhereCOMMENT
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH.github/scripts/ci-gradle-repositories.test.py63 assert repository.url.toString() == '{expected_url}'CODE
HIGH.github/scripts/ci-gradle-repositories.test.py119 assert repository.url.toString() == 'https://maven-central.storage-download.googleapis.com/maven2/'CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs/mq-quick-start.md129 "value": "your-api-key"CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWagents/scripts/build_driver_zips.py60def update_release_artifact(artifact: dict, output: Path) -> None:CODE