AI Slop Code RIsk Monitor

hhyo/Archery

SQL 审核查询平台

11.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for hhyo/Archery, a Python project with 7,060 GitHub stars. SynthScan examined 143,025 lines of code across 501 source files, recording 1430 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 11.5 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

11.5
Adjusted Signal
11.5
Raw Pattern Score
100%
Time Factor
2026-09-04
Last Push
7.1K
Stars
Python
Language
143.0K
Lines of Code
501
Files
1.4K
Pattern Hits
2026-10-12
Scan Date
0.10
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 28.4/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 11.0/100 · LOW

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

Agent Over-Engineering Ratio 34.1/100 · MEDIUM

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

PR Review Velocity Impact 46.4/100 · MEDIUM

Which changes need focused human review? 1430 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 17HIGH 31MEDIUM 24LOW 1358

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 1430 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 Identifiers929 hits · 824 pts
SeverityFileLineSnippetContext
LOWconftest.py102def public_instance_permission_data(normal_user, db_instance):CODE
LOWconftest.py201def fake_generate_audit_setting(mocker: MockFixture, super_user, create_auth_group):CODE
LOW⚡sql_api/test_permission_model.py11def test_normal_user_cannot_access_non_query_api(api_client, normal_user):CODE
LOW⚡sql_api/test_permission_model.py18def test_superuser_can_access_non_query_api(api_client, super_user):CODE
LOW⚡sql_api/test_permission_model.py25def test_normal_user_can_access_query_api(api_client, normal_user, monkeypatch):CODE
LOWsql_api/test_permission_model.py40def test_normal_user_can_access_table_locator(api_client, normal_user, monkeypatch):CODE
LOW⚡sql_api/test_api_instance.py300def test_can_read_public_instance_allows_can_write_instance(CODE
LOW⚡sql_api/test_api_instance.py310def test_can_read_public_instance_allows_can_read_instance(CODE
LOW⚡sql_api/test_api_instance.py320def test_can_read_public_instance_denies_untagged_instance(CODE
LOW⚡sql_api/test_api_instance.py327def test_can_read_public_instance_allows_superuser_with_instance_tag(CODE
LOW⚡sql_api/test_api_instance.py337def test_public_instance_serializer_uses_safe_allowlist(db_instance):CODE
LOWsql_api/test_api_instance.py71def test_instance_resource_database(CODE
LOWsql_api/test_api_instance.py94def test_instance_resource_schema(CODE
LOWsql_api/test_api_instance.py113def test_instance_resource_table(CODE
LOWsql_api/test_api_instance.py137def test_instance_resource_column(CODE
LOWsql_api/test_api_instance.py162def test_instance_resource_server_info(CODE
LOWsql_api/test_api_instance.py181def test_instance_resource_server_info_no_fork(CODE
LOWsql_api/test_api_instance.py207def test_instance_resource_invalid_params(CODE
LOWsql_api/test_api_instance.py224def test_instance_resource_invalid_type(CODE
LOWsql_api/test_api_instance.py241def test_instance_resource_missing_args(CODE
LOWsql_api/test_api_instance.py259def test_instance_resource_engine_exception(CODE
LOWsql_api/test_api_instance.py278def test_instance_resource_engine_error_resource(CODE
LOWsql_api/test_api_instance.py353def test_public_instance_detail_allows_can_write_user(CODE
LOWsql_api/test_api_instance.py369def test_public_instance_detail_allows_can_read_user(CODE
LOWsql_api/test_api_instance.py383def test_public_instance_detail_requires_authentication(api_client, db_instance):CODE
LOWsql_api/test_api_instance.py390def test_public_instance_detail_denies_user_without_instance_access(CODE
LOWsql_api/test_api_instance.py401def test_public_instance_detail_returns_not_found(api_client, normal_user):CODE
LOWsql_api/test_api_instance.py410def test_instance_detail_put_and_delete_still_work_for_authenticated_superuser(CODE
LOW⚡sql_api/test_workflow_operations_api.py24def test_should_notify_defaults_to_enabled_when_config_is_empty(mocker):CODE
LOW⚡sql_api/test_workflow_operations_api.py31def test_should_notify_checks_configured_phase_list(mocker):CODE
LOW⚡sql_api/test_workflow_operations_api.py40def test_mutation_response_uses_workflow_detail_url():CODE
LOW⚡sql_api/test_workflow_operations_api.py50def test_workflow_mutation_serializers_retain_legacy_field_names():CODE
LOW⚡sql_api/test_workflow_operations_api.py59def test_sql_workflow_detail_serializer_documents_instance_id(workflow_api_data):CODE
LOW⚡sql_api/test_workflow_operations_api.py69def test_workflow_status_response_serializer_shape():CODE
LOW⚡sql_api/test_workflow_operations_api.py78def test_workflow_action_serializers_use_session_identity_not_engineer():CODE
LOWsql_api/test_workflow_operations_api.py95def test_workflow_log_response_serializer_shape():CODE
LOWsql_api/test_workflow_operations_api.py115def test_approval_endpoint_uses_path_id_and_session_user(CODE
LOWsql_api/test_workflow_operations_api.py145def test_execution_endpoint_rejects_invalid_mode_before_service_call(CODE
LOWsql_api/test_workflow_operations_api.py156def test_workflow_list_returns_submitters_workflow(CODE
LOWsql_api/test_workflow_operations_api.py175def test_workflow_list_filters_json_syntax_type(CODE
LOWsql_api/test_workflow_operations_api.py208def test_workflow_audit_list_returns_workflows(CODE
LOWsql_api/test_workflow_operations_api.py225def test_sql_workflow_submit_view_returns_audit_id_and_queues_apply_notification(CODE
LOWsql_api/test_workflow_operations_api.py271def test_sql_workflow_submit_view_skips_apply_notification_when_disabled(CODE
LOWsql_api/test_workflow_operations_api.py300def test_workflow_detail_returns_saved_fields_for_viewable_workflow(CODE
LOWsql_api/test_workflow_operations_api.py324def test_workflow_detail_denies_unviewable_workflow(CODE
LOWsql_api/test_workflow_operations_api.py337def test_workflow_detail_returns_not_found_for_unknown_workflow(CODE
LOWsql_api/test_workflow_operations_api.py347def test_workflow_content_and_status_return_compatible_responses(CODE
LOWsql_api/test_workflow_operations_api.py369def test_rollback_and_osc_return_engine_results(CODE
LOWsql_api/test_workflow_operations_api.py396def test_osc_progress_get_only_requires_view_permission(CODE
LOWsql_api/test_workflow_operations_api.py416def test_osc_control_requires_workflow_execution_permission(CODE
LOWsql_api/test_workflow_operations_api.py435def test_osc_control_allows_submitter_with_execution_permission(CODE
LOWsql_api/test_workflow_operations_api.py458def test_osc_control_allows_resource_group_execution_permission(CODE
LOWsql_api/test_workflow_operations_api.py488def test_execution_window_updates_workflow(CODE
LOWsql_api/test_workflow_operations_api.py511def test_terminate_scheduled_workflow_removes_schedule_after_commit(CODE
LOWsql_api/test_workflow_operations_api.py548def test_rejection_view_aborts_workflow_and_removes_schedule_after_commit(CODE
LOWsql_api/test_workflow_operations_api.py599def test_rejection_view_requires_reject_remark_before_side_effects(CODE
LOWsql_api/test_workflow_operations_api.py618def test_rejection_view_returns_audit_exception_message(CODE
LOWsql_api/test_workflow_operations_api.py654def test_auto_execution_queues_task_and_removes_schedule_after_commit(CODE
LOWsql_api/test_workflow_operations_api.py690def test_auto_execution_queues_task_when_schedule_cleanup_fails(CODE
LOWsql_api/test_workflow_operations_api.py732def test_schedule_creates_timing_task_for_authorized_executor(CODE
869 more matches not shown…
Excessive Try-Catch Wrapping200 hits · 213 pts
SeverityFileLineSnippetContext
LOWsql_api/api_workflow.py73 except Exception as e:CODE
LOWsql_api/serializers.py248 except Exception as e:CODE
LOWsql_api/serializers.py554 except Exception:CODE
LOWsql_api/serializers.py592 except Exception:CODE
MEDIUMsql_api/serializers.py46def validate_password(self, password):CODE
MEDIUMsql_api/serializers.py409def validate_instance_id(self, instance_id):CODE
LOWsql_api/api_workflow_operations.py81 except Exception:CODE
LOWsql_api/api_workflow_operations.py102 except Exception:CODE
LOWsql_api/api_workflow_operations.py376 except Exception:CODE
LOWsql_api/api_workflow_operations.py640 except Exception:CODE
MEDIUMsql_api/api_workflow_operations.py54def get_workflow(workflow_id):CODE
LOWsql_api/api_instance.py267 except Exception as msg:CODE
LOWsql_api/api_instance.py307 except Exception as e:CODE
MEDIUMsql_api/api_instance.py89def get_object(self, pk):CODE
LOWsql_api/table_instance_locator.py88 except Exception as e:CODE
LOWsql_api/views.py65 except Exception as e:CODE
LOWsql_api/views.py113 except Exception as e:CODE
LOWsql_api/views.py152 except Exception as e:CODE
LOWsql_api/views.py168 except Exception as e:CODE
LOWsql_api/views.py234 except Exception as msg:CODE
LOWcommon/config.py31 except Exception as m:CODE
LOWcommon/config.py86 except Exception as e:CODE
LOWcommon/config.py100 except Exception as m:CODE
MEDIUMcommon/config.py19def get_all_config(self):CODE
LOWcommon/check.py43 except Exception as e:CODE
LOWcommon/check.py62 except Exception as e:CODE
LOWcommon/check.py130 except Exception as e:CODE
LOWcommon/check.py204 except Exception as e:CODE
LOWcommon/workflow.py85 except Exception:CODE
LOWcommon/twofa/totp.py61 except Exception as msg:CODE
LOWcommon/twofa/totp.py95 except Exception as msg:CODE
LOWcommon/twofa/sms.py93 except Exception as msg:CODE
LOWcommon/utils/global_info.py20 except Exception:CODE
LOWcommon/utils/aliyun_sms.py45 except Exception as e:CODE
LOWcommon/utils/sendmsg.py133 except Exception:CODE
LOWcommon/utils/openai.py39 except Exception as e:CODE
LOWcommon/utils/wx_api.py15 except Exception as e:CODE
LOWcommon/utils/aliyun_sdk.py24 except Exception as m:CODE
MEDIUMcommon/utils/aliyun_sdk.py18def __init__(self, rds):CODE
LOWcommon/utils/ding_api.py16except Exception as e:CODE
LOWcommon/utils/ding_api.py26 except Exception as e:CODE
LOWcommon/utils/ding_api.py56 except Exception as e:CODE
LOWcommon/utils/ding_api.py100 except Exception as e:CODE
LOWcommon/utils/ding_api.py119 except Exception as e:CODE
LOWcommon/utils/ding_api.py131 except Exception as e:CODE
LOWcommon/utils/feishu_api.py15 except Exception as e:CODE
LOW.specify/scripts/bash/common.sh373except Exception:CODE
LOW.specify/scripts/bash/common.sh461except Exception:CODE
LOW.specify/scripts/bash/common.sh492except Exception:CODE
LOWsrc/script/collect_redis_slow_log.py235 except Exception as e:CODE
LOWsql/instance.py358 except Exception as e:CODE
LOWsql/instance.py369 except Exception as e:CODE
LOWsql/binlog.py256 except Exception as e:CODE
LOWsql/slowlog.py53 except Exception:CODE
LOWsql/slowlog.py211 except Exception:CODE
LOWsql/query.py168 except Exception as msg:CODE
LOWsql/archiver.py532 except Exception as msg:CODE
LOWsql/query_privileges.py98 except Exception as msg:CODE
LOWsql/instance_database.py110 except Exception as e:CODE
LOWsql/notify.py507 except Exception as e: # NOQA 捕获一些错误, 让其他的 notifier 可以正常运行CODE
140 more matches not shown…
Hallucination Indicators17 hits · 185 pts
SeverityFileLineSnippetContext
CRITICALsql_api/serializers.py18from django.core.exceptions import ValidationErrorCODE
CRITICALcommon/auth.py9from django.core.exceptions import ValidationErrorCODE
CRITICALcommon/dashboard.py6from django.core.exceptions import ValidationErrorCODE
CRITICAL⚡…static/bootstrap-editable/js/bootstrap-editable.min.js5!function(a){"use strict";var b=function(b,c){this.options=a.extend({},a.fn.editableform.defaults,c),this.$div=a(b),thisCODE
CRITICAL⚡…static/bootstrap-editable/js/bootstrap-editable.min.js7},getDaysInMonth:function(a,b){return[31,l.isLeapYear(a)?29:28,31,30,31,30,31,31,30,31,30,31][b]},validParts:/dd?|DD?|mmCODE
CRITICAL…mon/static/bootstrap-editable/js/bootstrap-editable.js3087 $.fn.editabletypes.text.prototype.activate.call(this);CODE
CRITICAL…mon/static/bootstrap-editable/js/bootstrap-editable.js3199 $.fn.editabletypes.abstractinput.prototype.value2html.call(this, text, element);CODE
CRITICAL…mon/static/bootstrap-editable/js/bootstrap-editable.js6456 $.fn.editabletypes.text.prototype.activate.call(this);CODE
CRITICAL…mon/static/bootstrap-editable/js/bootstrap-editable.js6779 $.fn.editabletypes.text.prototype.activate.call(this);CODE
CRITICALcommon/static/jquery/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICAL…/static/bootstrap-table/export-libs/jsPDF/jspdf.min.js168bottomLeftInner:c(r+n[3].width,i+v,Math.max(0,p-n[3].width),g-n[2].width).bottomLeft.subdivide(.5)}}function u(t,e,n,r){CODE
CRITICAL…tic/bootstrap-table/export-libs/jsPDF/jspdf.umd.min.js96 */var S={print:4,modify:8,copy:16,"annot-forms":32};function _(t,e,r,n){this.v=1,this.r=2;let i=192;t.forEach((functiCOMMENT
CRITICALcommon/static/bootstrap-select/js/bootstrap-select.js1310 that.selectpicker.view.currentActive.classList.remove('active');CODE
CRITICALcommon/static/bootstrap-select/js/bootstrap-select.js1311 if (that.selectpicker.view.currentActive.firstChild) that.selectpicker.view.currentActive.firstChild.classLiCODE
CRITICAL…mon/static/bootstrap-select/js/bootstrap-select.min.js8!function(e,t){void 0===e&&void 0!==window&&(e=window),"function"==typeof define&&define.amd?define(["jquery"],function(CODE
CRITICALsql/form.py14from django.core.exceptions import ValidationErrorCODE
CRITICALsql/instance_account.py6from django.core.exceptions import ValidationErrorCODE
Unused Imports101 hits · 92 pts
SeverityFileLineSnippetContext
LOWsql_api/api_sqlquery.py4CODE
LOWsql_api/api_workflow.py3CODE
LOWsql_api/api_workflow.py7CODE
LOWsql_api/api_workflow.py17CODE
LOWsql_api/api_workflow.py17CODE
LOWsql_api/api_workflow.py29CODE
LOWsql_api/test_api_instance.py4CODE
LOWsql_api/test_table_instance_locator.py2CODE
LOWsql_api/test_table_instance_locator.py6CODE
LOWsql_api/test_table_instance_locator.py6CODE
LOWsql_api/serializers.py21CODE
LOWsql_api/api_user.py24CODE
LOWsql_api/api_instance.py26CODE
LOWcommon/tests.py12CODE
LOWcommon/utils/sendmsg.py16CODE
LOWarchery/settings.py6CODE
LOWarchery/settings.py522CODE
LOWsql/instance.py18CODE
LOWsql/sql_analyze.py13CODE
LOWsql/binlog.py2CODE
LOWsql/binlog.py9CODE
LOWsql/binlog.py14CODE
LOWsql/binlog.py21CODE
LOWsql/slowlog.py2CODE
LOWsql/query.py2CODE
LOWsql/query.py4CODE
LOWsql/query.py5CODE
LOWsql/query.py6CODE
LOWsql/query.py10CODE
LOWsql/query.py10CODE
LOWsql/query.py11CODE
LOWsql/query.py13CODE
LOWsql/query.py16CODE
LOWsql/query.py17CODE
LOWsql/query.py18CODE
LOWsql/query.py19CODE
LOWsql/query.py19CODE
LOWsql/query.py20CODE
LOWsql/test_instance.py7CODE
LOWsql/test_instance.py9CODE
LOWsql/archiver.py12CODE
LOWsql/archiver.py33CODE
LOWsql/query_privileges.py34CODE
LOWsql/resource_group.py13CODE
LOWsql/resource_group.py15CODE
LOWsql/offlinedownload.py9CODE
LOWsql/test_workflow.py1CODE
LOWsql/test_storage.py1CODE
LOWsql/test_binlog.py9CODE
LOWsql/test_binlog.py13CODE
LOWsql/test_binlog.py16CODE
LOWsql/test_binlog.py16CODE
LOWsql/test_binlog.py16CODE
LOWsql/instance_account.py2CODE
LOWsql/db_diagnostic.py2CODE
LOWsql/db_diagnostic.py3CODE
LOWsql/tests.py28CODE
LOWsql/sql_optimize.py9CODE
LOWsql/test_offlinedownload.py1CODE
LOWsql/test_offlinedownload.py29CODE
41 more matches not shown…
Empty Error Handlers18 hits · 90 pts
SeverityFileLineSnippetContext
HIGHsql_api/views.py228except:CODE
HIGHsql/sql_analyze.py91except OSError:CODE
HIGHsql/slowlog.py368except Instance.DoesNotExist:CODE
HIGHsql/utils/tasks.py62except Schedule.DoesNotExist:CODE
HIGHsql/utils/tasks.py71except Schedule.DoesNotExist:CODE
HIGHsql/utils/data_masking.py279except:CODE
HIGHsql/engines/mssql.py686except:CODE
HIGHsql/engines/mssql.py690except:CODE
HIGHsql/engines/mssql.py695except:CODE
HIGHsql/engines/mssql.py813except:CODE
HIGHsql/engines/mssql.py504except:CODE
HIGHsql/engines/mssql.py665except:CODE
HIGHsql/engines/gaussdb.py126except Exception:CODE
HIGHsql/engines/gaussdb.py1199except Exception:CODE
HIGHsql/engines/gaussdb.py112except Exception:CODE
HIGHsql/engines/gaussdb.py134except Exception:CODE
HIGHsql/engines/pgsql.py198except:CODE
HIGHsql/engines/mysql.py1149except MySQLdb.OperationalError:CODE
Deep Nesting84 hits · 73 pts
SeverityFileLineSnippetContext
LOWsql_api/api_workflow.py226CODE
LOWsql_api/api_workflow.py316CODE
LOWsql_api/api_user.py278CODE
LOWsql_api/api_instance.py210CODE
LOWsql_api/table_instance_locator.py24CODE
LOWcommon/auth.py120CODE
LOWcommon/auth.py165CODE
LOWcommon/config.py19CODE
LOWcommon/utils/ding_api.py75CODE
LOWsql/sql_analyze.py46CODE
LOWsql/binlog.py41CODE
LOWsql/binlog.py127CODE
LOWsql/slowlog.py35CODE
LOWsql/slowlog.py192CODE
LOWsql/archiver.py330CODE
LOWsql/query_privileges.py43CODE
LOWsql/query_privileges.py206CODE
LOWsql/notify.py143CODE
LOWsql/offlinedownload.py335CODE
LOWsql/offlinedownload.py409CODE
LOWsql/offlinedownload.py510CODE
LOWsql/test_storage.py172CODE
LOWsql/test_storage.py305CODE
LOWsql/db_diagnostic.py84CODE
LOWsql/views.py74CODE
LOWsql/utils/data_masking.py18CODE
LOWsql/utils/data_masking.py236CODE
LOWsql/utils/workflow_audit.py746CODE
LOWsql/utils/extract_tables.py71CODE
LOWsql/utils/extract_tables.py115CODE
LOWsql/utils/sql_utils.py20CODE
LOWsql/utils/sql_utils.py151CODE
LOWsql/engines/elasticsearch.py121CODE
LOWsql/engines/elasticsearch.py250CODE
LOWsql/engines/elasticsearch.py286CODE
LOWsql/engines/elasticsearch.py441CODE
LOWsql/engines/elasticsearch.py529CODE
LOWsql/engines/elasticsearch.py759CODE
LOWsql/engines/elasticsearch.py1174CODE
LOWsql/engines/elasticsearch.py1205CODE
LOWsql/engines/goinception.py223CODE
LOWsql/engines/goinception.py351CODE
LOWsql/engines/clickhouse.py189CODE
LOWsql/engines/clickhouse.py243CODE
LOWsql/engines/mssql.py337CODE
LOWsql/engines/mssql.py461CODE
LOWsql/engines/mssql.py548CODE
LOWsql/engines/mssql.py715CODE
LOWsql/engines/tdengine.py240CODE
LOWsql/engines/tdengine.py419CODE
LOWsql/engines/tdengine.py513CODE
LOWsql/engines/tdengine.py557CODE
LOWsql/engines/mongo.py43CODE
LOWsql/engines/mongo.py84CODE
LOWsql/engines/mongo.py331CODE
LOWsql/engines/mongo.py387CODE
LOWsql/engines/mongo.py423CODE
LOWsql/engines/mongo.py783CODE
LOWsql/engines/mongo.py841CODE
LOWsql/engines/mongo.py1271CODE
24 more matches not shown…
Cross-Language Confusion9 hits · 48 pts
SeverityFileLineSnippetContext
HIGHsql/offlinedownload.py428 text = "(null)"CODE
HIGHsql/test_query_privileges.py502 "query_tree": '{"text":"select * from sql_users limit 100","resultFields":null,"SQLCache":true,"CalcFoundRowCODE
HIGHsql/test_offlinedownload.py657 self.assertEqual(row.find("column-1").text, "(null)")CODE
HIGHsql/engines/mssql.py111 f" macOS: brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release CODE
HIGH⚡sql/engines/test_mongo.py70 assert self.de.decode("{'a':true,'b':false,'c':null}") == {CODE
HIGHsql/engines/oracle.py240 bcs.data_type || caseCODE
HIGHsql/engines/oracle.py248 '(' || bcs.char_length || case char_usedCODE
HIGHsql/engines/oracle.py330 bcs.data_type || caseCODE
HIGHsql/engines/oracle.py338 '(' || bcs.char_length || case char_usedCODE
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMsql_api/test_table_instance_locator.py108# ---------------------------------------------------------------------------COMMENT
MEDIUMsql_api/test_table_instance_locator.py115# ---------------------------------------------------------------------------COMMENT
MEDIUMcommon/authenticate/test_oidc_auth.py3# ========================================================COMMENT
MEDIUMcommon/authenticate/test_oidc_auth.py5# ========================================================COMMENT
MEDIUMcommon/authenticate/test_oidc_auth.py22# ========================================================COMMENT
MEDIUMcommon/authenticate/test_oidc_auth.py24# ========================================================COMMENT
MEDIUMcommon/authenticate/test_oidc_auth.py36# ========================================================COMMENT
MEDIUMcommon/authenticate/test_oidc_auth.py38# ========================================================COMMENT
MEDIUM…cify/extensions/git/scripts/bash/create-new-feature.sh195# ---------------------------------------------------------------------------COMMENT
MEDIUM…cify/extensions/git/scripts/bash/create-new-feature.sh202# ---------------------------------------------------------------------------COMMENT
Redundant / Tautological Comments18 hits · 26 pts
SeverityFileLineSnippetContext
LOW.specify/extensions/git/scripts/bash/git-common.sh6# Check if we have git available at the repo rootCOMMENT
LOW.specify/extensions/git/scripts/bash/auto-commit.sh34# Check if git is availableCOMMENT
LOW.specify/extensions/git/scripts/bash/auto-commit.sh106 # Check if event section existed at allCOMMENT
LOW.specify/extensions/git/scripts/bash/auto-commit.sh120# Check if there are changes to commitCOMMENT
LOW.specify/extensions/git/scripts/bash/initialize-repo.sh37# Check if git is availableCOMMENT
LOW.specify/extensions/git/scripts/bash/initialize-repo.sh43# Check if already a git repoCOMMENT
LOW…cify/extensions/git/scripts/bash/create-new-feature.sh249# Check if git is available at this repo rootCOMMENT
LOW.specify/scripts/bash/common.sh104# Check if we have git available at the spec-kit root levelCOMMENT
LOW.specify/scripts/bash/common.sh111 # Check if .git exists (directory or file for worktrees/submodules)COMMENT
LOW.specify/scripts/bash/common.sh305# Check if jq is available for safe JSON constructionCOMMENT
LOW.specify/scripts/bash/common.sh576 # Check if any layer uses a non-replace strategyCOMMENT
LOW.specify/scripts/bash/setup-plan.sh54# Output resultsCOMMENT
LOW.specify/scripts/bash/setup-tasks.sh62# Output resultsCOMMENT
LOW.specify/scripts/bash/check-prerequisites.sh154# Output resultsCOMMENT
LOW.specify/scripts/bash/create-new-feature.sh32 # Check if the next argument is another option (starts with --)COMMENT
LOW.specify/scripts/bash/create-new-feature.sh197# Check if git is available at this repo root (not a parent)COMMENT
LOW.specify/scripts/bash/create-new-feature.sh333 # Check if branch already existsCOMMENT
LOWsql/engines/gaussdb.py1177 # Check if the parameter requires a restart (postmaster context)STRING
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHsql/engines/clickhouse.py0数据字典页面使用:获取表格的元信息,返回一个dict{column_list: [], rows: []}STRING
HIGHsql/engines/mssql.py0数据字典页面使用:获取表格的元信息,返回一个dict{column_list: [], rows: []}STRING
HIGHsql/engines/oracle.py0数据字典页面使用:获取表格的元信息,返回一个dict{column_list: [], rows: []}STRING
HIGHsql/engines/mysql.py0数据字典页面使用:获取表格的元信息,返回一个dict{column_list: [], rows: []}STRING
AI Structural Patterns13 hits · 13 pts
SeverityFileLineSnippetContext
LOWcommon/twofa/__init__.py17CODE
LOWcommon/utils/aliyun_sdk.py62CODE
LOWcommon/utils/aliyun_sdk.py75CODE
LOWcommon/utils/aliyun_sdk.py97CODE
LOWsql/utils/data_masking.py111CODE
LOWsql/engines/mssql.py335CODE
LOWsql/engines/pgsql.py156CODE
LOWsql/engines/odps.py101CODE
LOWsql/engines/oracle.py454CODE
LOWsql/engines/phoenix.py60CODE
LOWsql/engines/mysql.py1105CODE
LOWsql/engines/cloud/aliyun_rds.py150CODE
LOWsql/engines/cloud/aliyun_rds.py197CODE
Fake / Example Data9 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡common/authenticate/test_oidc_auth.py160 User.objects.create_user(username="admin", email="admin@example.com")CODE
LOW⚡…static/bootstrap-editable/js/bootstrap-editable.min.js5!function(a){"use strict";var b=function(b,c){this.options=a.extend({},a.fn.editableform.defaults,c),this.$div=a(b),thisCODE
LOW⚡…static/bootstrap-editable/js/bootstrap-editable.min.js7},getDaysInMonth:function(a,b){return[31,l.isLeapYear(a)?29:28,31,30,31,30,31,31,30,31,30,31][b]},validParts:/dd?|DD?|mmCODE
LOW…mon/static/bootstrap-editable/js/bootstrap-editable.js2907 this.setAttr('placeholder');CODE
LOW…mon/static/bootstrap-editable/js/bootstrap-editable.js3042 this.setAttr('placeholder');CODE
LOW…mon/static/bootstrap-editable/js/bootstrap-editable.js6430 this.setAttr('placeholder');CODE
LOW…mon/static/bootstrap-editable/js/bootstrap-editable.js6754 this.setAttr('placeholder');CODE
LOWcommon/static/sql-formatter/sql-formatter.js869 PLACEHOLDER: "placeholder"CODE
LOWcommon/static/sql-formatter/sql-formatter.min.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amCODE
Over-Commented Block10 hits · 10 pts
SeverityFileLineSnippetContext
LOW…-table/extensions/editable/bootstrap-table-editable.js1521 // https://tc39.es/ecma262/#sec-array.prototype.mapCOMMENT
LOWcommon/static/bootstrap-select/js/bootstrap-select.js3061//# sourceMappingURL=bootstrap-select.js.mapCOMMENT
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/codeql-analysis.yml41 - name: Initialize CodeQLCOMMENT
LOW.specify/scripts/bash/check-prerequisites.sh1#!/usr/bin/env bashCOMMENT
LOWsrc/charts/values.yaml121 # storageClass: "-"COMMENT
LOWsql/utils/extract_tables.py181 # we'll identify abc, col1 and col2 as table names.COMMENT
LOWsql/engines/redis.py301 # "client list",COMMENT
LOWsql/engines/redis.py321 # "function dump",COMMENT
LOWsql/engines/redis.py561 # ACLCOMMENT
AI Slop Vocabulary3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMsql/engines/test_doris.py60 column_list=column_names, # Add column names for robust lookupCODE
LOW⚡sql/engines/test_gaussdb.py1165 # integer(32,0) is invalid; should just return "integer"COMMENT
MEDIUMsql/engines/doris.py29 # Find Version column by name (robust against column reordering/additions)COMMENT
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOWsql_api/api_sqlquery.py25logger = logging.getLogger(__name__)CODE
LOWsql_api/api_instance.py28logger = logging.getLogger(__name__)CODE
LOWarchery/settings.py15logger = logging.getLogger(__name__)CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.specify/scripts/bash/setup-plan.sh50 # Create a basic plan file if template doesn't existCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…-table/extensions/editable/bootstrap-table-editable.js2619 value: function getData(params) {CODE