AI Slop Code Risk Monitor

zmister2016/MrDoc

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

mrdoc,online document system developed based on python. It is suitable for individuals and small teams to manage documents, wiki, knowledge and notes. 觅思文档,适合于个人和中小型团队的在线文档、AI知识库系统。

1.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for zmister2016/MrDoc, a JavaScript project with 3,247 GitHub stars. SynthScan examined 558,785 lines of code across 2039 source files, recording 742 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 1.9 (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.

1.9
Adjusted Signal
1.9
Raw Pattern Score
100%
Time Factor
2026-10-24
Last Push
3.2K
Stars
JavaScript
Language
558.8K
Lines of Code
2.0K
Files
742
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

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

Cognitive Ownership Risk 1.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.7/100 · LOW

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

Agent Over-Engineering Ratio 5.2/100 · LOW

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

PR Review Velocity Impact 10.2/100 · LOW

Which changes need focused human review? 742 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 11HIGH 12MEDIUM 153LOW 566

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 742 distinct pattern matches across 15 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.

Decorative Section Separators105 hits · 260 pts
SeverityFileLineSnippetContext
MEDIUMdocker_mrdoc.sh3# ---------------------------------------------------------------------------COMMENT
MEDIUMdocker_mrdoc.sh9# ---------------------------------------------------------------------------COMMENT
MEDIUMstatic/mr-marked/katex/katex.js10940 var braceBody = stretchy.svgSpan(group, options); // Generate the vlist, with the appropriate kerns ┏━━━━━━━━┓CODE
MEDIUMstatic/mr-marked/katex/katex.js10986 // ┏━━━━━━━━┓ or ┏━━━┓ not ┏━━━━━━━━━┓COMMENT
MEDIUM⚡static/mr-marked/sequence/raphael.min.js1// ┌────────────────────────────────────────────────────────────────────┐ \\COMMENT
MEDIUM⚡static/mr-marked/sequence/raphael.min.js3// ├────────────────────────────────────────────────────────────────────┤ \\COMMENT
MEDIUM⚡static/mr-marked/sequence/raphael.min.js6// ├────────────────────────────────────────────────────────────────────┤ \\COMMENT
MEDIUM⚡static/mr-marked/sequence/raphael.min.js8// └────────────────────────────────────────────────────────────────────┘ \\COMMENT
MEDIUMstatic/iceEditor/README.md330//┌────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMstatic/iceEditor/README.md332//│────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMstatic/iceEditor/README.md348//└────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py39 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py41 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py49 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py51 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py77 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py79 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py86 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py88 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py99 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py101 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py110 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py112 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py116 # =========================COMMENT
MEDIUM⚡app_admin/management/commands/rebuild_ai_index.py118 # =========================COMMENT
MEDIUMapp_admin/management/commands/rebuild_ai_index.py64 # =========================COMMENT
MEDIUMapp_admin/management/commands/rebuild_ai_index.py66 # =========================COMMENT
MEDIUMapp_admin/management/commands/rebuild_ai_index.py133 # =========================COMMENT
MEDIUMapp_admin/management/commands/rebuild_ai_index.py135 # =========================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py90# =========================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py92# =========================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py97# =========================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py99# =========================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py705# =========================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py707# =========================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py714 # =====================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py716 # =====================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py724 # =====================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py726 # =====================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py732 # =====================================================COMMENT
MEDIUM⚡app_ai/util/spliter/markdown_chunk_spliter.py734 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py17# =========================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py19# =========================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py30# =========================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py32# =========================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py131# =========================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py133# =========================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py181# =========================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py183# =========================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py203 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py205 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py238 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py240 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py260 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py262 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py281 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py283 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py310 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py312 # =====================================================COMMENT
MEDIUMapp_ai/util/spliter/markdown_chunk_spliter.py352 # =====================================================COMMENT
45 more matches not shown…
Excessive Try-Catch Wrapping187 hits · 209 pts
SeverityFileLineSnippetContext
LOWapp_doc/util_upload_file.py48 except Exception:CODE
LOWapp_doc/util_upload_file.py59 except Exception:CODE
LOWapp_doc/util_upload_img.py214 except Exception as e:CODE
LOWapp_doc/util_upload_img.py324 except Exception as e:CODE
LOWapp_doc/views_import.py169 except Exception:CODE
LOWapp_doc/views_import.py199 except Exception:CODE
LOWapp_doc/report_utils.py351 except Exception as e:CODE
LOWapp_doc/report_utils.py654 except Exception as e:STRING
MEDIUMapp_doc/report_utils.py637def generate_epub(self):CODE
LOWapp_doc/utils.py230 except Exception as e:CODE
LOWapp_doc/utils.py245 except Exception as e:CODE
LOWapp_doc/import_utils.py88 except Exception:CODE
LOWapp_doc/import_utils.py357 except Exception as e:CODE
MEDIUMapp_doc/views.py291def create_project(request):CODE
MEDIUMapp_doc/views.py452def modify_project_role(request,pro_id):CODE
MEDIUMapp_doc/views.py523def del_project(request):CODE
MEDIUMapp_doc/views.py699def modify_project_download(request,pro_id):CODE
MEDIUMapp_doc/views.py1245def del_doc(request):CODE
MEDIUMapp_doc/views.py1938def del_doctemp(request):CODE
MEDIUMapp_doc/views.py1958def manage_doctemp(request):CODE
MEDIUMapp_doc/views.py1994def get_doctemp(request):CODE
MEDIUMapp_doc/views.py3128def tag_doc(request,tag_id,doc_id):CODE
LOWapp_doc/views.py110 except Exception as e:CODE
LOWapp_doc/views.py314 except Exception as e:CODE
LOWapp_doc/views.py396 except Exception as e:CODE
LOWapp_doc/views.py443 except Exception as e:CODE
LOWapp_doc/views.py515 except Exception as e:CODE
LOWapp_doc/views.py556 except Exception:CODE
LOWapp_doc/views.py563 except Exception as e:CODE
LOWapp_doc/views.py664 except Exception:CODE
LOWapp_doc/views.py997 except Exception as e:CODE
LOWapp_doc/views.py1025 except Exception as e:CODE
LOWapp_doc/views.py1084 except Exception as e:CODE
LOWapp_doc/views.py1094 except Exception as e:CODE
LOWapp_doc/views.py1135 except Exception as e:CODE
LOWapp_doc/views.py1237 except Exception as e:CODE
LOWapp_doc/views.py1310 except Exception as e:CODE
LOWapp_doc/views.py1515 except Exception as e:CODE
LOWapp_doc/views.py1532 except Exception as e:CODE
LOWapp_doc/views.py1554 except Exception as e:CODE
LOWapp_doc/views.py1643 except Exception as e:CODE
LOWapp_doc/views.py1888 except Exception as e:CODE
LOWapp_doc/views.py1912 except Exception as e:CODE
LOWapp_doc/views.py1931 except Exception as e:CODE
LOWapp_doc/views.py1950 except Exception as e:CODE
LOWapp_doc/views.py1986 except Exception as e:CODE
LOWapp_doc/views.py2002 except Exception as e:CODE
LOWapp_doc/views.py2072 except Exception:CODE
LOWapp_doc/views.py2177 except Exception as e:CODE
LOWapp_doc/views.py2296 except Exception as e:CODE
LOWapp_doc/views.py2330 except Exception as e:CODE
LOWapp_doc/views.py2342 except Exception as e:CODE
LOWapp_doc/views.py2418 except Exception as e:CODE
LOWapp_doc/views.py2429 except Exception as e:CODE
LOWapp_doc/views.py2437 except Exception as e:CODE
LOWapp_doc/views.py2675 except Exception as e:CODE
LOWapp_doc/views.py2692 except Exception as e:CODE
LOWapp_doc/views.py2986 except Exception as e:CODE
LOWapp_doc/views.py3121 except Exception as e:CODE
LOWapp_doc/views.py3184 except Exception as e:CODE
127 more matches not shown…
Unused Imports157 hits · 136 pts
SeverityFileLineSnippetContext
LOWapp_doc/report_html2pdf.py9CODE
LOWapp_doc/report_html2pdf.py9CODE
LOWapp_doc/report_html2pdf.py11CODE
LOWapp_doc/util_upload_file.py9CODE
LOWapp_doc/util_upload_img.py2CODE
LOWapp_doc/util_upload_img.py7CODE
LOWapp_doc/views_import.py8CODE
LOWapp_doc/views_import.py9CODE
LOWapp_doc/views_import.py9CODE
LOWapp_doc/views_import.py9CODE
LOWapp_doc/views_import.py10CODE
LOWapp_doc/views_import.py12CODE
LOWapp_doc/views_import.py14CODE
LOWapp_doc/views_import.py14CODE
LOWapp_doc/views_import.py14CODE
LOWapp_doc/views_import.py14CODE
LOWapp_doc/views_import.py15CODE
LOWapp_doc/views_import.py16CODE
LOWapp_doc/views_import.py17CODE
LOWapp_doc/views_import.py18CODE
LOWapp_doc/views_import.py19CODE
LOWapp_doc/views_import.py23CODE
LOWapp_doc/views_import.py25CODE
LOWapp_doc/views_import.py26CODE
LOWapp_doc/views_import.py27CODE
LOWapp_doc/views_import.py28CODE
LOWapp_doc/views_import.py28CODE
LOWapp_doc/views_import.py29CODE
LOWapp_doc/views_import.py30CODE
LOWapp_doc/views_import.py30CODE
LOWapp_doc/views_import.py31CODE
LOWapp_doc/views_import.py32CODE
LOWapp_doc/views_import.py33CODE
LOWapp_doc/views_import.py34CODE
LOWapp_doc/report_utils.py11CODE
LOWapp_doc/report_utils.py26CODE
LOWapp_doc/report_utils.py28CODE
LOWapp_doc/search_indexes.py8CODE
LOWapp_doc/views_user.py6CODE
LOWapp_doc/views_user.py7CODE
LOWapp_doc/views_user.py7CODE
LOWapp_doc/views_user.py7CODE
LOWapp_doc/views_user.py8CODE
LOWapp_doc/views_user.py10CODE
LOWapp_doc/views_user.py10CODE
LOWapp_doc/views_user.py10CODE
LOWapp_doc/views_user.py11CODE
LOWapp_doc/views_user.py11CODE
LOWapp_doc/views_user.py11CODE
LOWapp_doc/views_user.py11CODE
LOWapp_doc/views_user.py12CODE
LOWapp_doc/views_user.py12CODE
LOWapp_doc/views_user.py14CODE
LOWapp_doc/views_user.py14CODE
LOWapp_doc/views_user.py14CODE
LOWapp_doc/views_user.py15CODE
LOWapp_doc/views_user.py16CODE
LOWapp_doc/views_user.py17CODE
LOWapp_doc/views_user.py19CODE
LOWapp_doc/views_user.py20CODE
97 more matches not shown…
Hallucination Indicators11 hits · 115 pts
SeverityFileLineSnippetContext
CRITICALapp_doc/utils.py3from django.core.exceptions import ValidationErrorCODE
CRITICALstatic/docdiff/codemirror.js8903 return this.cm.display.wrapper.ownerDocument.getSelection()CODE
CRITICALstatic/mr-marked/marked.min.umd.js1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
CRITICALstatic/mr-marked/marked.min.js1var markedParse=function(){"use strict";function e(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.lengthCODE
CRITICALstatic/mr-marked/marked/marked.min.js1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
CRITICALstatic/layui/layui.js3},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWithCODE
CRITICALstatic/jquery/3.5.0/jquery.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALstatic/PearAdminLayui/component/layui/layui.js3},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWithCODE
CRITICALstatic/PearAdminLayui/component/layui/layui.all.js4n&&n.replaceChild(t,this))},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"afteCODE
CRITICAL…c/PearAdminLayui/component/layui/lay/modules/jquery.js4n&&n.replaceChild(t,this))},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"afteCODE
CRITICAL⚡static/mr-editor/mreditor.js1var MrEditor=function(){"use strict";function t(){}function e(t){return t()}function i(){return Object.create(null)}funcCODE
Deep Nesting93 hits · 62 pts
SeverityFileLineSnippetContext
LOWapp_doc/util_upload_img.py143CODE
LOWapp_doc/views_import.py231CODE
LOWapp_doc/views_import.py77CODE
LOWapp_doc/report_utils.py131CODE
LOWapp_doc/views_search.py32CODE
LOWapp_doc/utils.py334CODE
LOWapp_doc/import_utils.py51CODE
LOWapp_doc/views.py48CODE
LOWapp_doc/views.py101CODE
LOWapp_doc/views.py130CODE
LOWapp_doc/views.py322CODE
LOWapp_doc/views.py404CODE
LOWapp_doc/views.py452CODE
LOWapp_doc/views.py523CODE
LOWapp_doc/views.py619CODE
LOWapp_doc/views.py699CODE
LOWapp_doc/views.py739CODE
LOWapp_doc/views.py878CODE
LOWapp_doc/views.py909CODE
LOWapp_doc/views.py1006CODE
LOWapp_doc/views.py1104CODE
LOWapp_doc/views.py1245CODE
LOWapp_doc/views.py1416CODE
LOWapp_doc/views.py1500CODE
LOWapp_doc/views.py1570CODE
LOWapp_doc/views.py1682CODE
LOWapp_doc/views.py1778CODE
LOWapp_doc/views.py1863CODE
LOWapp_doc/views.py1896CODE
LOWapp_doc/views.py2010CODE
LOWapp_doc/views.py2093CODE
LOWapp_doc/views.py2160CODE
LOWapp_doc/views.py2208CODE
LOWapp_doc/views.py2350CODE
LOWapp_doc/views.py2445CODE
LOWapp_doc/views.py2552CODE
LOWapp_doc/views.py2618CODE
LOWapp_doc/views.py2763CODE
LOWapp_doc/views.py2954CODE
LOWapp_doc/views.py3011CODE
LOWapp_doc/views.py3128CODE
LOWapp_doc/views.py3225CODE
LOWapp_doc/views.py3255CODE
LOWapp_doc/importers/dingtalk/blocks.py41CODE
LOWapp_doc/importers/feishu/blocks.py68CODE
LOWapp_doc/importers/feishu/blocks.py137CODE
LOWapp_doc/importers/confluence/convert.py80CODE
LOWapp_doc/search/whoosh_cn_backend.py187CODE
LOWapp_doc/search/whoosh_cn_backend.py268CODE
LOWapp_doc/search/whoosh_cn_backend.py407CODE
LOWapp_doc/search/whoosh_cn_backend.py702CODE
LOWapp_doc/search/whoosh_cn_backend.py825CODE
LOWapp_doc/search/whoosh_cn_backend.py926CODE
LOWapp_doc/search/chinese_analyzer.py42CODE
LOWapp_doc/search/highlight.py44CODE
LOWapp_api/views_app.py107CODE
LOWapp_api/views_app.py396CODE
LOWapp_api/views_app.py438CODE
LOWapp_api/views_app.py594CODE
LOWapp_api/views.py39CODE
33 more matches not shown…
Fake / Example Data48 hits · 52 pts
SeverityFileLineSnippetContext
LOWtemplate/app_doc/editor/tpl_editor_vditor.html201 "placeholder":"{% trans '道友,开始吧……' %}",CODE
LOWstatic/mr-marked/marked.min.umd.js3const{entries:me,setPrototypeOf:ge,isFrozen:ke,getPrototypeOf:be,getOwnPropertyDescriptor:xe}=Object;let{freeze:we,seal:CODE
LOWstatic/mr-marked/marked.min.js3const{entries:fe,setPrototypeOf:ge,isFrozen:ke,getPrototypeOf:be,getOwnPropertyDescriptor:xe}=Object;let{freeze:we,seal:CODE
LOWstatic/mr-marked/highlight/languages/css.min.js3;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","codCODE
LOWstatic/mr-marked/highlight/languages/less.js295 'placeholder',CODE
LOWstatic/mr-marked/highlight/languages/scss.min.js3;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","codCODE
LOWstatic/mr-marked/highlight/languages/less.min.js3;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","codCODE
LOWstatic/mr-marked/highlight/languages/stylus.min.js3;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","codCODE
LOWstatic/mr-marked/highlight/languages/stylus.js295 'placeholder',CODE
LOWstatic/mr-marked/highlight/languages/css.js295 'placeholder',CODE
LOWstatic/mr-marked/highlight/languages/scss.js295 'placeholder',CODE
LOWstatic/mr-marked/highlight/es/languages/css.min.js3;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","codCODE
LOWstatic/mr-marked/highlight/es/languages/less.js294 'placeholder',CODE
LOWstatic/mr-marked/highlight/es/languages/scss.min.js3;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","codCODE
LOWstatic/mr-marked/highlight/es/languages/less.min.js3;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","codCODE
LOWstatic/mr-marked/highlight/es/languages/stylus.min.js3;const e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","codCODE
LOWstatic/mr-marked/highlight/es/languages/stylus.js294 'placeholder',CODE
LOWstatic/mr-marked/highlight/es/languages/css.js294 'placeholder',CODE
LOWstatic/mr-marked/highlight/es/languages/scss.js294 'placeholder',CODE
LOWstatic/mr-marked/highlightjs/highlight.min.js317}),re=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code",CODE
LOWstatic/layui/layui.js4return this.map(function(){for(var e=this.offsetParent;e&&!pe.nodeName(e,"html")&&"static"===pe.css(e,"position");)e=e.oCODE
LOWstatic/purifyjs/purify.min.js2!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
LOWstatic/PearAdminLayui/component/pear/module/select.js445 reElem.find('dl').html(this.renderSelect(id, pcInput.attr('placeholder') || pcInput.attr('back'), dataArr.map((item) =CODE
LOW⚡static/PearAdminLayui/component/pear/module/select.js1290 input.attr('placeholder', ph);CODE
LOW⚡static/PearAdminLayui/component/pear/module/select.js1292 let ph = input.attr('placeholder');CODE
LOW⚡static/PearAdminLayui/component/pear/module/select.js1293 input.removeAttr('placeholder');CODE
LOWstatic/PearAdminLayui/component/pear/module/select.js1697 let html = pcInput.attr('placeholder') || pcInput.attr('back');CODE
LOW⚡…i/component/pear/module/tinymce/tinymce/tinymce.min.js9!function(){"use strict";var r=function(e){if(null===e)return"null";if(e===undefined)return"undefined";var t=typeof e;reCODE
LOW…pear/module/tinymce/tinymce/themes/silver/theme.min.js9!function(){"use strict";var $=function(){},i=function(e,o){return function(){for(var t=[],n=0;n<arguments.length;n++)t[CODE
LOW…ent/pear/module/tinymce/tinymce/themes/mobile/theme.js4456 var _placeholder = 'placeholder';CODE
LOW…pear/module/tinymce/tinymce/themes/mobile/theme.min.js9!function(){"use strict";var x=function(){return(x=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++)fCODE
LOWstatic/PearAdminLayui/component/pear/modules/select.js445 reElem.find('dl').html(this.renderSelect(id, pcInput.attr('placeholder') || pcInput.attr('back'), dataArr.map((item) =CODE
LOW⚡static/PearAdminLayui/component/pear/modules/select.js1290 input.attr('placeholder', ph);CODE
LOW⚡static/PearAdminLayui/component/pear/modules/select.js1292 let ph = input.attr('placeholder');CODE
LOW⚡static/PearAdminLayui/component/pear/modules/select.js1293 input.removeAttr('placeholder');CODE
LOWstatic/PearAdminLayui/component/pear/modules/select.js1697 let html = pcInput.attr('placeholder') || pcInput.attr('back');CODE
LOW⚡…/component/pear/modules/tinymce/tinymce/tinymce.min.js9!function(j){"use strict";function i(){}var q=function(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[CODE
LOW…nt/pear/modules/tinymce/tinymce/themes/silver/theme.js5503 var _placeholder = 'placeholder';CODE
LOW…nt/pear/modules/tinymce/tinymce/themes/silver/theme.js27478 optionString('placeholder'),CODE
LOW…nt/pear/modules/tinymce/tinymce/themes/silver/theme.js27507 optionString('placeholder'),CODE
LOW…ear/modules/tinymce/tinymce/themes/silver/theme.min.js9!function(M){"use strict";function Z(){}function c(e,o){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=aCODE
LOW…nt/pear/modules/tinymce/tinymce/themes/mobile/theme.js4359 var _placeholder = 'placeholder';CODE
LOW…ear/modules/tinymce/tinymce/themes/mobile/theme.min.js9!function(d){"use strict";var b=function(){return(b=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++)CODE
LOWstatic/PearAdminLayui/component/layui/layui.js4return this.map(function(){for(var e=this.offsetParent;e&&!pe.nodeName(e,"html")&&"static"===pe.css(e,"position");)e=e.oCODE
LOWstatic/PearAdminLayui/component/layui/layui.all.js5for(var e=this.offsetParent;e&&!pe.nodeName(e,"html")&&"static"===pe.css(e,"position");)e=e.offsetParent;return e||pt})}CODE
LOW…tic/PearAdminLayui/component/layui/lay/modules/form.js2 ;layui.define("layer",function(e){"use strict";var t=layui.$,i=layui.layer,a=layui.hint(),n=layui.device(),l="form",r="CODE
LOWstatic/tagsInput/tagsinput.js50 this.placeholderText = element.hasAttribute('placeholder') ? this.$element.attr('placeholder') : '';CODE
LOW⚡static/mr-editor/mreditor.js1var MrEditor=function(){"use strict";function t(){}function e(t){return t()}function i(){return Object.create(null)}funcCODE
Hyper-Verbose Identifiers51 hits · 52 pts
SeverityFileLineSnippetContext
LOWapp_doc/views_import.py65def import_local_doc_to_project(request):CODE
LOWapp_doc/utils.py214def check_user_project_writer_role(user_id,project_id):CODE
LOWapp_doc/utils.py265def check_user_project_view_role(user_id,project_id):CODE
LOWapp_doc/utils.py334def libreoffice_wmf_conversion(image, post_process=None):CODE
LOWapp_doc/import_utils.py51def find_external_media_relationships(docx_file_path):CODE
LOWapp_doc/views.py739def manage_project_collaborator(request,pro_id):CODE
LOWapp_doc/templatetags/project_filter.py55def get_project_collaborator_cnt(value):CODE
LOWapp_doc/importers/pipeline.py448 def _normalize_attachment_url(self, url):CODE
LOWapp_doc/search/whoosh_cn_backend.py796 def create_spelling_suggestion(self, query_string):CODE
LOWstatic/docdiff/codemirror.js1531 function conflictingCollapsedRange(doc, lineNo$$1, from, to, marker) {CODE
LOWstatic/docdiff/codemirror.js1788 function defaultSpecialCharPlaceholder(ch) {CODE
LOWstatic/docdiff/codemirror.js2359 function updateExternalMeasurement(cm, line) {CODE
LOW⚡static/docdiff/codemirror.js2535 function maybeUpdateRectForZooming(measure, rect) {CODE
LOW⚡static/docdiff/codemirror.js2545 function clearLineMeasurementCacheFor(lineView) {CODE
LOW⚡static/docdiff/codemirror.js2554 function clearLineMeasurementCache(cm) {CODE
LOWstatic/docdiff/codemirror.js4270 function maybeUpdateLineNumberWidth(cm) {CODE
LOWstatic/docdiff/codemirror.js4902 function selectionEventCanBeMerged(doc, origin, prev, sel) {CODE
LOWstatic/docdiff/codemirror.js5103 function setSelectionReplaceHistory(doc, sel, options) {CODE
LOWstatic/docdiff/codemirror.js5434 function makeChangeSingleDocInEditor(cm, change, spans) {CODE
LOWstatic/docdiff/codemirror.js5794 function adjustScrollWhenAboveVisible(cm, line, diff) {CODE
LOWstatic/docdiff/merge.js777 function collapseIdenticalStretches(mv, margin) {CODE
LOWstatic/mr-marked/katex/katex.js1(function webpackUniversalModuleDefinition(root, factory) {CODE
LOWstatic/mr-marked/katex/contrib/auto-render.js1(function webpackUniversalModuleDefinition(root, factory) {CODE
LOWstatic/mr-marked/katex/contrib/copy-tex.js1(function webpackUniversalModuleDefinition(root, factory) {CODE
LOWstatic/mr-marked/katex/contrib/mathtex-script-type.js1(function webpackUniversalModuleDefinition(root, factory) {CODE
LOWstatic/mr-marked/katex/contrib/mhchem.js1(function webpackUniversalModuleDefinition(root, factory) {CODE
LOWstatic/mr-marked/graphviz/viz.js193 function svgXmlToImageElementFabric(svgXml) {CODE
LOWstatic/mr-marked/clipboard/clipboard.js7(function webpackUniversalModuleDefinition(root, factory) {CODE
LOW…ar/module/tinymce/tinymce/plugins/codesample/plugin.js758 function highlightAutomaticallyCallback() {CODE
LOW…ar/module/tinymce/tinymce/plugins/codesample/plugin.js1099 function createInterpolationInside(interpolation, interpolationRound) {CODE
LOW…nt/pear/module/tinymce/tinymce/plugins/paste/plugin.js542 function convertFakeListsToProperLists(node) {CODE
LOW…nt/pear/module/tinymce/tinymce/plugins/paste/plugin.js1625 function removeExplorerBrElementsAfterBlocks(editor, html) {CODE
LOW…nt/pear/module/tinymce/tinymce/plugins/paste/plugin.js1698 function removeUnderlineAndFontInAnchor(editor, root) {CODE
LOW…t/pear/modules/tinymce/tinymce/plugins/paste/plugin.js1206 function convertFakeListsToProperLists(node) {CODE
LOW…t/pear/modules/tinymce/tinymce/plugins/paste/plugin.js2242 function removeExplorerBrElementsAfterBlocks(editor, html) {CODE
LOW…t/pear/modules/tinymce/tinymce/plugins/paste/plugin.js2315 function removeUnderlineAndFontInAnchor(editor, root) {CODE
LOW…nt/pear/modules/tinymce/tinymce/themes/silver/theme.js10120 function renderInsertTableMenuItem(spec) {CODE
LOW…nt/pear/modules/tinymce/tinymce/themes/silver/theme.js17039 function complexAdjustableColorFilter(matrixAdjustFn) {CODE
LOWstatic/sortablejs/Sortable.js293 function getWindowScrollingElement() {CODE
LOWstatic/sortablejs/Sortable.js529 function getParentAutoScrollElement(el, includeSelf) {CODE
LOWstatic/sortablejs/Sortable.js1149 var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent(evt) {CODE
LOWstatic/sortablejs/Sortable.js2808 function clearPointerElemChangedInterval() {CODE
LOWstatic/sortablejs/Sortable.js3377 dragOverAnimationComplete: function dragOverAnimationComplete() {CODE
LOWstatic/mrdoc/mrdoc.editor.js154function convertTableElementToMarkdown(tableEl) {CODE
LOWstatic/mrdoc/mrdoc.editor.js167function convertTableRowElementToMarkdown(tableRowEl, rowNumber) {CODE
LOWstatic/clipboard/clipboard.js7(function webpackUniversalModuleDefinition(root, factory) {CODE
LOWapp_admin/views.py664def admin_project_colla_config(request,pro_id):CODE
LOWapp_admin/management/commands/rebuild_ai_index.py153 def rebuild_project_docs_index(self,project):CODE
LOWapp_ai/views.py313def manage_doc_ai_section_page(request,doc_id):CODE
LOWapp_ai/util/spliter/markdown_chunk_spliter.py828def render_block_for_embedding(block):CODE
LOWapp_ai/services/text_generate.py9def handle_stream_response_line(line):CODE
Over-Commented Block48 hits · 48 pts
SeverityFileLineSnippetContext
LOWapp_doc/search/chinese_analyzer.py61 t.boost = 1.0COMMENT
LOWapp_api/urls_app.py1# coding:utf-8COMMENT
LOWconfig/config.ini1[site]COMMENT
LOWconfig/config.ini21# 默认站点时区为 Asia/Shanghai,如需使用其他时区,请配置 timezone 参数COMMENT
LOWstatic/docdiff/codemirror.js341 else { bidiOther = i; }COMMENT
LOWstatic/docdiff/codemirror.js5561 if (op(line, no) && doc.cm) { regLineChange(doc.cm, no, changeType); }COMMENT
LOWstatic/docdiff/codemirror.js5821COMMENT
LOWstatic/mr-marked/highlight/languages/cos.js41 + 'tcommit throw trollback try tstart use view while write w|0 xecute x|0 'COMMENT
LOWstatic/mr-marked/highlight/languages/cos.js61 // "$wascii", "$wchar", "$wextract", "$wfind", "$wiswide", "$wlength",COMMENT
LOWstatic/mr-marked/highlight/languages/ada.js41 // Identifier regexCOMMENT
LOWstatic/mr-marked/highlight/languages/julia.js21 // ref: https://docs.julialang.org/en/v1/manual/variables/#Allowed-Variable-NamesCOMMENT
LOWstatic/mr-marked/highlight/languages/julia.js61 'return',COMMENT
LOWstatic/mr-marked/highlight/languages/julia.js121 'undef',COMMENT
LOWstatic/mr-marked/highlight/languages/python.js261COMMENT
LOWstatic/mr-marked/highlight/styles/nord.css21COMMENT
LOWstatic/mr-marked/highlight/styles/agate.min.css1pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!COMMENT
LOWstatic/mr-marked/highlight/es/core.js621 "on",COMMENT
LOWstatic/mr-marked/highlight/es/core.js1301 m.lastIndex = this.lastIndex;COMMENT
LOWstatic/mr-marked/highlight/es/core.js1321COMMENT
LOWstatic/mr-marked/highlight/es/highlight.js621 "on",COMMENT
LOWstatic/mr-marked/highlight/es/highlight.js1301 m.lastIndex = this.lastIndex;COMMENT
LOWstatic/mr-marked/highlight/es/highlight.js1321COMMENT
LOWstatic/mr-marked/highlight/es/languages/cos.js41 + 'zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert 'COMMENT
LOWstatic/mr-marked/highlight/es/languages/cos.js61 // "$wreverse", "$xecute", "$zabs", "$zarccos", "$zarcsin", "$zarctan",COMMENT
LOWstatic/mr-marked/highlight/es/languages/julia.js61 'true',COMMENT
LOWstatic/mr-marked/highlight/es/languages/julia.js121 'π',COMMENT
LOWstatic/mr-marked/highlight/es/languages/python.js261 // https://docs.python.org/3.9/reference/lexical_analysis.html#numeric-literalsCOMMENT
LOWstatic/mr-marked/katex/katex.js641 // The Brahmic scripts of South and Southeast AsiaCOMMENT
LOWstatic/mr-marked/katex/katex.js3601 * `metrics` variable and the getCharacterMetrics function.COMMENT
LOWstatic/mr-marked/katex/katex.js3621// tftopl cmsy7COMMENT
LOWstatic/mr-marked/katex/katex.js3661 supDrop: [0.386, 0.353, 0.494],COMMENT
LOWstatic/mr-marked/katex/katex.js3681 // xi10COMMENT
LOWstatic/mr-marked/katex/katex.js5161COMMENT
LOWstatic/mr-marked/katex/katex.js7201// The SVG is in a container span that has overflow: hidden, so the spanCOMMENT
LOWstatic/mr-marked/katex/katex.js14121// \if@display\mkern18mu\else\mkern8mu\fi(#1)}COMMENT
LOWstatic/mr-marked/katex/katex.js14141// doesn't look funny in math mode.COMMENT
LOWstatic/mr-marked/katex/contrib/mhchem.js221COMMENT
LOWstatic/mr-marked/katex/contrib/mhchem.js241 //COMMENT
LOWstatic/mr-marked/mindmap/transform.js4181 //COMMENT
LOWstatic/mr-marked/sequence/underscore.min.js1// Underscore.js 1.8.2COMMENT
LOWstatic/mr-marked/sequence/raphael.min.js1// ┌────────────────────────────────────────────────────────────────────┐ \\COMMENT
LOWstatic/iceEditor/README.md321e.imgUpload.error = function(res,xhr){}; //失败COMMENT
LOW…inymce/tinymce/plugins/emoticons/js/emojiimages.min.js1// Source: npm package: emojilibCOMMENT
LOW…ent/pear/modules/tinymce/tinymce/jquery.tinymce.min.js21// Apply patches to the jQuery object, only onceCOMMENT
LOW…ent/pear/modules/tinymce/tinymce/jquery.tinymce.min.js41if(d.tinymce||c||!(e=o.script_url))COMMENT
LOW…ent/pear/modules/tinymce/tinymce/jquery.tinymce.min.js61// Execute callback after mainscript has been loaded and before the initialization occursCOMMENT
LOWapp_admin/context_processors.py1# coding:utf-8COMMENT
LOWapp_admin/decorators.py61COMMENT
Empty Error Handlers9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHapp_doc/util_upload_img.py32except:CODE
HIGHapp_doc/report_utils.py170except FileNotFoundError:CODE
HIGHapp_doc/report_utils.py202except FileNotFoundError:CODE
HIGHapp_doc/search/whoosh_cn_backend.py887except:CODE
HIGHMrDoc/settings.py301except ImportError:CODE
HIGHMrDoc/urls.py66except ImportError:CODE
HIGHapp_admin/views.py108except:CODE
HIGHapp_ai/view/chat.py33except Exception:CODE
HIGHapp_ai/services/bm25_store.py163except OSError:CODE
AI Slop Vocabulary6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM⚡…i/component/pear/module/tinymce/tinymce/tinymce.min.js9!function(){"use strict";var r=function(e){if(null===e)return"null";if(e===undefined)return"undefined";var t=typeof e;reCODE
MEDIUM⚡…i/component/pear/module/tinymce/tinymce/tinymce.min.js9!function(){"use strict";var r=function(e){if(null===e)return"null";if(e===undefined)return"undefined";var t=typeof e;reCODE
MEDIUM⚡…/component/pear/modules/tinymce/tinymce/tinymce.min.js9!function(j){"use strict";function i(){}var q=function(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[CODE
MEDIUM⚡…/component/pear/modules/tinymce/tinymce/tinymce.min.js9!function(j){"use strict";function i(){}var q=function(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[CODE
MEDIUM⚡static/mr-editor/mreditor.js1var MrEditor=function(){"use strict";function t(){}function e(t){return t()}function i(){return Object.create(null)}funcCODE
MEDIUM⚡static/mr-editor/mreditor.js1var MrEditor=function(){"use strict";function t(){}function e(t){return t()}function i(){return Object.create(null)}funcCODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHapp_doc/util_upload_file.py0size format for human. byte ---- (b) kilobyte ---- (kb) megabyte ---- (mb) gigabyte ---- (gb) terabyte ---- (tb) petabytSTRING
HIGHapp_doc/views.py0size format for human. byte ---- (b) kilobyte ---- (kb) megabyte ---- (mb) gigabyte ---- (gb) terabyte ---- (tb) petabytSTRING
HIGHapp_api/views_app.py0size format for human. byte ---- (b) kilobyte ---- (kb) megabyte ---- (mb) gigabyte ---- (gb) terabyte ---- (tb) petabytSTRING
AI Structural Patterns13 hits · 13 pts
SeverityFileLineSnippetContext
LOWapp_doc/templatetags/doc_filter.py43CODE
LOWapp_doc/templatetags/doc_filter.py129CODE
LOWapp_doc/templatetags/project_filter.py69CODE
LOWapp_doc/importers/notion/client.py34CODE
LOWapp_doc/importers/confluence/client.py41CODE
LOWapp_doc/importers/confluence/client.py233CODE
LOWapp_doc/search/whoosh_cn_backend.py407CODE
LOWapp_doc/search/chinese_analyzer.py133CODE
LOWapp_doc/search/chinese_analyzer.py42CODE
LOWapp_api/utils.py54CODE
LOWapp_admin/check_code.py17CODE
LOWapp_admin/middleware/require_login_middleware.py32CODE
LOWapp_ai/view/chat.py123CODE
Overly Generic Function Names8 hits · 8 pts
SeverityFileLineSnippetContext
LOWstatic/viewerjs/viewer.js642 function getData(element, name) {CODE
LOWstatic/PearAdminLayui/component/pear/module/message.js43 function getData(url) {CODE
LOWstatic/PearAdminLayui/component/pear/module/cropper.js2180 getData: function getData(isRounded) {CODE
LOWstatic/PearAdminLayui/component/pear/module/menu.js165 function getData(url) {CODE
LOWstatic/PearAdminLayui/component/pear/module/card.js88 function getData(url) {CODE
LOWstatic/PearAdminLayui/component/pear/modules/cropper.js2180 getData: function getData(isRounded) {CODE
LOWstatic/PearAdminLayui/component/pear/modules/menu.js141 function getData(url) {CODE
LOWstatic/PearAdminLayui/component/pear/modules/card.js88 function getData(url) {CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMapp_ai/util/llm_wiki.py240 # RAGCOMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWapp_admin/management/commands/rebuild_ai_index.py8logger = logging.getLogger(__name__)CODE
LOWapp_ai/services/reranker.py9logger = logging.getLogger(__name__)CODE