Repository Analysis

Tencent/cherry-markdown

✨ A Markdown Editor

3.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Tencent/cherry-markdown, a JavaScript project with 4,783 GitHub stars. SynthScan v2.0 examined 253,656 lines of code across 730 source files, recording 189 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 3.7 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

3.7
Adjusted Score
3.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.8K
Stars
JavaScript
Language
253.7K
Lines of Code
730
Files
189
Pattern Hits
2026-07-14
Scan Date
0.09
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 67HIGH 1MEDIUM 40LOW 81

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

Hallucination Indicators67 hits · 742 pts
SeverityFileLineSnippetContext
CRITICALexamples/assets/scripts/index-demo.js88 window.cherry.toolbar.menus.hooks.customMenuCName.fire(null, 'shortKey');CODE
CRITICALexamples/assets/scripts/index-demo.js95 window.cherry.toolbar.menus.hooks.customMenuCName.fire(null, 'github');CODE
CRITICALexamples/assets/scripts/index-demo.js102 window.cherry.toolbar.menus.hooks.customMenuCName.fire(null, 'release');CODE
CRITICALexamples/assets/drawio_lib/Graph.js7489 this.state.view.graph.model.isEdge(this.state.cell) &&CODE
CRITICALexamples/assets/drawio_lib/Graph.js13778 this.state.view.graph.container.appendChild(this.hint);CODE
CRITICALexamples/assets/drawio_lib/Graph.js13863 this.state.view.graph.container.appendChild(this.hint);CODE
CRITICALexamples/assets/drawio_lib/Graph.js14460 if (this.state.view.graph.model.isVertex(this.state.cell) &&CODE
CRITICALexamples/assets/drawio_lib/Graph.js14764 return this.state.view.graph.connectionHandler.isEnabled();CODE
CRITICALexamples/assets/drawio_lib/Format.js1470 this.editorUi.editor.graph.container.focus();CODE
CRITICALexamples/assets/drawio_lib/Format.js1480 this.editorUi.editor.graph.container.focus();CODE
CRITICALexamples/assets/drawio_lib/Format.js2109 return this.editorUi.editor.graph.view.formatUnitText(pixels);CODE
CRITICALexamples/assets/drawio_lib/EditorUi.js4582 this.editor.graph.cellEditor.textarea.focus();CODE
CRITICALexamples/assets/drawio_lib/Shapes.js2370 var ctor = this.state.view.graph.cellRenderer.getShape(participant);CODE
CRITICALexamples/assets/drawio_lib/Menus.js1895 this.editorUi.editor.graph.popupMenuHandler.hideMenu();CODE
CRITICALexamples/assets/drawio_lib/Toolbar.js100 this.editorUi.editor.graph.view.addListener(mxEvent.EVENT_SCALE, this.updateZoom);CODE
CRITICALexamples/assets/drawio_lib/src/js/mxClient.min.js499null))};mxText.prototype.getShapeRotation=function(){return 0};mxText.prototype.getTextRotation=function(){return null!=CODE
CRITICALexamples/assets/drawio_lib/src/js/mxClient.min.js1512function mxVertexHandler(a){null!=a&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,c){this.lCODE
CRITICALexamples/assets/drawio_lib/src/js/mxClient.min.js1532mxVertexHandler.prototype.start=function(a,b,c){this.inTolerance=!0;this.childOffsetY=this.childOffsetX=0;this.index=c;tCODE
CRITICALexamples/assets/drawio_lib/src/js/mxClient.min.js1549null!=b&&(c=b.offset||this.EMPTY_POINT,null==c||b.relative||(this.state.absoluteOffset.x=this.state.view.scale*c.x,this.CODE
CRITICAL…es/assets/drawio_lib/src/js/handler/mxVertexHandler.js33 this.state.view.graph.cellRenderer.redraw(this.state, true);CODE
CRITICAL…es/assets/drawio_lib/src/js/handler/mxVertexHandler.js622 this.parentState = this.state.view.graph.view.getState(parent);CODE
CRITICAL…es/assets/drawio_lib/src/js/handler/mxVertexHandler.js1096 this.state.view.graph.cellRenderer.redraw(this.state, true);CODE
CRITICALexamples/assets/drawio_lib/src/js/shape/mxText.js639 return !this.horizontal && this.state != null && this.state.view.graph.model.isVertex(this.state.cell);CODE
CRITICALexamples/assets/mxgraph/mxClient.js503this.margin.y*this.boundingBox.height,this.unrotatedBoundingBox=null))};mxText.prototype.getShapeRotation=function(){retCODE
CRITICALexamples/assets/mxgraph/mxClient.js1577function mxVertexHandler(a){null!=a&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,c){this.lCODE
CRITICALexamples/assets/mxgraph/mxClient.js1596(this.parentState=this.state.view.graph.view.getState(b));this.selectionBorder.node.style.display=c==mxEvent.ROTATION_HACODE
CRITICALexamples/assets/mxgraph/mxClient.js1605this.rotateVertex(b):this.resizeVertex(b),this.updateHint(b))),b.consume())};mxVertexHandler.prototype.isGhostPreview=fuCODE
CRITICALexamples/assets/mxgraph/mxClient.js1616this.EMPTY_POINT,null==c||b.relative||(this.state.absoluteOffset.x=this.state.view.scale*c.x,this.state.absoluteOffset.yCODE
CRITICALexamples/assets/mxgraph/mxClient.js1618mxVertexHandler.prototype.moveToFront=function(){if(null!=this.state.text&&null!=this.state.text.node&&null!=this.state.CODE
CRITICALpackages/vscodePlugin/web-resources/scripts/index.js81// cherry.toolbar.menus.hooks.customMenuChangeTheme.fire(null, 'iwiki');COMMENT
CRITICALpackages/vscodePlugin/web-resources/scripts/index.js84// cherry.toolbar.menus.hooks.customMenuChangeTheme.fire(null, 'km');COMMENT
CRITICALpackages/vscodePlugin/web-resources/scripts/index.js87// cherry.toolbar.menus.hooks.customMenuChangeTheme.fire(null, 'jianshu');COMMENT
CRITICALpackages/cherry-markdown/src/Cherry.js1072 markdown: this.editor.editor.view.state.doc.toString(), // CodeMirror 6 APICODE
CRITICALpackages/cherry-markdown/src/Editor.js419 return this.view.state.selection.ranges.map((range) => this.view.state.doc.sliceString(range.from, range.to));CODE
CRITICALpackages/cherry-markdown/src/Previewer.js947 this.editor.options.editorDom.classList.remove('cherry-editor--full', 'cherry-editor--hidden');CODE
CRITICALpackages/cherry-markdown/src/core/hooks/AutoLink.js259 this.$engine.$cherry.options.engine.syntax.autoLink.attrRender(processedURL, processedURL) ?? '';CODE
CRITICALpackages/cherry-markdown/src/core/hooks/Link.js103 this.$engine.$cherry.options.engine.syntax.link.attrRender(processedText, processedURL) ?? '';CODE
CRITICAL…s/cherry-markdown/src/utils/codeBlockContentHandler.js108 this.codeMirror.view.state.doc.toString().replace(this.codeBlockReg, function (whole, ...args) {CODE
CRITICAL…s/cherry-markdown/src/utils/codeBlockContentHandler.js122 const whole = this.codeMirror.view.state.doc.toString();CODE
CRITICAL…s/cherry-markdown/src/utils/codeBlockContentHandler.js140 const whole = this.codeMirror.view.state.doc.toString();CODE
CRITICAL…kages/cherry-markdown/src/utils/tableContentHandler.js157 this.tableEditor.editorDom.symbolContainer.parentNode.removeChild(this.tableEditor.editorDom.symbolContainer);CODE
CRITICAL…kages/cherry-markdown/src/utils/tableContentHandler.js175 const editorValue = this.codeMirror.view.state.doc.toString();CODE
CRITICAL…kages/cherry-markdown/src/utils/tableContentHandler.js309 const whole = this.codeMirror.view.state.doc.toString();CODE
CRITICAL…kages/cherry-markdown/src/utils/tableContentHandler.js874 this.tableEditor.editorDom.boundaryTriggerSymbol.rows.forEach((row) => {CODE
CRITICAL…s/cherry-markdown/src/toolbars/MermaidBubbleSession.js64 const rawContent = editor.editor.view.state.doc.toString();CODE
CRITICAL…s/cherry-markdown/src/toolbars/MermaidBubbleSession.js125 editor.editor.view.state.doc.toString(),CODE
CRITICAL…ckages/cherry-markdown/src/toolbars/PreviewerBubble.js313 const contents = getValueWithoutCode(this.editor.editor.view.state.doc.toString()).split('\n');CODE
CRITICAL…ckages/cherry-markdown/src/toolbars/PreviewerBubble.js425 this.bubbleHandler.hover.unExpandDom.classList.remove('hidden');CODE
CRITICAL…ckages/cherry-markdown/src/toolbars/PreviewerBubble.js456 const ret = this.previewer.$cherry.options.engine.syntax.footnote.refNumber.clickRefNumberCallback(CODE
CRITICAL…ckages/cherry-markdown/src/toolbars/PreviewerBubble.js902 const content = getValueWithoutCode(this.editor.editor.view.state.doc.toString());CODE
CRITICAL…ckages/cherry-markdown/src/toolbars/PreviewerBubble.js955 const content = getValueWithoutCode(this.editor.editor.view.state.doc.toString());CODE
CRITICAL…ckages/cherry-markdown/src/toolbars/hooks/Underline.js52 const newSelection = this.editor.editor.view.state.doc.sliceString(from, to);CODE
CRITICAL…es/cherry-markdown/src/toolbars/hooks/Strikethrough.js55 const newSelection = this.editor.editor.view.state.doc.sliceString(from, to);CODE
CRITICALpackages/cherry-markdown/src/toolbars/hooks/Size.js89 const newSelection = this.editor.editor.view.state.doc.sliceString(from, to);CODE
CRITICALpackages/cherry-markdown/src/toolbars/hooks/Ruby.js42 const newSelection = this.editor.editor.view.state.doc.sliceString(from, to);CODE
CRITICALpackages/cherry-markdown/src/toolbars/hooks/H2.js43 // const newSelection = this.editor.editor.state.doc.sliceString(from, to);COMMENT
CRITICALpackages/cherry-markdown/src/toolbars/hooks/Header.js90 // const newSelection = this.editor.editor.state.doc.sliceString(from, to);COMMENT
CRITICALpackages/cherry-markdown/src/toolbars/hooks/H3.js43 // const newSelection = this.editor.editor.state.doc.sliceString(from, to);COMMENT
CRITICALpackages/cherry-markdown/src/toolbars/hooks/Italic.js57 const newSelection = this.editor.editor.view.state.doc.sliceString(from, to);CODE
CRITICALpackages/cherry-markdown/src/toolbars/hooks/Panel.js102 const newSelection = this.editor.editor.view.state.doc.sliceString(from, to);CODE
7 more matches not shown…
Decorative Section Separators40 hits · 120 pts
SeverityFileLineSnippetContext
MEDIUMpackages/cherry-markdown/types/env.d.ts15// ─── 全局类型扩展 ─────────────────────────────────────────COMMENT
MEDIUMpackages/cherry-markdown/types/modules.d.ts34// ─── Addon 插件 ─────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/release.yml12# =============================================================================COMMENT
MEDIUM.github/workflows/pr-test.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/pr-test.yml6# =============================================================================COMMENT
MEDIUM.github/workflows/reusable-playground-build.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/reusable-playground-build.yml6# =============================================================================COMMENT
MEDIUM.github/workflows/pr-preview-deploy.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/pr-preview-deploy.yml12# =============================================================================COMMENT
MEDIUM.github/workflows/reusable-vscode-plugin.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/reusable-vscode-plugin.yml14# =============================================================================COMMENT
MEDIUM.github/workflows/reusable-client-build.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/reusable-client-build.yml9# =============================================================================COMMENT
MEDIUM.github/workflows/reusable-client-build.yml96 # =========================================================================COMMENT
MEDIUM.github/workflows/reusable-client-build.yml98 # =========================================================================COMMENT
MEDIUM.github/workflows/reusable-client-build.yml160 # =========================================================================COMMENT
MEDIUM.github/workflows/reusable-client-build.yml162 # =========================================================================COMMENT
MEDIUM.github/workflows/reusable-npm-release.yml43 # =========================================================================COMMENT
MEDIUM.github/workflows/reusable-npm-release.yml45 # =========================================================================COMMENT
MEDIUM.github/workflows/deploy-pages.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/deploy-pages.yml7# =============================================================================COMMENT
MEDIUM.github/workflows/merge-dev-preview.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/merge-dev-preview.yml8# =============================================================================COMMENT
MEDIUM.github/workflows/pr-ci.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/pr-ci.yml7# =============================================================================COMMENT
MEDIUM.github/workflows/sync-cnb.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/sync-cnb.yml9# =============================================================================COMMENT
MEDIUM.github/workflows/pr-changeset-check.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/pr-changeset-check.yml9# =============================================================================COMMENT
MEDIUM.github/workflows/pr-preview-pkg.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/pr-preview-pkg.yml7# =============================================================================COMMENT
MEDIUM.github/workflows/pr-compressed-size.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/pr-compressed-size.yml6# =============================================================================COMMENT
MEDIUM.github/workflows/pr-spell-check.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/pr-spell-check.yml6# =============================================================================COMMENT
MEDIUM.github/workflows/pr-preview-build.yml1# =============================================================================COMMENT
MEDIUM.github/workflows/pr-preview-build.yml12# =============================================================================COMMENT
MEDIUM.github/scripts/prepare-vscode-plugin.sh4# =============================================================================COMMENT
MEDIUM.github/scripts/prepare-vscode-plugin.sh24# =============================================================================COMMENT
Over-Commented Block37 hits · 37 pts
SeverityFileLineSnippetContext
LOW.code.yml1source:COMMENT
LOWcommitlint.config.js21 // 待补充COMMENT
LOWexamples/assets/scripts/index-demo.js481 },COMMENT
LOWexamples/assets/drawio_lib/EditorUi.js5801 // var remote = src.substring(0, 7) == 'http://' || src.substring(0, 8) == 'https://';COMMENT
LOW…/js/layout/hierarchical/model/mxGraphHierarchyModel.js621 // to the visitor.visit() in the seen parameter. The HashSet clone wasCOMMENT
LOW…ib/src/js/layout/hierarchical/model/mxSwimlaneModel.js221 // Create internal edges, but don't do any rank assignment yetCOMMENT
LOW…ib/src/js/layout/hierarchical/model/mxSwimlaneModel.js441 // Normalize the ranks down from their large starting value to placeCOMMENT
LOW…ib/src/js/layout/hierarchical/model/mxSwimlaneModel.js721 // meant there is a cycle in the graph and this information is passedCOMMENT
LOWpackages/vscodePlugin/web-resources/scripts/index.js81// cherry.toolbar.menus.hooks.customMenuChangeTheme.fire(null, 'iwiki');COMMENT
LOWpackages/vscodePlugin/web-resources/scripts/index.js301 * [vscode language](https://code.visualstudio.com/docs/getstarted/locales#_available-locales);COMMENT
LOWpackages/vscodePlugin/web-resources/scripts/index.js321COMMENT
LOWpackages/vscodePlugin/web-resources/scripts/index.js341// function loadOneImg(img) {COMMENT
LOWpackages/client/src/components/CherryMarkdown.ts341 // 加载图片时如果需要展示loading图,则配置loading图的地址COMMENT
LOWpackages/cherry-markdown/vite.plugins.ts241 }COMMENT
LOWpackages/cherry-markdown/src/Cherry.config.js501 maxUrlLength: -1, // URL的最大长度,-1表示不限制,超过该长度的URL会显示省略号COMMENT
LOWpackages/cherry-markdown/src/Cherry.config.js521 // value: '## ',COMMENT
LOWpackages/cherry-markdown/src/Cherry.config.js541 // selection: { from: '[链接文本](https://example.com)'.length, to: '](https://example.com)'.length }, // 选中"链接文本"COMMENT
LOWpackages/cherry-markdown/src/Cherry.config.js561 // },COMMENT
LOWpackages/cherry-markdown/src/Cherry.config.js581 // // 如果没有搜索词,显示所有用户COMMENT
LOWpackages/cherry-markdown/src/Cherry.config.js601 // // .then(users => {COMMENT
LOWpackages/cherry-markdown/src/Cherry.config.js621 // {COMMENT
LOWpackages/cherry-markdown/src/core/SentenceBase.js41COMMENT
LOWpackages/cherry-markdown/src/core/hooks/SuggestList.js101 // },COMMENT
LOWpackages/cherry-markdown/src/core/hooks/Table.js261 // if (match && match[1]) {COMMENT
LOW…kages/cherry-markdown/src/utils/tableContentHandler.js1581 // - ['row']: 只在行控制中显示(右侧按钮)COMMENT
LOWpackages/cherry-markdown/src/libs/rawdeflate.js41 // var zip_HASH_BITS = 14;COMMENT
LOWpackages/cherry-markdown/src/toolbars/hooks/H2.js41 // this.getMoreSelection('\n', '', () => {COMMENT
LOWpackages/cherry-markdown/src/toolbars/hooks/ProTable.js41 */COMMENT
LOWpackages/cherry-markdown/src/toolbars/hooks/Header.js81 * @returns {string} 回填到编辑器光标位置/选中文本区域的内容COMMENT
LOWpackages/cherry-markdown/src/toolbars/hooks/H3.js41 // this.getMoreSelection('\n', '', () => {COMMENT
LOWpackages/cherry-markdown/src/toolbars/hooks/H1.js41 // if (!this.isSelections && !this.$testIsHead($selection)) {COMMENT
LOW…ckages/cherry-markdown/src/sass/components/bubble.scss1// 气泡浮层的「基础盒模型」样式(定位、边框、背景、阴影等)。COMMENT
LOW.github/workflows/release.yml1# =============================================================================COMMENT
LOW.github/workflows/pr-preview-deploy.yml1# =============================================================================COMMENT
LOW.github/workflows/reusable-vscode-plugin.yml1# =============================================================================COMMENT
LOW.github/workflows/pr-preview-build.yml1# =============================================================================COMMENT
LOW.github/scripts/prepare-vscode-plugin.sh1#!/bin/bashCOMMENT
Hyper-Verbose Identifiers29 hits · 29 pts
SeverityFileLineSnippetContext
LOWexamples/assets/scripts/ai-chat-stream-demo.js547 async function ensureCheckedPluginsLoaded() {CODE
LOWexamples/assets/drawio_lib/Shapes.js2931 function ProvidedRequiredInterfaceShape()CODE
LOWexamples/assets/drawio_lib/Shapes.js5803 function createTrapezoidHandleFunction(max, defaultValue, fixedDefaultValue)CODE
LOWexamples/assets/drawio_lib/Shapes.js5832 function createDisplayHandleFunction(defaultValue, allowArcHandle, max, redrawEdges, fixedDefaultValue)CODE
LOWexamples/assets/drawio_lib/Shapes.js5886 function createCylinderHandleFunction(defaultValue)CODE
LOWexamples/assets/drawio_lib/Shapes.js5902 function createArrowHandleFunction(maxSize)CODE
LOWexamples/assets/drawio_lib/Shapes.js5920 function createWedgeHandleFunction(defaultValue, spacing)CODE
LOWexamples/assets/drawio_lib/src/js/mxClient.min.js635function mxGraphAbstractHierarchyCell(){this.x=[];this.y=[];this.temp=[]}mxGraphAbstractHierarchyCell.prototype.maxRank=CODE
LOWexamples/assets/drawio_lib/src/js/mxClient.min.js670this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}else d(a,b,c,k,1)};function mxHierarchicalLayoutStage(){}mxHierarchicalLayoCODE
LOW…out/hierarchical/model/mxGraphAbstractHierarchyCell.js20function mxGraphAbstractHierarchyCell()CODE
LOW…/hierarchical/stage/mxMedianHybridCrossingReduction.js23function mxMedianHybridCrossingReduction(layout)CODE
LOW…layout/hierarchical/stage/mxHierarchicalLayoutStage.js16function mxHierarchicalLayoutStage() { };CODE
LOWexamples/assets/mxgraph/mxClient.js652function mxGraphAbstractHierarchyCell(){this.x=[];this.y=[];this.temp=[]}mxGraphAbstractHierarchyCell.prototype.maxRank=CODE
LOWexamples/assets/mxgraph/mxClient.js687this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}else d(a,b,c,k,1)};function mxHierarchicalLayoutStage(){}mxHierarchicalLayoCODE
LOWpackages/cherry-markdown/vite.plugins.ts78 function addonFileNameToGlobalName(fileName: string): string {CODE
LOWpackages/cherry-markdown/src/core/HookCenter.js96function isRegisteredCustomSyntaxClass(value) {CODE
LOWpackages/cherry-markdown/src/core/hooks/CodeBlock.js442 function addBlockQuoteSignToResult(result) {CODE
LOWpackages/cherry-markdown/src/utils/lineFeed.js21export function prependLineFeedForParagraph(match, processedContent, canNestedInList = false) {CODE
LOWpackages/cherry-markdown/src/utils/lineFeed.js41export function calculateLinesOfParagraph(preLinesMatch, contentLines) {CODE
LOWpackages/cherry-markdown/src/utils/exportWord.js68async function replaceSvgContainerWithImage(el, display) {CODE
LOW…kages/cherry-markdown/src/utils/mermaidEditorHelper.js45export function parseMermaidLayoutFromLangLine(fullLangLine) {CODE
LOW…kages/cherry-markdown/src/utils/mermaidEditorHelper.js123export function getMermaidBlockAtPreviewIndex(rawContent, previewIndex) {CODE
LOW…kages/cherry-markdown/src/utils/mermaidEditorHelper.js138export function findMermaidBlockIndexByCodeBody(rawContent, codeBody, preferredIndex = -1) {CODE
LOW…ages/cherry-markdown/src/utils/mermaidPreviewHelper.js81export function hasMermaidRenderedContent(root) {CODE
LOWpackages/cherry-markdown/src/utils/dom.js48export function getBlockTopAndHeightWithMargin(element) {CODE
LOWpackages/cherry-markdown/src/utils/sanitize.js324export function escapeHTMLEntitiesWithoutSemicolon(content) {CODE
LOWpackages/cherry-markdown/src/utils/sanitize.js409export function escapeHTMLSpecialCharOnce(content, enableQuote) {CODE
LOWpackages/cherry-markdown/src/utils/sanitize.js423export function unescapeHTMLNumberEntities(html) {CODE
LOW…ges/cherry-markdown/src/toolbars/searcher/panel-dom.js95export function applyReplaceExpandedDomState(root, replaceExpanded) {CODE
Fake / Example Data14 hits · 14 pts
SeverityFileLineSnippetContext
LOWexamples/assets/drawio_lib/Graph.js2291Graph.prototype.builtInProperties = ['label', 'tooltip', 'placeholders', 'placeholder'];CODE
LOWexamples/assets/drawio_lib/Graph.js3999 if (result != null && this.isReplacePlaceholders(cell) && cell.getAttribute('placeholder') == null)CODE
LOWexamples/assets/drawio_lib/Graph.js4955 if (this.isReplacePlaceholders(cell) && cell.getAttribute('placeholder') != null)CODE
LOWexamples/assets/drawio_lib/Graph.js4957 var name = cell.getAttribute('placeholder');CODE
LOWexamples/assets/drawio_lib/Graph.js9708 cell.getAttribute('placeholder') != null)CODE
LOWexamples/assets/drawio_lib/Graph.js9711 var name = cell.getAttribute('placeholder');CODE
LOWexamples/assets/drawio_lib/Sidebar.js984 input.setAttribute('placeholder', mxResources.get('searchShapes'));CODE
LOWexamples/assets/drawio_lib/Sidebar.js1322 '<h1>Heading</h1><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labCODE
LOWexamples/assets/drawio_lib/Sidebar.js1322 '<h1>Heading</h1><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labCODE
LOWexamples/assets/drawio_lib/Dialogs.js1632 nameInput.setAttribute('placeholder', mxResources.get('enterPropertyName'));CODE
LOWexamples/assets/drawio_lib/Dialogs.js1770 removeLabel = removeLabel || (names[i] == 'placeholder' &&CODE
LOWexamples/assets/drawio_lib/Dialogs.js1931 linkInput.setAttribute('placeholder', 'http://www.example.com/');CODE
LOWexamples/assets/drawio_lib/lib/purify.min.js2!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
LOW…kages/cherry-markdown/test/core/hooks/AutoLink.spec.ts163 expect(hook.makeHtml('http://user@example.com')).toContain('user@example.com');CODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHexamples/assets/drawio_lib/src/js/util/mxUtils.js4061 print();CODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…amples/assets/drawio_lib/src/js/view/mxCellRenderer.js423 // under the mouse, so we need to check if this is the case and forceCOMMENT