AI Slop Code Risk Monitor

CodePhiliaX/Chat2DB

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

Chat2DB is a free, cross-platform, local-first database client and SQL workspace for developers, DBAs, analysts, and data teams. Connect to 40+ databases, manage data, edit and run SQL, and use your own AI model to generate, explain, and optimize queries. Available on desktop, web, Docker, and CLI, with MCP support.

3.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for CodePhiliaX/Chat2DB, a Java project with 28,347 GitHub stars. SynthScan examined 481,226 lines of code across 4178 source files, recording 679 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 3.4 (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.4
Adjusted Signal
3.4
Raw Pattern Score
100%
Time Factor
2026-10-29
Last Push
28.3K
Stars
Java
Language
481.2K
Lines of Code
4.2K
Files
679
Pattern Hits
2026-10-31
Scan Date
0.02
HC Hit Rate

Risk Review · Payload v1

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

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

Cognitive Ownership Risk 6.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 9.4/100 · LOW

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

Agent Over-Engineering Ratio 6.4/100 · LOW

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

PR Review Velocity Impact 14.1/100 · LOW

Which changes need focused human review? 679 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 81HIGH 11MEDIUM 0LOW 587

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 679 distinct pattern matches across 11 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.

Hallucination Indicators81 hits · 950 pts
SeverityFileLineSnippetContext
CRITICAL…mmunity/test/spi/model/JDBCDataValueLargeCellTest.java120 org.junit.jupiter.api.Assertions.assertSame(handle, cell.getRawValue(),CODE
CRITICAL…st/spi/sql/DefaultSQLExecutorExecutionMetricsTest.java456 statement.setSqlType(ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.USE_DATABASE.name());CODE
CRITICAL…st/spi/sql/DefaultSQLExecutorExecutionMetricsTest.java465 statement.setSqlType(ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.SET_SCHEMA.name());CODE
CRITICAL…i/src/main/java/ai/chat2db/spi/DefaultSQLExecutor.java887 if (!ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.USE_DATABASE.name()CODE
CRITICAL…i/src/main/java/ai/chat2db/spi/DefaultSQLExecutor.java994 if (type == null || !StringUtils.equals(type, ai.chat2db.community.domain.api.enums.parser.SqlTypeEnCODE
CRITICAL…i/src/main/java/ai/chat2db/spi/DefaultSQLExecutor.java1014 if (type != null && StringUtils.equalsAnyIgnoreCase(type, ai.chat2db.community.domain.api.enums.parser.SCODE
CRITICAL…i/src/main/java/ai/chat2db/spi/DefaultSQLExecutor.java1015 ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.ANONYMOUS_BLOCK.name())) {CODE
CRITICAL…i/src/main/java/ai/chat2db/spi/DefaultSQLExecutor.java1073 if (type == null || !StringUtils.equals(type, ai.chat2db.community.domain.api.enums.parser.SqlTypeEnCODE
CRITICAL…i/src/main/java/ai/chat2db/spi/DefaultSQLExecutor.java1095 if (type != null && StringUtils.equalsAnyIgnoreCase(type, ai.chat2db.community.domain.api.enums.parser.SCODE
CRITICAL…i/src/main/java/ai/chat2db/spi/DefaultSQLExecutor.java1096 ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.ANONYMOUS_BLOCK.name())) {CODE
CRITICAL…i/src/main/java/ai/chat2db/spi/DefaultSQLExecutor.java1174 if (type == null || !StringUtils.equals(type, ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.SCODE
CRITICAL…i/src/main/java/ai/chat2db/spi/DefaultSQLExecutor.java1259 if (type == null || !StringUtils.equals(type, ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.SCODE
CRITICAL⚡…y/updater/v2/runtime/UpdateStartupCoordinatorTest.java44 org.junit.jupiter.api.Assertions.assertTrue(audit.contains("actor=CANDIDATE"));CODE
CRITICAL⚡…y/updater/v2/runtime/UpdateStartupCoordinatorTest.java45 org.junit.jupiter.api.Assertions.assertTrue(audit.contains("event=PROCESS_START_FAILED"));CODE
CRITICAL⚡…y/updater/v2/runtime/UpdateStartupCoordinatorTest.java46 org.junit.jupiter.api.Assertions.assertTrue(audit.contains("spring failed"));CODE
CRITICAL⚡…y/updater/v2/runtime/UpdateStartupCoordinatorTest.java73 org.junit.jupiter.api.Assertions.assertTrue(Files.readString(healthFile)CODE
CRITICAL⚡…y/updater/v2/runtime/UpdateStartupCoordinatorTest.java75 org.junit.jupiter.api.Assertions.assertTrue(Files.readString(healthFile)CODE
CRITICAL⚡…y/updater/v2/runtime/UpdateStartupCoordinatorTest.java77 org.junit.jupiter.api.Assertions.assertFalse(CODE
CRITICAL…y/updater/v2/installation/FullPackageSwitcherTest.java128 Files.setPosixFilePermissions(stagedPackage, java.nio.file.attribute.PosixFilePermissions.fromString("r-xr-xr-x"CODE
CRITICAL…y/updater/v2/installation/FullPackageSwitcherTest.java140 Files.setPosixFilePermissions(stagedPackage, java.nio.file.attribute.PosixFilePermissions.fromString("rwxr-xCODE
CRITICAL…va/ai/chat2db/community/tools/util/ExceptionUtils.java25 Throwable thr = org.apache.commons.lang3.exception.ExceptionUtils.getRootCause(throwable);CODE
CRITICAL…a/ai/chat2db/community/tools/util/EasyStringUtils.java19 if (!org.apache.commons.lang3.StringUtils.isNumeric(userId)) {CODE
CRITICAL…ai/chat2db/plugin/snowflake/SnowFlakeSyntaxPlugin.java11 return ai.chat2db.community.domain.api.enums.parser.DatabaseTypeEnum.SNOWFLAKE.name();CODE
CRITICAL…/java/ai/chat2db/plugin/oracle/OracleSyntaxPlugin.java10 return ai.chat2db.community.domain.api.enums.parser.DatabaseTypeEnum.ORACLE.name();CODE
CRITICAL…va/ai/chat2db/plugin/oracle/OracleCommandExecutor.java86 statement.setSqlType(ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.EXPLAIN.name());CODE
CRITICAL…/ai/chat2db/plugin/db2/Db2IdentifierProcessorTest.java224 ai.chat2db.spi.model.request.DropTableRequest drop = new ai.chat2db.spi.model.request.DropTableRequest();CODE
CRITICAL…/ai/chat2db/plugin/db2/Db2IdentifierProcessorTest.java229 ai.chat2db.spi.model.request.TruncateTableRequest truncate = new ai.chat2db.spi.model.request.TruncateTableRequeCODE
CRITICAL…/ai/chat2db/plugin/db2/Db2IdentifierProcessorTest.java244 new ai.chat2db.community.domain.api.model.metadata.TableIndexColumn();CODE
CRITICAL…/ai/chat2db/plugin/db2/Db2IdentifierProcessorTest.java342 new ai.chat2db.community.domain.api.model.metadata.TableIndexColumn();CODE
CRITICAL…db/plugin/informix/builder/InformixSqlBuilderTest.java138 info.setDriverConfig(new ai.chat2db.community.domain.api.config.DriverConfig());CODE
CRITICAL…i/chat2db/plugin/informix/InformixCommandExecutor.java90 statement.setSqlType(ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.EXPLAIN.name());CODE
CRITICAL…i/chat2db/plugin/informix/InformixCommandExecutor.java112 .sqlType(ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.EXPLAIN.name())CODE
CRITICAL…n/java/ai/chat2db/plugin/redis/type/SetTypeScript.java122 if (skipDeleted && ai.chat2db.plugin.redis.constant.ActionConstants.DELETE.equals(value.getAction())) {CODE
CRITICAL⚡…ava/ai/chat2db/plugin/redis/type/StreamTypeScript.java109 if (ai.chat2db.plugin.redis.constant.ActionConstants.DELETE.equals(field.getAction())) {CODE
CRITICAL⚡…ava/ai/chat2db/plugin/redis/type/StreamTypeScript.java113 if (ai.chat2db.plugin.redis.constant.ActionConstants.CREATE.equals(field.getAction())) {CODE
CRITICAL⚡…ava/ai/chat2db/plugin/redis/type/StreamTypeScript.java117 if (ai.chat2db.plugin.redis.constant.ActionConstants.UPDATE.equals(field.getAction())) {CODE
CRITICAL…/java/ai/chat2db/plugin/redis/type/ListTypeScript.java114 .filter(value -> !ai.chat2db.plugin.redis.constant.ActionConstants.DELETE.equals(value.getAction()))CODE
CRITICAL…/java/ai/chat2db/plugin/redis/type/HashTypeScript.java131 if (skipDeleted && ai.chat2db.plugin.redis.constant.ActionConstants.DELETE.equals(value.getAction())) {CODE
CRITICAL…/java/ai/chat2db/plugin/redis/type/ZSetTypeScript.java119 if (skipDeleted && ai.chat2db.plugin.redis.constant.ActionConstants.DELETE.equals(value.getAction())) {CODE
CRITICAL…t/java/ai/chat2db/plugin/dm/DMCommandExecutorTest.java151 assertEquals(ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.EXPLAIN.name(),CODE
CRITICAL…t/java/ai/chat2db/plugin/dm/DMCommandExecutorTest.java177 assertEquals(ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.EXPLAIN.name(),CODE
CRITICAL…t/java/ai/chat2db/plugin/dm/DMCommandExecutorTest.java202 assertEquals(ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.EXPLAIN.name(), response.getSqlType());CODE
CRITICAL…/main/java/ai/chat2db/plugin/dm/DMCommandExecutor.java93 statement.setSqlType(ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.EXPLAIN.name());CODE
CRITICAL…/main/java/ai/chat2db/plugin/dm/DMCommandExecutor.java124 .sqlType(ai.chat2db.community.domain.api.enums.parser.SqlTypeEnum.EXPLAIN.name())CODE
CRITICAL…chat2db/plugin/sundb/SUNDBIdentifierProcessorTest.java309 new ai.chat2db.community.domain.api.model.metadata.Table();CODE
CRITICAL…chat2db/plugin/sundb/SUNDBIdentifierProcessorTest.java313 new ai.chat2db.community.domain.api.model.metadata.Table();CODE
CRITICAL…ugin/postgresql/PostgreSQLIdentifierProcessorTest.java408 org.junit.jupiter.api.Assertions.assertNull(processor.quoteIdentifier(null));CODE
CRITICAL⚡…/ai/chat2db/community/jcef/utils/NetworkProxyUtil.java17 NetworkProxySettings settings = ai.chat2db.community.tools.network.NetworkProxyUtil.getSettings();CODE
CRITICAL⚡…/ai/chat2db/community/jcef/utils/NetworkProxyUtil.java25 ai.chat2db.community.tools.network.NetworkProxyUtil.validate(settings);CODE
CRITICAL⚡…/ai/chat2db/community/jcef/utils/NetworkProxyUtil.java27 ai.chat2db.community.tools.network.NetworkProxyUtil.toChromiumProxyServer(settings));CODE
CRITICAL⚡…/ai/chat2db/community/jcef/utils/NetworkProxyUtil.java28 String bypassList = ai.chat2db.community.tools.network.NetworkProxyUtil.toChromiumBypassList(settings.getNoProxyCODE
CRITICAL⚡…i/chat2db/community/jcef/utils/SystemSettingsUtil.java21 return ai.chat2db.community.tools.util.SystemSettingsUtil.getCachePath();CODE
CRITICAL⚡…i/chat2db/community/jcef/utils/SystemSettingsUtil.java25 ai.chat2db.community.tools.util.SystemSettingsUtil.setProperty(key, newValue);CODE
CRITICAL⚡…i/chat2db/community/jcef/utils/SystemSettingsUtil.java29 return ai.chat2db.community.tools.util.SystemSettingsUtil.getProperty(key);CODE
CRITICAL⚡…i/chat2db/community/jcef/utils/SystemSettingsUtil.java33 return ai.chat2db.community.tools.util.SystemSettingsUtil.getBooleanProperty(key, defaultValue);CODE
CRITICAL⚡…i/chat2db/community/jcef/utils/SystemSettingsUtil.java37 return ai.chat2db.community.tools.util.SystemSettingsUtil.isMcpEnabled();CODE
CRITICAL⚡…i/chat2db/community/jcef/utils/SystemSettingsUtil.java41 return ai.chat2db.community.tools.util.SystemSettingsUtil.getOrCreateMcpAuthToken();CODE
CRITICAL⚡…i/chat2db/community/jcef/utils/SystemSettingsUtil.java45 return ai.chat2db.community.tools.util.SystemSettingsUtil.resetMcpAuthToken();CODE
CRITICAL…b/api/model/response/db/SqlCompletionResponseTest.java18 ai.chat2db.community.domain.api.model.completion.result.SqlCompletionResponse.success(7, 10,CODE
CRITICAL…nity/web/api/converter/cli/CliDatasourceConverter.java35 new ai.chat2db.community.domain.api.model.request.cli.CliConnectionTestRequest();CODE
21 more matches not shown…
Hyper-Verbose Identifiers555 hits · 585 pts
SeverityFileLineSnippetContext
LOW…db/plugin/oracle/value/sub/OracleAnyDataProcessor.java8public class OracleAnyDataProcessor extends DefaultValueProcessor {CODE
LOW⚡script/github/test_notify_qq.py473 def test_relay_url_must_use_https(self):CODE
LOW⚡script/github/test_notify_qq.py483 def test_api_error_is_sanitized(self):CODE
LOW⚡script/github/test_notify_qq.py492 def test_manual_dry_run_does_not_require_secrets(self):CODE
LOWscript/github/test_notify_qq.py36 def test_issue_label_change_includes_label(self):CODE
LOWscript/github/test_notify_qq.py51 def test_merged_pull_request_is_distinct_from_closed(self):CODE
LOWscript/github/test_notify_qq.py70 def test_pull_request_synchronize_includes_commit_range(self):CODE
LOWscript/github/test_notify_qq.py86 def test_release_published_includes_metadata_but_not_body(self):CODE
LOWscript/github/test_notify_qq.py116 def test_deployment_created_includes_environment_and_ref(self):CODE
LOWscript/github/test_notify_qq.py142 def test_deployment_status_uses_environment_url_without_query_credentials(self):CODE
LOWscript/github/test_notify_qq.py171 def test_discussion_includes_category_and_status_but_not_body(self):CODE
LOWscript/github/test_notify_qq.py203 def test_issue_comment_includes_bounded_excerpt(self):CODE
LOWscript/github/test_notify_qq.py238 def test_deleted_pull_request_comment_does_not_echo_body(self):CODE
LOWscript/github/test_notify_qq.py269 def test_submitted_pull_request_review_states_are_distinct(self):CODE
LOWscript/github/test_notify_qq.py308 def test_dismissed_review_does_not_echo_body(self):CODE
LOWscript/github/test_notify_qq.py334 def test_line_review_comment_includes_location_but_not_diff(self):CODE
LOWscript/github/test_notify_qq.py368 def test_untrusted_title_is_bounded_and_control_characters_are_removed(self):CODE
LOWscript/github/test_notify_qq.py383 def test_untrusted_title_cannot_create_extra_message_lines(self):CODE
LOWscript/github/test_notify_qq.py401 def test_manual_dry_run_message(self):CODE
LOWscript/github/test_notify_qq.py438 def test_http_client_sets_explicit_user_agent(self, urlopen_mock):CODE
LOWscript/github/test_notify_qq.py451 def test_relay_request_uses_bearer_token_and_delivery_id(self, post_json):CODE
LOWscript/github/test_notify_qq.py508 def test_comment_collector_writes_message_without_secrets(self):CODE
LOWscript/github/test_notify_qq.py546 def test_prepared_sender_uses_original_run_as_delivery_id(self, send_message):CODE
LOWscript/github/test_notify_qq.py586 def test_prepared_sender_rejects_wrong_repository(self):CODE
LOWscript/github/test_notify_qq.py604 def test_prepared_sender_rejects_onebot_cq_code(self):CODE
LOWscript/github/test_notify_qq.py622 def test_prepared_sender_rejects_unallowed_event_and_oversized_message(self):CODE
LOWscript/github/qq_relay/test_relay_server.py14 def test_rejects_requests_over_window_limit(self):CODE
LOWscript/github/qq_relay/test_relay_server.py25 def test_group_number_is_fixed_by_server_configuration(self, urlopen_mock):CODE
LOWscript/github/qq_relay/test_relay_server.py45 def test_explicit_onebot_rejection_is_distinguishable(self, urlopen_mock):CODE
LOW⚡script/github/qq_relay/test_relay_server.py101 def test_health_check_does_not_require_authentication(self):CODE
LOW⚡script/github/qq_relay/test_relay_server.py106 def test_authenticated_message_is_forwarded(self):CODE
LOW⚡script/github/qq_relay/test_relay_server.py115 def test_onebot_rejection_retries_once_without_urls(self):CODE
LOWscript/github/qq_relay/test_relay_server.py138 def test_onebot_rejection_without_url_is_not_retried(self):CODE
LOWscript/github/qq_relay/test_relay_server.py149 def test_duplicate_delivery_is_not_sent_twice(self):CODE
LOWscript/github/qq_relay/test_relay_server.py156 def test_in_flight_duplicate_is_retryable_until_delivery_completes(self):CODE
LOW⚡script/github/qq_relay/test_relay_server.py171 def test_invalid_token_is_rejected(self):CODE
LOW⚡script/github/qq_relay/test_relay_server.py178 def test_other_repository_is_rejected(self):CODE
LOW⚡script/github/qq_relay/test_relay_server.py187 def test_message_length_is_bounded(self):CODE
LOW⚡script/github/qq_relay/test_relay_server.py193 def test_rate_limit_releases_rejected_delivery(self):CODE
LOWscript/package/tests/release-deletion-guard-test.py39 def test_workflows_and_scripts_are_discovered(self):CODE
LOWscript/package/tests/release-deletion-guard-test.py44 def test_no_destructive_release_commands(self):CODE
LOWchat2db-community-client/src/blocks/AI/index.tsx58function splitIncompleteChartBlock(text: string): { textBeforeChart: string; hasIncompleteChart: boolean } {CODE
LOWchat2db-community-client/src/blocks/AI/index.tsx478function truncateCollapsedThoughtPreview(text?: string, maxLength = COLLAPSED_THOUGHT_PREVIEW_MAX_LENGTH) {CODE
LOWchat2db-community-client/src/blocks/AI/index.tsx489function isLikelySameSessionFromPrefix(serverMessages: IChatItem[], snapshotMessages: IChatItem[]) {CODE
LOW…db-community-client/src/blocks/AI/dataSourceContext.ts15export function resolveAIDataSourceContext(CODE
LOW…db-community-client/src/blocks/AI/messageNavigation.ts23export function getMessageNavigationRailWidth(itemIndex: number, selectedIndex: number) {CODE
LOW…db-community-client/src/blocks/AI/messageNavigation.ts33export function buildUserMessageNavigationItems(CODE
LOW…rc/blocks/ImportAndExport/utils/importPolicies.test.ts9function defaultsAreInsertAndAbort() {CODE
LOW…rc/blocks/ImportAndExport/utils/importPolicies.test.ts34function dropsRestoredIgnoreOnUnsupportedTargets() {CODE
LOW…c/blocks/ImportAndExport/utils/restoreTaskSpec.test.ts20function restoresADomainImportSpec() {CODE
LOW…c/blocks/ImportAndExport/utils/restoreTaskSpec.test.ts66function restoresASqlImportSpecWithItsEncoding() {CODE
LOW…c/blocks/ImportAndExport/utils/restoreTaskSpec.test.ts92function restoresADomainExportSpec() {CODE
LOW…c/blocks/ImportAndExport/utils/restoreTaskSpec.test.ts127function restoresTheFlatRequestLayout() {CODE
LOW…c/blocks/ImportAndExport/utils/restoreTaskSpec.test.ts150function fallsBackToTheTaskRowTarget() {CODE
LOW…c/blocks/ImportAndExport/utils/restoreTaskSpec.test.ts177function damagedSnapshotsAreReportedInsteadOfOpeningAnEmptyWizard() {CODE
LOW…c/blocks/ImportAndExport/utils/restoreTaskSpec.test.ts206function specsTheWizardCannotReproduceAreRejected() {CODE
LOW…c/blocks/ImportAndExport/utils/restoreTaskSpec.test.ts256function unknownFormatsFallBackToTheWizardDefault() {CODE
LOW…-client/src/blocks/ImportAndExport/utils/csvOptions.ts123export function buildCsvOptionsForTaskSubmit(isCsv: boolean, options: ICsvOptions): ICsvOptions | undefined {CODE
LOW…-client/src/blocks/ImportAndExport/utils/csvOptions.ts149export function supportsCsvMappingPreview(format?: ImportExportFileType): boolean {CODE
LOW…ocks/BI/ChartCardBox/EditorChartSql/executionResult.ts11export function buildChartExecutionResult({CODE
495 more matches not shown…
Cross-File Repetition10 hits · 50 pts
SeverityFileLineSnippetContext
HIGH…/src/test/java/PrestoCompletionSyntaxCoverageTest.java0commit; rollback; explain select * from events; show tables; describe events; call refresh_stats(); with daily as (selecSTRING
HIGH…ve/src/test/java/HiveCompletionSyntaxCoverageTest.java0commit; rollback; explain select * from events; show tables; describe events; call refresh_stats(); with daily as (selecSTRING
HIGH…c/test/java/SnowFlakeCompletionSyntaxCoverageTest.java0commit; rollback; explain select * from events; show tables; describe events; call refresh_stats(); with daily as (selecSTRING
HIGH…/src/test/java/DuckDBCompletionSyntaxCoverageTest.java0commit; rollback; explain select * from events; show tables; describe events; call refresh_stats(); with daily as (selecSTRING
HIGH…c/test/java/SnowFlakeCompletionSyntaxCoverageTest.java0merge into target_table t using source_table s on t.id = s.id when matched then update set name = s.name;STRING
HIGH…ve/src/test/java/HiveCompletionSyntaxCoverageTest.java0merge into target_table t using source_table s on t.id = s.id when matched then update set name = s.name;STRING
HIGH…c/test/java/StarrocksCompletionSyntaxCoverageTest.java0merge into target_table t using source_table s on t.id = s.id when matched then update set name = s.name;STRING
HIGH…completion/MysqlSqlCompletionScenarioCoverageTest.java0with paid_orders as( select * from orders where status='paid' ) select * from pa{caret}STRING
HIGH…lver/MysqlSqlCompletionLocalResultSetResolverTest.java0with paid_orders as( select * from orders where status='paid' ) select * from pa{caret}STRING
HIGH…olver/MysqlSqlCompletionRelationScopeResolverTest.java0with paid_orders as( select * from orders where status='paid' ) select * from pa{caret}STRING
Over-Commented Block22 hits · 22 pts
SeverityFileLineSnippetContext
LOWscript/test/start-test-databases.sh1#!/usr/bin/env bashCOMMENT
LOW.github/workflows/ai-issue-assistant.lock.yml1# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"fdf122fdc1e2a1f1ea2401841db35802b4ff0449946bf61c90632c02234COMMENT
LOW.github/workflows/ai-issue-assistant.lock.yml21# gh aw compileCOMMENT
LOW.github/workflows/ai-issue-assistant.lock.yml41# - actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2COMMENT
LOW…ent/src/blocks/BI/Chart/form/config/wordCloudConfig.ts21 // component: 'ChartOptionCheckbox',COMMENT
LOW…client/src/blocks/BI/Chart/form/config/funnelConfig.ts21 name: 'chartOptionCheckbox',COMMENT
LOW…ty-client/src/blocks/BI/Chart/form/config/pieConfig.ts41 // {COMMENT
LOWchat2db-community-client/src/blocks/NewTree/index.tsx281 blockNode: true,COMMENT
LOWchat2db-community-client/src/typings/chat.ts221// * chat idCOMMENT
LOWchat2db-community-client/src/typings/chat.ts241// * Dashboard id, when the answer result type is dashboard, this field has a valueCOMMENT
LOWchat2db-community-client/src/typings/dashboard.ts41 // Don’t worry about the type of refresh data now, it’s not used.COMMENT
LOWchat2db-community-client/src/typings/dashboard.ts61// /** Database type */COMMENT
LOWchat2db-community-client/src/utils/index.ts441// const result: TreeNodeData[] = [];COMMENT
LOWchat2db-community-client/src/utils/clear.ts1// import { clearOrgStore } from '@/store/workspaceContext';COMMENT
LOW…at2db-community-client/src/utils/sql/refreshTargets.ts61 // if (sqlType === SqlTypeEnum.USE_DATABASE) {COMMENT
LOW…client/src/components/SQLEditor/core/setDecorations.ts221 }COMMENT
LOW…-client/src/layouts/GlobalLayout/AppTitleBar/index.tsx121 if (!isMac && !useIntegratedTitleBar) {COMMENT
LOWchat2db-community-client/src/hooks/useAbortRequest.ts61// .then((res) => {COMMENT
LOW…unity-client/src/store/global/slices/misc/selectors.ts1// import { GlobalStore } from '@/store/global';COMMENT
LOW…-client/src/store/global/slices/hotUpdate/selectors.ts1// import { GlobalStore } from '@/store/global';COMMENT
LOW…ity-client/src/store/global/slices/common/selectors.ts1// import { GlobalStore } from '@/store/global';COMMENT
LOW…ty-client/src/store/global/slices/request/selectors.ts1// import { GlobalStore } from '@/store/global';COMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHscript/github/notify_qq.py506except (ValueError, TypeError, json.JSONDecodeError):CODE
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscript/github/notify_qq.py4CODE
LOWscript/github/qq_relay/relay_server.py4CODE
LOWscript/github/qq_relay/deploy/configure.py4CODE
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…db-community-oracle/src/main/resources/TEST_USER_1.sql220INSERT INTO "DEMO_TABLE" ("TEST_ID","TEST_VARCHAR2","TEST_NUMBER","TEST_DECIMAL","TEST_DATE","TEST_TIMESTAMP","TEST_CHARCODE
LOW…ent/src/components/SQLEditor/helper/keywords/oracle.ts1405 example: "SELECT JSON_OBJECT('id' VALUE 1, 'name' VALUE 'John Doe') AS json_object FROM DUAL;",CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscript/test/start-test-databases.sh7# Usage:COMMENT
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscript/github/test_notify_qq.py622CODE
LOWscript/github/notify_qq.py511CODE
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.github/workflows/jcef_release.yml588 except Exception as exc:CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…mmunity-client/src/components/ConnectionEdit/index.tsx479 function getData() {CODE