Repository Analysis

t8y2/dbx

20 MB lightweight cross-platform database client for 90+ 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、达梦等 90+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP Server。

3.8 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of t8y2/dbx, a Rust project with 17,271 GitHub stars. SynthScan v2.0 examined 1,246,826 lines of code across 3772 source files, recording 4682 pattern matches distributed across 12 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
17.3K
Stars
Rust
Language
1.2M
Lines of Code
3.8K
Files
4.7K
Pattern Hits
2026-08-29
Scan Date
0.00
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 11HIGH 4MEDIUM 48LOW 4619

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 4682 distinct pattern matches across 12 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 Identifiers4412 hits · 4264 pts
SeverityFileLineSnippetContext
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.py45def release_url_with_filename(url: str, filename: str) -> str:CODE
LOWagents/scripts/build_driver_zips.py113def 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_source_scan_rejects_old_execute_query_patterns(self):CODE
LOWagents/scripts/validate_agents_test.py79 def test_jdbc_architecture_requires_shared_base_for_new_agents(self):CODE
LOWagents/scripts/validate_agents_test.py130 def test_versions_include_native_only_modules(self):CODE
LOWagents/scripts/validate_agents_test.py162 def test_authoring_template_must_use_shared_foundation(self):CODE
LOWagents/scripts/validate_agents_test.py191 def test_jdbc_pool_coverage_requires_every_jdbc_module(self):CODE
LOWagents/scripts/validate_agents_test.py204 def test_jdbc_pool_coverage_rejects_non_jdbc_modules(self):CODE
LOWagents/scripts/validate_agents_test.py217 def test_manifest_validation_requires_registry_fields(self):CODE
LOWagents/scripts/validate_agents_test.py256 def test_manifest_validation_requires_main_class_source(self):CODE
LOWagents/scripts/validate_agents_test.py294 def test_manifest_validation_supports_drivers_directory(self):CODE
LOWagents/scripts/validate_agents_test.py323 def test_kotlin_residue_scan_rejects_kt_and_kts_files_outside_build_dirs(self):CODE
LOWagents/scripts/validate_agents_test.py432 def test_agent_jar_validation_requires_main_class_entry(self):CODE
LOWagents/scripts/validate_agents_test.py455 def test_agent_jar_validation_supports_drivers_directory(self):CODE
LOWagents/scripts/validate_agents.py119def validate_no_kotlin_residue(root: Path) -> list[str]:CODE
LOWagents/scripts/validate_agents.py173def validate_jdbc_architecture(root: Path, modules: set[str]) -> list[str]:CODE
LOWagents/scripts/validate_agents.py195def validate_jdbc_pool_coverage(root: Path, modules: set[str]) -> list[str]:CODE
LOWagents/scripts/validate_agents.py214def validate_authoring_template(root: Path) -> list[str]:CODE
LOWagents/scripts/validate_agents.py239def validate_release_runtime_keys(root: Path) -> list[str]:CODE
LOWagents/scripts/driver_release_packages_test.py16 def test_builds_java_and_platform_specific_native_driver_tar_zstd_packages(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py273 def test_versions_iotdb_native_artifacts(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py288 def test_versions_hive_native_artifacts(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py303 def test_versions_zookeeper_native_artifacts(self) -> None:CODE
LOWagents/scripts/driver_release_packages_test.py318 def test_full_offline_bundle_includes_supported_windows_artifacts(self) -> None:CODE
LOWagents/scripts/validate_windows_pe_dependencies_test.py49 def test_reads_imported_dll_names(self) -> None:CODE
LOWagents/scripts/validate_windows_pe_dependencies_test.py56 def test_rejects_dynamic_visual_cpp_runtime(self) -> None:CODE
LOWagents/scripts/validate_windows_pe_dependencies_test.py66 def test_rejects_non_pe_files(self) -> None:CODE
LOWdocs/components/DocsSidebarFooter.tsx46export function DocsSidebarLanguageButton() {CODE
LOWdocs/lib/agentRegistrySource.ts18export async function fetchAgentDownloadCatalog(): Promise<AgentDownloadCatalog | null> {CODE
LOWdocs/lib/structuredData.ts57export function buildSoftwareApplicationStructuredData(lang: "en" | "cn", version: string) {CODE
LOWdocs/lib/agentRegistry.ts239export function buildAgentDownloadCatalogFromRegistry(registry: AgentRegistry): AgentDownloadCatalog {CODE
LOWdocs/lib/agentRegistry.ts250export function buildAgentDownloadCatalog(assets: GitHubReleaseAsset[]): AgentDownloadCatalog {CODE
LOWdocs/lib/agentRegistry.ts260export function buildJdbcPluginDownloadEntry(): JdbcPluginDownloadEntry {CODE
LOWdocs/lib/agentRegistry.ts310function buildDriverEntriesFromRegistry(registry: AgentRegistry): DriverDisplayEntry[] {CODE
LOWdocs/lib/agentRegistry.ts364export function buildOfflineBundleEntries(assets: GitHubReleaseAsset[]): OfflineBundleEntry[] {CODE
LOWdocs/lib/issueSubmission.ts395async function getGitHubInstallationToken(config: GitHubIssueConfig): Promise<{ token: string; repository: string }> {CODE
LOWpackages/mongo-shell/src/json.ts38export function parseCollectionMethodTarget(source: string, method: string): { collection: string; methodCallIndex: numbCODE
LOWpackages/mongo-shell/src/json.ts51export function findChainedMethodCallIndex(source: string, method: string): number {CODE
LOWpackages/mongo-shell/src/json.ts131export function hasUnclosedMongoDelimiters(source: string): boolean {CODE
LOWpackages/mongo-shell/src/json.ts323function replaceMongoEjsonDeserialize(source: string): string {CODE
LOWpackages/mongo-shell/src/json.ts365function replaceMongoShellConstructors(source: string): string {CODE
LOWpackages/mongo-shell/src/json.ts400function convertSingleQuotedStrings(source: string): string {CODE
LOWpackages/mongo-shell/src/aggregate.ts47export function parseMongoAggregateCommand(input: string): MongoAggregateCommand | null {CODE
LOWpackages/mongo-shell/src/aggregate.ts57export function describeMongoCommandParseFailure(input: string): string {CODE
LOWpackages/mongo-shell/src/aggregate.ts66function tryParseMongoAggregateCommand(source: string): AggregateParseResult | null {CODE
LOWpackages/app-tests/sqlCompletion.test.ts51function buildSemanticSqlCompletionItems(sql: string, options: { columns?: Map<string, SqlCompletionColumn[]>; databaseTCODE
LOWpackages/app-tests/saveTextFile.test.ts16function installTextDownloadCapture() {CODE
LOWpackages/app-tests/sidebarRegexIndexStore.test.ts93function connectionNodeWithDatabases(...databases: string[]): TreeNode {CODE
LOWpackages/app-tests/sidebarRegexIndexStore.test.ts104function connectionNodeWithTableGroups(...databases: string[]): { root: TreeNode; groups: Record<string, TreeNode> } {CODE
LOWpackages/app-tests/dataGridEditor.test.ts12function installBrowserTestGlobals() {CODE
LOWpackages/app-tests/dataGridEditor.test.ts40function mockPreparedSaveStatements(options: DataGridSaveStatementOptions): string[] {CODE
LOWpackages/app-tests/useDataGridExport.test.ts73function installTextDownloadCapture() {CODE
LOWpackages/app-tests/useDataGridExport.test.ts201function buildTableDataExportHarness() {CODE
LOWpackages/app-tests/dataGridSelection.test.ts53function createSelectionWithDraftRow() {CODE
LOWapps/desktop/viteConnectionTypesPlugin.ts13function isConnectionTypeDescriptor(path: string): boolean {CODE
LOWapps/desktop/vitePublicBasePathRedirect.ts3export function publicBasePathRedirectLocation(requestUrl: string | undefined, publicBasePath: string): string | null {CODE
4352 more matches not shown…
Over-Commented Block172 hits · 164 pts
SeverityFileLineSnippetContext
LOWcrates/dbx-mcp/src/server.rs161 #[schemars(description = "Message payload encoded as standard base64")]COMMENT
LOWcrates/dbx-mcp/src/server.rs181 pub exchange: Option<String>,COMMENT
LOWcrates/dbx-core/tests/live_mongodb_aggregate.rs1//! Live MongoDB aggregate regressions.COMMENT
LOWcrates/dbx-core/tests/database_export_partition_ddl.rs1//! Regression coverage for PR review points on partition DDL:COMMENT
LOWcrates/dbx-core/tests/database_export_partition_ddl.rs321 "does_not_exist",COMMENT
LOWcrates/dbx-core/tests/dump_docs_fixture.rs81 database_info: None,COMMENT
LOWcrates/dbx-core/tests/api_contract_verification.rs1// ============================================================================COMMENT
LOWcrates/dbx-core/tests/support/mod.rs41/// available, so tests can skip cleanly in environments without it.COMMENT
LOWcrates/dbx-core/src/data_grid_sql.rs41#[derive(Debug, Clone, Serialize, Deserialize)]COMMENT
LOWcrates/dbx-core/src/data_grid_sql.rs261pub struct DataGridCountSqlOptions {COMMENT
LOWcrates/dbx-core/src/query_result_sql.rs1861/// For dedup queries (DISTINCT / GROUP BY) without an ORDER BY clause, generateCOMMENT
LOWcrates/dbx-core/src/database_export.rs41 #[serde(default)]COMMENT
LOWcrates/dbx-core/src/database_export.rs301#[derive(Debug, Clone, Serialize, Deserialize)]COMMENT
LOWcrates/dbx-core/src/database_export.rs341 #[serde(default, skip_serializing_if = "Option::is_none")]COMMENT
LOWcrates/dbx-core/src/database_export.rs2001/// recreating the path resurrects it on the local root filesystem and theCOMMENT
LOWcrates/dbx-core/src/query_execution_sql.rs201 ["drop", "delete", "truncate", "alter", "update", "merge", "replace", "insert", "create"]COMMENT
LOWcrates/dbx-core/src/ai_cli_agent.rs1001}COMMENT
LOWcrates/dbx-core/src/types.rs41COMMENT
LOWcrates/dbx-core/src/types.rs361pub struct QueryResult {COMMENT
LOWcrates/dbx-core/src/types.rs381 pub spatial_values: Vec<Vec<Option<u32>>>,COMMENT
LOWcrates/dbx-core/src/nanosleep_stub.rs1/// 为 WinLibs MinGW-w64 (POSIX UCRT) 提供 nanosleep64 桩实现。COMMENT
LOWcrates/dbx-core/src/session_credentials.rs1//! 运行期会话凭据仓库。COMMENT
LOWcrates/dbx-core/src/ai.rs381 pub reasoning_level: AiReasoningLevel,COMMENT
LOWcrates/dbx-core/src/ai.rs441 | AiProvider::CursorCliCOMMENT
LOWcrates/dbx-core/src/ai.rs461 config.max_retries = Some(max_retries);COMMENT
LOWcrates/dbx-core/src/ai.rs661 pub session_ids: Vec<String>,COMMENT
LOWcrates/dbx-core/src/ai.rs721COMMENT
LOWcrates/dbx-core/src/ai.rs3501// ---------------------------------------------------------------------------COMMENT
LOWcrates/dbx-core/src/query.rs181///COMMENT
LOWcrates/dbx-core/src/query.rs1041 pub result_session_id: Option<String>,COMMENT
LOWcrates/dbx-core/src/agent_events.rs1use serde::{Deserialize, Serialize};COMMENT
LOWcrates/dbx-core/src/query_result_export.rs81 pub page_size: usize,COMMENT
LOWcrates/dbx-core/src/runtime_config.rs1//! Lifecycle rules for runtime connection configs (`AppState::configs`).COMMENT
LOWcrates/dbx-core/src/table_structure_sql.rs81/// what was actually collected rather than trust the flag alone.COMMENT
LOWcrates/dbx-core/src/schema_diff.rs381 #[serde(default, skip_serializing_if = "Vec::is_empty")]COMMENT
LOWcrates/dbx-core/src/schema_diff.rs3321}COMMENT
LOWcrates/dbx-core/src/schema_diff.rs3721 source_dialect.unwrap_or_else(|| DialectKind::from_database_type(db_type))COMMENT
LOWcrates/dbx-core/src/schema.rs381 .await;COMMENT
LOWcrates/dbx-core/src/schema.rs8441 // MySQL itself never reaches this arm in normal use: the desktop capabilities map atCOMMENT
LOWcrates/dbx-core/src/mysql_ddl_normalize.rs1//! Post-processing of MySQL `SHOW CREATE TABLE` DDL for database export.COMMENT
LOWcrates/dbx-core/src/mysql_ddl_normalize.rs101 cursor = range.end;COMMENT
LOWcrates/dbx-core/src/storage.rs2181// Terminal runs beyond this many per conversation are pruned on every AI save.COMMENT
LOWcrates/dbx-core/src/transfer.rs6381/// tables come before referencing (child) tables so inserts don't violate FKCOMMENT
LOWcrates/dbx-core/src/connection.rs1901 };COMMENT
LOWcrates/dbx-core/src/nacos/config.rs81 #[serde(default)]COMMENT
LOWcrates/dbx-core/src/config/tag.rs1use serde::{Deserialize, Serialize};COMMENT
LOWcrates/dbx-core/src/models/connection.rs101 pub show_system_schemas: bool,COMMENT
LOWcrates/dbx-core/src/models/connection.rs141 pub redis_sentinel_master: String,COMMENT
LOWcrates/dbx-core/src/models/connection.rs161 pub redis_key_templates: Vec<String>,COMMENT
LOWcrates/dbx-core/src/models/connection.rs181 /// written (or is deleted) and the user must type it on every connect.COMMENT
LOWcrates/dbx-core/src/models/connection.rs361 pub connect_timeout_secs: u64,COMMENT
LOWcrates/dbx-core/src/models/connection.rs381 /// `direct-tcpip`. Disabled by default because this can bypass a server'sCOMMENT
LOWcrates/dbx-core/src/models/connection.rs401 #[serde(default)]COMMENT
LOWcrates/dbx-core/src/docs/keys.rs1use crate::models::connection::DatabaseType;COMMENT
LOWcrates/dbx-core/src/docs/collector.rs121COMMENT
LOWcrates/dbx-core/src/docs/export.rs101 let value: serde_json::Value = serde_json::from_slice(&decoded).expect("valid json");COMMENT
LOWcrates/dbx-core/src/docs/relations.rs41 .join(":")COMMENT
LOWcrates/dbx-core/src/docs/annotations.rs101 None => return Err(format!("Notes file {} is missing formatVersion.", path.display())),COMMENT
LOWcrates/dbx-core/src/docs/annotations.rs181COMMENT
LOWcrates/dbx-core/src/db/turso_driver.rs61#[derive(Debug, Deserialize)]COMMENT
112 more matches not shown…
Decorative Section Separators48 hits · 144 pts
SeverityFileLineSnippetContext
MEDIUMcrates/dbx-core/src/agent_service.rs2226// ──────────── Offline import ────────────COMMENT
MEDIUMcrates/dbx-core/src/agent_service.rs3203// ──────────── Tests ────────────COMMENT
MEDIUMcrates/dbx-core/src/schema_diff.rs11602 // ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMcrates/dbx-core/src/schema_diff.rs11604 // ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMcrates/dbx-core/src/agent_tools.rs1949 // ── SQL confirmation binding tests ──────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/agent_tools.rs2107 // ── get_current_time tests ────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/connection_secrets.rs557// ── MQTT 密钥持久化 ──────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/connection_secrets.rs1246 // ── MQTT 密钥持久化测试 ────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/db/turso_driver.rs136// ─── Public API ───────────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/db/turso_driver.rs445// ─── Internal helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/db/proxy_tunnel.rs646 // ── HTTP CONNECT response parsing ──────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/db/proxy_tunnel.rs841 // ── test_target parsing ───────────────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/db/proxy_tunnel.rs888 // ── SOCKS5 CONNECT header parsing ─────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/db/proxy_tunnel.rs910 // ── Existing tunnel lifecycle tests ────────────────────────────────────COMMENT
MEDIUMcrates/dbx-core/src/db/proxy_tunnel.rs931 // ── I/O-layer 1xx response handling ────────────────────────────────────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.vue78// ──────────── Driver store path ────────────COMMENT
MEDIUM…ps/desktop/src/components/config/DriverStoreDialog.vue188// ──────────── Agent drivers ────────────COMMENT
MEDIUM…ps/desktop/src/components/config/DriverStoreDialog.vue858// ──────────── JDBC drivers ────────────COMMENT
MEDIUM…ps/desktop/src/components/config/DriverStoreDialog.vue1378// ──────────── Lifecycle ────────────COMMENT
MEDIUMapps/desktop/src/components/layout/AppToolbar.vue152// ──────────── Right-side overflow detection ────────────COMMENT
MEDIUMapps/desktop/src/components/layout/AppToolbar.vue379// ──────────── Resize observer ────────────COMMENT
MEDIUMapps/desktop/src/components/layout/AppToolbar.vue399// ──────────── 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.ts331// ── GeoJSON conversion helpers ─────────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts587// ── DM (达梦) tabular explain parser ──────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts723// ── PostgreSQL JSON explain parser ────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts789// ── MySQL JSON explain parser ─────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts856// ── QuestDB explain parser ─────────────────────────────────────────COMMENT
MEDIUMapps/desktop/src/lib/diagram/explainPlan.ts876// ── 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 Indicators11 hits · 95 pts
SeverityFileLineSnippetContext
CRITICALcrates/dbx-core/assets/docs-export.js45`+i.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(i);continue}if(e){this.infiniteLoopError(e.chCODE
CRITICALcrates/dbx-core/src/db/agent_driver.rs4024 stderr_tail.push_line("\tat com.dbx.agent.hive.HiveAgent.connect(HiveAgent.kt:21)".to_string());CODE
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.java211 Map.of(new TopicPartition("events", 1), new org.apache.kafka.clients.consumer.OffsetAndMetadata(42L)),STRING
CRITICAL…/src/test/java/com/dbx/agent/kafka/KafkaAgentTest.java624 var error = org.junit.jupiter.api.Assertions.assertThrows(IllegalArgumentException.class,STRING
CRITICAL…/src/test/java/com/dbx/agent/kafka/KafkaAgentTest.java735 var error = org.junit.jupiter.api.Assertions.assertThrows(IllegalArgumentException.class,STRING
CRITICAL…cd/src/test/java/com/dbx/agent/etcd/EtcdAgentTest.java465 io.etcd.jetcd.api.TxnResponse response = io.etcd.jetcd.api.TxnResponse.newBuilder()CODE
CRITICAL…s/etcd/src/main/java/com/dbx/agent/etcd/EtcdAgent.java1147 .leaseGrant(io.etcd.jetcd.api.LeaseGrantRequest.newBuilder().setTTL(ttl).setID(requestedId).build())CODE
CRITICAL…s/etcd/src/main/java/com/dbx/agent/etcd/EtcdAgent.java1622 CharsetDecoder decoder = java.nio.charset.StandardCharsets.UTF_8.newDecoder()CODE
CRITICALagents/go-common/go-gssapi/krb5/krb5.go490 gssInToken.aPReq.Ticket.DecryptedEncPart.CName.PrincipalNameString(),CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…drivers/h2/src/main/java/com/dbx/agent/h2/H2Agent.java0select trigger_name, event_manipulation, action_timing from information_schema.triggers where trigger_schema = ? and eveSTRING
HIGH…undb/src/main/java/com/dbx/agent/sundb/SundbAgent.java0select trigger_name, event_manipulation, action_timing from information_schema.triggers where trigger_schema = ? and eveSTRING
HIGH…rc/main/java/com/dbx/agent/goldendb/GoldendbAgent.java0select trigger_name, event_manipulation, action_timing from information_schema.triggers where trigger_schema = ? and eveSTRING
Fake / Example Data13 hits · 13 pts
SeverityFileLineSnippetContext
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
LOWapps/desktop/src/components/ui/PasswordInput.vue32 <Input v-model="model" :type="visible ? 'text' : 'password'" :placeholder="placeholder" :disabled="disabled" :class=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…ents/grid/__tests__/DataGridGoToColumnShortcut.spec.ts153 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.ts1685 "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magnaCODE
LOWapps/desktop/src/lib/dataGrid/dataGenerate.ts1685 "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magnaCODE
Verbosity Indicators5 hits · 11 pts
SeverityFileLineSnippetContext
LOWapps/desktop/src/composables/useDataGridExport.ts1302 // Step 1: table-data context — existing backend table exportCOMMENT
LOWapps/desktop/src/composables/useDataGridExport.ts1305 // Step 2: query-result context — NEW backend streaming with background taskCOMMENT
LOWapps/desktop/src/composables/useDataGridExport.ts1308 // Step 3: fallback — local export (Web and edge-case scenarios)COMMENT
LOWapps/desktop/src/lib/ai/aiProposalDetect.ts213 // Step 1: last line must be an action proposal (ask + action + question mark).COMMENT
LOWapps/desktop/src/lib/ai/aiProposalDetect.ts223 // Step 2: the full message must contain write/DDL SQL keywords somewhereCOMMENT
Structural Annotation Overuse5 hits · 11 pts
SeverityFileLineSnippetContext
LOWapps/desktop/src/composables/useDataGridExport.ts1302 // Step 1: table-data context — existing backend table exportCOMMENT
LOWapps/desktop/src/composables/useDataGridExport.ts1305 // Step 2: query-result context — NEW backend streaming with background taskCOMMENT
LOWapps/desktop/src/composables/useDataGridExport.ts1308 // Step 3: fallback — local export (Web and edge-case scenarios)COMMENT
LOWapps/desktop/src/lib/ai/aiProposalDetect.ts213 // Step 1: last line must be an action proposal (ask + action + question mark).COMMENT
LOWapps/desktop/src/lib/ai/aiProposalDetect.ts223 // Step 2: the full message must contain write/DDL SQL keywords somewhereCOMMENT
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOWagents/drivers/hive-go/bench/agent_compare.py184CODE
LOWagents/scripts/build_driver_zips.py65CODE
LOWagents/scripts/validate_agents.py106CODE
LOWagents/scripts/validate_agents.py173CODE
LOWagents/scripts/driver_release_packages_test.py16CODE
LOWagents/scripts/validate_agent_jars.py24CODE
Excessive Try-Catch Wrapping5 hits · 5 pts
SeverityFileLineSnippetContext
LOWagents/drivers/cassandra-go/bench/agent_compare.py98 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
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.py58def update_release_artifact(artifact: dict, output: Path) -> None:CODE