Repository Analysis

hhyo/Archery

SQL 审核查询平台

10.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of hhyo/Archery, a Python project with 6,991 GitHub stars. SynthScan v2.0 examined 130,765 lines of code across 461 source files, recording 1195 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 10.6 places this repository in the Low AI signal 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).

10.6
Adjusted Score
10.6
Raw Score
100%
Time Factor
2026-07-27
Last Push
7.0K
Stars
Python
Language
130.8K
Lines of Code
461
Files
1.2K
Pattern Hits
2026-08-02
Scan Date
0.07
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 17HIGH 13MEDIUM 23LOW 1142

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 1195 distinct pattern matches across 16 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 Identifiers725 hits · 662 pts
SeverityFileLineSnippetContext
LOWconftest.py145def fake_generate_audit_setting(mocker: MockFixture, super_user, create_auth_group):CODE
LOWsql_api/test_permission_model.py11def test_normal_user_cannot_access_non_query_api(api_client, normal_user):CODE
LOWsql_api/test_permission_model.py18def test_superuser_can_access_non_query_api(api_client, super_user):CODE
LOWsql_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
LOWsql_api/test_api_instance.py68def test_instance_resource_database(CODE
LOWsql_api/test_api_instance.py91def test_instance_resource_schema(CODE
LOWsql_api/test_api_instance.py110def test_instance_resource_table(CODE
LOWsql_api/test_api_instance.py134def test_instance_resource_column(CODE
LOWsql_api/test_api_instance.py159def test_instance_resource_server_info(CODE
LOWsql_api/test_api_instance.py178def test_instance_resource_server_info_no_fork(CODE
LOWsql_api/test_api_instance.py204def test_instance_resource_invalid_params(CODE
LOWsql_api/test_api_instance.py221def test_instance_resource_invalid_type(CODE
LOWsql_api/test_api_instance.py238def test_instance_resource_missing_args(CODE
LOWsql_api/test_api_instance.py256def test_instance_resource_engine_exception(CODE
LOWsql_api/test_api_instance.py275def test_instance_resource_engine_error_resource(CODE
LOWsql_api/test_table_instance_locator.py48def test_default_table_instance_locator_found(monkeypatch, db_instance):CODE
LOWsql_api/test_table_instance_locator.py63def test_resolve_table_instances_with_custom_locator(settings, db_instance):CODE
LOWsql_api/test_table_instance_locator.py75def test_resolve_table_instances_custom_locator_must_return_list(settings, db_instance):CODE
LOWsql_api/test_table_instance_locator.py85def test_resolve_table_instances_custom_locator_can_return_minimal_dict(CODE
LOWsql_api/test_table_instance_locator.py149def test_instance_outside_resource_group_excluded(api_user, db_instance, monkeypatch):CODE
LOWsql_api/test_sqlquery_api.py30def test_instances_returns_expected_shape(monkeypatch, api_client, authenticated_user):CODE
LOWsql_api/test_sqlquery_api.py46def test_resources_returns_expected_shape(monkeypatch, api_client, authenticated_user):CODE
LOWsql_api/test_sqlquery_api.py63def test_describetable_returns_expected_shape(CODE
LOWsql_api/test_sqlquery_api.py91def test_execute_requires_query_permission_or_superuser(api_client, authenticated_user):CODE
LOWsql_api/test_sqlquery_api.py106def test_execute_calls_service(monkeypatch, api_client, privileged_user):CODE
LOWsql_api/test_sqlquery_api.py160def test_logs_returns_bootstrap_table_shape(monkeypatch, api_client, privileged_user):CODE
LOWsql_api/test_sqlquery_api.py174def test_favorite_returns_expected_shape(monkeypatch, api_client, privileged_user):CODE
LOWsql_api/tests.py77 def test_user_not_in_whitelist(self):CODE
LOWsql_api/tests.py150 def test_get_resource_group_list(self):CODE
LOWsql_api/tests.py156 def test_create_resource_group(self):CODE
LOWsql_api/tests.py166 def test_update_resource_group(self):CODE
LOWsql_api/tests.py178 def test_delete_resource_group(self):CODE
LOWsql_api/tests.py347 def test_lookup_table_instances(self, mock_resolve):CODE
LOWsql_api/tests.py368 def test_lookup_table_instances_bad_request(self):CODE
LOWsql_api/tests.py378 def test_lookup_table_instances_error(self, mock_resolve):CODE
LOWsql_api/tests.py525 def test_get_sql_workflow_list(self):CODE
LOWsql_api/tests.py538 def test_get_workflow_log_list(self):CODE
LOWsql_api/tests.py653 def test_submit_workflow_super(self):CODE
LOWsql_api/tests.py680 def test_submit_workflow_auto_pass(self, mock_generate_settings):CODE
LOWsql_api/tests.py700 def test_submit_offline_export_uses_can_read_and_disables_backup(CODE
LOWsql_api/tests.py741 def test_submit_workflow_still_requires_can_write(self):CODE
LOWsql_api/table_instance_locator.py24def default_table_instance_locator(CODE
LOWcommon/tests.py571 def test_superuser_required_false(self):CODE
LOWcommon/tests.py576 def test_superuser_required_true(self):CODE
LOWcommon/authenticate/test_oidc_auth.py76 def test_default_attribute_mapping(self):CODE
LOWcommon/authenticate/test_oidc_auth.py93 def test_create_user_custom_mapping(self):CODE
LOWcommon/authenticate/test_oidc_auth.py108 def test_create_user_string_config(self):CODE
LOWcommon/authenticate/test_oidc_auth.py115 def test_create_user_missing_email(self):CODE
LOWcommon/authenticate/test_oidc_auth.py123 def test_create_user_missing_username(self):CODE
LOWcommon/authenticate/test_oidc_auth.py131 def test_create_user_missing_display(self):CODE
LOWcommon/authenticate/test_oidc_auth.py139 def test_describe_user_by_claims(self):CODE
LOWcommon/authenticate/test_oidc_auth.py144 def test_filter_users_by_claims_success(self):CODE
LOWcommon/authenticate/test_oidc_auth.py151 def test_filter_users_by_claims_not_found(self):CODE
LOWcommon/authenticate/test_oidc_auth.py156 def test_filter_users_by_claims_admin_block(self):CODE
LOWcommon/utils/ding_api.py60def get_dept_list_id_fetch_child(token, parent_dept_id):CODE
LOWcommon/utils/chart_dao.py85 def querylog_effect_row_by_date(self, start_date, end_date):CODE
LOWcommon/utils/chart_dao.py109 def querylog_effect_row_by_user(self, start_date, end_date):CODE
LOWcommon/utils/chart_dao.py122 def querylog_effect_row_by_db(self, start_date, end_date):CODE
LOWcommon/utils/chart_dao.py135 def slow_query_review_history_by_cnt(self, checksum):CODE
665 more matches not shown…
Excessive Try-Catch Wrapping190 hits · 202 pts
SeverityFileLineSnippetContext
LOWsql_api/api_workflow.py73 except Exception as e:CODE
LOWsql_api/serializers.py241 except Exception as e:CODE
LOWsql_api/serializers.py507 except Exception as e:CODE
LOWsql_api/serializers.py542 except Exception as e:CODE
MEDIUMsql_api/serializers.py46def validate_password(self, password):CODE
MEDIUMsql_api/serializers.py402def validate_instance_id(self, instance_id):CODE
LOWsql_api/api_instance.py240 except Exception as msg:CODE
LOWsql_api/api_instance.py280 except Exception as e:CODE
MEDIUMsql_api/api_instance.py73def 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.py283 except Exception as e:CODE
LOWsql/instance.py294 except Exception as e:CODE
LOWsql/sql_workflow.py196 except Exception as msg:CODE
LOWsql/sql_workflow.py230 except Exception as msg:CODE
LOWsql/sql_workflow.py434 except Exception as msg:CODE
LOWsql/sql_workflow.py526 except Exception as e:CODE
LOWsql/binlog.py255 except Exception as e:CODE
LOWsql/slowlog.py53 except Exception:CODE
LOWsql/slowlog.py199 except Exception:CODE
LOWsql/query.py168 except Exception as msg:CODE
LOWsql/archiver.py524 except Exception as msg:CODE
LOWsql/query_privileges.py94 except Exception as msg:CODE
LOWsql/instance_database.py111 except Exception as e:CODE
LOWsql/notify.py507 except Exception as e: # NOQA 捕获一些错误, 让其他的 notifier 可以正常运行CODE
LOWsql/resource_group.py187 except Exception as e:CODE
130 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 Imports103 hits · 94 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.py24CODE
LOWcommon/tests.py12CODE
LOWcommon/utils/sendmsg.py16CODE
LOWarchery/settings.py6CODE
LOWarchery/settings.py520CODE
LOWsql/instance.py18CODE
LOWsql/sql_workflow.py8CODE
LOWsql/sql_workflow.py22CODE
LOWsql/sql_workflow.py34CODE
LOWsql/sql_analyze.py13CODE
LOWsql/binlog.py2CODE
LOWsql/binlog.py9CODE
LOWsql/binlog.py14CODE
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.py26CODE
LOWsql/archiver.py34CODE
LOWsql/query_privileges.py24CODE
LOWsql/query_privileges.py30CODE
LOWsql/instance_database.py9CODE
LOWsql/resource_group.py15CODE
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/sql_optimize.py9CODE
43 more matches not shown…
Deep Nesting82 hits · 71 pts
SeverityFileLineSnippetContext
LOWsql_api/api_workflow.py226CODE
LOWsql_api/api_workflow.py316CODE
LOWsql_api/api_user.py278CODE
LOWsql_api/api_instance.py183CODE
LOWsql_api/table_instance_locator.py24CODE
LOWcommon/auth.py120CODE
LOWcommon/auth.py165CODE
LOWcommon/config.py19CODE
LOWcommon/utils/ding_api.py75CODE
LOWsql/sql_workflow.py137CODE
LOWsql/sql_analyze.py46CODE
LOWsql/binlog.py41CODE
LOWsql/binlog.py126CODE
LOWsql/archiver.py322CODE
LOWsql/query_privileges.py39CODE
LOWsql/query_privileges.py193CODE
LOWsql/notify.py143CODE
LOWsql/offlinedownload.py332CODE
LOWsql/offlinedownload.py405CODE
LOWsql/offlinedownload.py505CODE
LOWsql/test_storage.py172CODE
LOWsql/test_storage.py305CODE
LOWsql/instance_account.py167CODE
LOWsql/db_diagnostic.py84CODE
LOWsql/views.py75CODE
LOWsql/utils/data_masking.py18CODE
LOWsql/utils/data_masking.py236CODE
LOWsql/utils/workflow_audit.py720CODE
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.py42CODE
LOWsql/engines/mongo.py83CODE
LOWsql/engines/mongo.py324CODE
LOWsql/engines/mongo.py380CODE
LOWsql/engines/mongo.py416CODE
LOWsql/engines/mongo.py776CODE
LOWsql/engines/mongo.py824CODE
LOWsql/engines/mongo.py1251CODE
22 more matches not shown…
Cross-Language Confusion9 hits · 48 pts
SeverityFileLineSnippetContext
HIGHsql/offlinedownload.py427 col_elem.text = "(null)"CODE
HIGHsql/test_query_privileges.py454 "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
HIGHsql/engines/test_mongo.py70 assert self.de.decode("{'a':true,'b':false,'c':null}") == {CODE
HIGHsql/engines/oracle.py236 bcs.data_type || caseCODE
HIGHsql/engines/oracle.py244 '(' || bcs.char_length || case char_usedCODE
HIGHsql/engines/oracle.py326 bcs.data_type || caseCODE
HIGHsql/engines/oracle.py334 '(' || 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 Comments16 hits · 24 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/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
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.py450CODE
LOWsql/engines/phoenix.py60CODE
LOWsql/engines/mysql.py732CODE
LOWsql/engines/cloud/aliyun_rds.py150CODE
LOWsql/engines/cloud/aliyun_rds.py197CODE
Fake / Example Data9 hits · 10 pts
SeverityFileLineSnippetContext
LOWcommon/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 info",COMMENT
LOWsql/engines/redis.py321 # "function stats",COMMENT
LOWsql/engines/redis.py561 # "acl deluser", # 禁用 acl 命令,防止设置敏感信息COMMENT
AI Slop Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMsql/engines/test_doris.py60 column_list=column_names, # Add column names for robust lookupCODE
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.py26logger = 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