✨ A Markdown Editor
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | examples/assets/scripts/index-demo.js | 88 | window.cherry.toolbar.menus.hooks.customMenuCName.fire(null, 'shortKey'); | CODE |
| CRITICAL⚡ | examples/assets/scripts/index-demo.js | 95 | window.cherry.toolbar.menus.hooks.customMenuCName.fire(null, 'github'); | CODE |
| CRITICAL⚡ | examples/assets/scripts/index-demo.js | 102 | window.cherry.toolbar.menus.hooks.customMenuCName.fire(null, 'release'); | CODE |
| CRITICAL | examples/assets/drawio_lib/Graph.js | 7489 | this.state.view.graph.model.isEdge(this.state.cell) && | CODE |
| CRITICAL | examples/assets/drawio_lib/Graph.js | 13778 | this.state.view.graph.container.appendChild(this.hint); | CODE |
| CRITICAL | examples/assets/drawio_lib/Graph.js | 13863 | this.state.view.graph.container.appendChild(this.hint); | CODE |
| CRITICAL | examples/assets/drawio_lib/Graph.js | 14460 | if (this.state.view.graph.model.isVertex(this.state.cell) && | CODE |
| CRITICAL | examples/assets/drawio_lib/Graph.js | 14764 | return this.state.view.graph.connectionHandler.isEnabled(); | CODE |
| CRITICAL | examples/assets/drawio_lib/Format.js | 1470 | this.editorUi.editor.graph.container.focus(); | CODE |
| CRITICAL | examples/assets/drawio_lib/Format.js | 1480 | this.editorUi.editor.graph.container.focus(); | CODE |
| CRITICAL | examples/assets/drawio_lib/Format.js | 2109 | return this.editorUi.editor.graph.view.formatUnitText(pixels); | CODE |
| CRITICAL | examples/assets/drawio_lib/EditorUi.js | 4582 | this.editor.graph.cellEditor.textarea.focus(); | CODE |
| CRITICAL | examples/assets/drawio_lib/Shapes.js | 2370 | var ctor = this.state.view.graph.cellRenderer.getShape(participant); | CODE |
| CRITICAL | examples/assets/drawio_lib/Menus.js | 1895 | this.editorUi.editor.graph.popupMenuHandler.hideMenu(); | CODE |
| CRITICAL | examples/assets/drawio_lib/Toolbar.js | 100 | this.editorUi.editor.graph.view.addListener(mxEvent.EVENT_SCALE, this.updateZoom); | CODE |
| CRITICAL | examples/assets/drawio_lib/src/js/mxClient.min.js | 499 | null))};mxText.prototype.getShapeRotation=function(){return 0};mxText.prototype.getTextRotation=function(){return null!= | CODE |
| CRITICAL | examples/assets/drawio_lib/src/js/mxClient.min.js | 1512 | function mxVertexHandler(a){null!=a&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,c){this.l | CODE |
| CRITICAL | examples/assets/drawio_lib/src/js/mxClient.min.js | 1532 | mxVertexHandler.prototype.start=function(a,b,c){this.inTolerance=!0;this.childOffsetY=this.childOffsetX=0;this.index=c;t | CODE |
| CRITICAL | examples/assets/drawio_lib/src/js/mxClient.min.js | 1549 | null!=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.js | 33 | this.state.view.graph.cellRenderer.redraw(this.state, true); | CODE |
| CRITICAL | …es/assets/drawio_lib/src/js/handler/mxVertexHandler.js | 622 | this.parentState = this.state.view.graph.view.getState(parent); | CODE |
| CRITICAL | …es/assets/drawio_lib/src/js/handler/mxVertexHandler.js | 1096 | this.state.view.graph.cellRenderer.redraw(this.state, true); | CODE |
| CRITICAL | examples/assets/drawio_lib/src/js/shape/mxText.js | 639 | return !this.horizontal && this.state != null && this.state.view.graph.model.isVertex(this.state.cell); | CODE |
| CRITICAL | examples/assets/mxgraph/mxClient.js | 503 | this.margin.y*this.boundingBox.height,this.unrotatedBoundingBox=null))};mxText.prototype.getShapeRotation=function(){ret | CODE |
| CRITICAL | examples/assets/mxgraph/mxClient.js | 1577 | function mxVertexHandler(a){null!=a&&(this.state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,c){this.l | CODE |
| CRITICAL | examples/assets/mxgraph/mxClient.js | 1596 | (this.parentState=this.state.view.graph.view.getState(b));this.selectionBorder.node.style.display=c==mxEvent.ROTATION_HA | CODE |
| CRITICAL | examples/assets/mxgraph/mxClient.js | 1605 | this.rotateVertex(b):this.resizeVertex(b),this.updateHint(b))),b.consume())};mxVertexHandler.prototype.isGhostPreview=fu | CODE |
| CRITICAL | examples/assets/mxgraph/mxClient.js | 1616 | this.EMPTY_POINT,null==c||b.relative||(this.state.absoluteOffset.x=this.state.view.scale*c.x,this.state.absoluteOffset.y | CODE |
| CRITICAL | examples/assets/mxgraph/mxClient.js | 1618 | mxVertexHandler.prototype.moveToFront=function(){if(null!=this.state.text&&null!=this.state.text.node&&null!=this.state. | CODE |
| CRITICAL⚡ | packages/vscodePlugin/web-resources/scripts/index.js | 81 | // cherry.toolbar.menus.hooks.customMenuChangeTheme.fire(null, 'iwiki'); | COMMENT |
| CRITICAL⚡ | packages/vscodePlugin/web-resources/scripts/index.js | 84 | // cherry.toolbar.menus.hooks.customMenuChangeTheme.fire(null, 'km'); | COMMENT |
| CRITICAL⚡ | packages/vscodePlugin/web-resources/scripts/index.js | 87 | // cherry.toolbar.menus.hooks.customMenuChangeTheme.fire(null, 'jianshu'); | COMMENT |
| CRITICAL | packages/cherry-markdown/src/Cherry.js | 1072 | markdown: this.editor.editor.view.state.doc.toString(), // CodeMirror 6 API | CODE |
| CRITICAL | packages/cherry-markdown/src/Editor.js | 419 | return this.view.state.selection.ranges.map((range) => this.view.state.doc.sliceString(range.from, range.to)); | CODE |
| CRITICAL | packages/cherry-markdown/src/Previewer.js | 947 | this.editor.options.editorDom.classList.remove('cherry-editor--full', 'cherry-editor--hidden'); | CODE |
| CRITICAL | packages/cherry-markdown/src/core/hooks/AutoLink.js | 259 | this.$engine.$cherry.options.engine.syntax.autoLink.attrRender(processedURL, processedURL) ?? ''; | CODE |
| CRITICAL | packages/cherry-markdown/src/core/hooks/Link.js | 103 | this.$engine.$cherry.options.engine.syntax.link.attrRender(processedText, processedURL) ?? ''; | CODE |
| CRITICAL | …s/cherry-markdown/src/utils/codeBlockContentHandler.js | 108 | this.codeMirror.view.state.doc.toString().replace(this.codeBlockReg, function (whole, ...args) { | CODE |
| CRITICAL | …s/cherry-markdown/src/utils/codeBlockContentHandler.js | 122 | const whole = this.codeMirror.view.state.doc.toString(); | CODE |
| CRITICAL | …s/cherry-markdown/src/utils/codeBlockContentHandler.js | 140 | const whole = this.codeMirror.view.state.doc.toString(); | CODE |
| CRITICAL | …kages/cherry-markdown/src/utils/tableContentHandler.js | 157 | this.tableEditor.editorDom.symbolContainer.parentNode.removeChild(this.tableEditor.editorDom.symbolContainer); | CODE |
| CRITICAL | …kages/cherry-markdown/src/utils/tableContentHandler.js | 175 | const editorValue = this.codeMirror.view.state.doc.toString(); | CODE |
| CRITICAL | …kages/cherry-markdown/src/utils/tableContentHandler.js | 309 | const whole = this.codeMirror.view.state.doc.toString(); | CODE |
| CRITICAL | …kages/cherry-markdown/src/utils/tableContentHandler.js | 874 | this.tableEditor.editorDom.boundaryTriggerSymbol.rows.forEach((row) => { | CODE |
| CRITICAL | …s/cherry-markdown/src/toolbars/MermaidBubbleSession.js | 64 | const rawContent = editor.editor.view.state.doc.toString(); | CODE |
| CRITICAL | …s/cherry-markdown/src/toolbars/MermaidBubbleSession.js | 125 | editor.editor.view.state.doc.toString(), | CODE |
| CRITICAL | …ckages/cherry-markdown/src/toolbars/PreviewerBubble.js | 313 | const contents = getValueWithoutCode(this.editor.editor.view.state.doc.toString()).split('\n'); | CODE |
| CRITICAL | …ckages/cherry-markdown/src/toolbars/PreviewerBubble.js | 425 | this.bubbleHandler.hover.unExpandDom.classList.remove('hidden'); | CODE |
| CRITICAL | …ckages/cherry-markdown/src/toolbars/PreviewerBubble.js | 456 | const ret = this.previewer.$cherry.options.engine.syntax.footnote.refNumber.clickRefNumberCallback( | CODE |
| CRITICAL | …ckages/cherry-markdown/src/toolbars/PreviewerBubble.js | 902 | const content = getValueWithoutCode(this.editor.editor.view.state.doc.toString()); | CODE |
| CRITICAL | …ckages/cherry-markdown/src/toolbars/PreviewerBubble.js | 955 | const content = getValueWithoutCode(this.editor.editor.view.state.doc.toString()); | CODE |
| CRITICAL | …ckages/cherry-markdown/src/toolbars/hooks/Underline.js | 52 | const newSelection = this.editor.editor.view.state.doc.sliceString(from, to); | CODE |
| CRITICAL | …es/cherry-markdown/src/toolbars/hooks/Strikethrough.js | 55 | const newSelection = this.editor.editor.view.state.doc.sliceString(from, to); | CODE |
| CRITICAL | packages/cherry-markdown/src/toolbars/hooks/Size.js | 89 | const newSelection = this.editor.editor.view.state.doc.sliceString(from, to); | CODE |
| CRITICAL | packages/cherry-markdown/src/toolbars/hooks/Ruby.js | 42 | const newSelection = this.editor.editor.view.state.doc.sliceString(from, to); | CODE |
| CRITICAL | packages/cherry-markdown/src/toolbars/hooks/H2.js | 43 | // const newSelection = this.editor.editor.state.doc.sliceString(from, to); | COMMENT |
| CRITICAL | packages/cherry-markdown/src/toolbars/hooks/Header.js | 90 | // const newSelection = this.editor.editor.state.doc.sliceString(from, to); | COMMENT |
| CRITICAL | packages/cherry-markdown/src/toolbars/hooks/H3.js | 43 | // const newSelection = this.editor.editor.state.doc.sliceString(from, to); | COMMENT |
| CRITICAL | packages/cherry-markdown/src/toolbars/hooks/Italic.js | 57 | const newSelection = this.editor.editor.view.state.doc.sliceString(from, to); | CODE |
| CRITICAL | packages/cherry-markdown/src/toolbars/hooks/Panel.js | 102 | const newSelection = this.editor.editor.view.state.doc.sliceString(from, to); | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/cherry-markdown/types/env.d.ts | 15 | // ─── 全局类型扩展 ───────────────────────────────────────── | COMMENT |
| MEDIUM | packages/cherry-markdown/types/modules.d.ts | 34 | // ─── Addon 插件 ───────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/release.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/release.yml | 12 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-test.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-test.yml | 6 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-playground-build.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-playground-build.yml | 6 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-preview-deploy.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-preview-deploy.yml | 12 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-vscode-plugin.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-vscode-plugin.yml | 14 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-client-build.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-client-build.yml | 9 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-client-build.yml | 96 | # ========================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-client-build.yml | 98 | # ========================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-client-build.yml | 160 | # ========================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-client-build.yml | 162 | # ========================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-npm-release.yml | 43 | # ========================================================================= | COMMENT |
| MEDIUM | .github/workflows/reusable-npm-release.yml | 45 | # ========================================================================= | COMMENT |
| MEDIUM | .github/workflows/deploy-pages.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/deploy-pages.yml | 7 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/merge-dev-preview.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/merge-dev-preview.yml | 8 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-ci.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-ci.yml | 7 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/sync-cnb.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/sync-cnb.yml | 9 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-changeset-check.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-changeset-check.yml | 9 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-preview-pkg.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-preview-pkg.yml | 7 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-compressed-size.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-compressed-size.yml | 6 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-spell-check.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-spell-check.yml | 6 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-preview-build.yml | 1 | # ============================================================================= | COMMENT |
| MEDIUM | .github/workflows/pr-preview-build.yml | 12 | # ============================================================================= | COMMENT |
| MEDIUM | .github/scripts/prepare-vscode-plugin.sh | 4 | # ============================================================================= | COMMENT |
| MEDIUM | .github/scripts/prepare-vscode-plugin.sh | 24 | # ============================================================================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .code.yml | 1 | source: | COMMENT |
| LOW | commitlint.config.js | 21 | // 待补充 | COMMENT |
| LOW | examples/assets/scripts/index-demo.js | 481 | }, | COMMENT |
| LOW | examples/assets/drawio_lib/EditorUi.js | 5801 | // var remote = src.substring(0, 7) == 'http://' || src.substring(0, 8) == 'https://'; | COMMENT |
| LOW | …/js/layout/hierarchical/model/mxGraphHierarchyModel.js | 621 | // to the visitor.visit() in the seen parameter. The HashSet clone was | COMMENT |
| LOW | …ib/src/js/layout/hierarchical/model/mxSwimlaneModel.js | 221 | // Create internal edges, but don't do any rank assignment yet | COMMENT |
| LOW | …ib/src/js/layout/hierarchical/model/mxSwimlaneModel.js | 441 | // Normalize the ranks down from their large starting value to place | COMMENT |
| LOW | …ib/src/js/layout/hierarchical/model/mxSwimlaneModel.js | 721 | // meant there is a cycle in the graph and this information is passed | COMMENT |
| LOW | packages/vscodePlugin/web-resources/scripts/index.js | 81 | // cherry.toolbar.menus.hooks.customMenuChangeTheme.fire(null, 'iwiki'); | COMMENT |
| LOW | packages/vscodePlugin/web-resources/scripts/index.js | 301 | * [vscode language](https://code.visualstudio.com/docs/getstarted/locales#_available-locales); | COMMENT |
| LOW | packages/vscodePlugin/web-resources/scripts/index.js | 321 | COMMENT | |
| LOW | packages/vscodePlugin/web-resources/scripts/index.js | 341 | // function loadOneImg(img) { | COMMENT |
| LOW | packages/client/src/components/CherryMarkdown.ts | 341 | // 加载图片时如果需要展示loading图,则配置loading图的地址 | COMMENT |
| LOW | packages/cherry-markdown/vite.plugins.ts | 241 | } | COMMENT |
| LOW | packages/cherry-markdown/src/Cherry.config.js | 501 | maxUrlLength: -1, // URL的最大长度,-1表示不限制,超过该长度的URL会显示省略号 | COMMENT |
| LOW | packages/cherry-markdown/src/Cherry.config.js | 521 | // value: '## ', | COMMENT |
| LOW | packages/cherry-markdown/src/Cherry.config.js | 541 | // selection: { from: '[链接文本](https://example.com)'.length, to: '](https://example.com)'.length }, // 选中"链接文本" | COMMENT |
| LOW | packages/cherry-markdown/src/Cherry.config.js | 561 | // }, | COMMENT |
| LOW | packages/cherry-markdown/src/Cherry.config.js | 581 | // // 如果没有搜索词,显示所有用户 | COMMENT |
| LOW | packages/cherry-markdown/src/Cherry.config.js | 601 | // // .then(users => { | COMMENT |
| LOW | packages/cherry-markdown/src/Cherry.config.js | 621 | // { | COMMENT |
| LOW | packages/cherry-markdown/src/core/SentenceBase.js | 41 | COMMENT | |
| LOW | packages/cherry-markdown/src/core/hooks/SuggestList.js | 101 | // }, | COMMENT |
| LOW | packages/cherry-markdown/src/core/hooks/Table.js | 261 | // if (match && match[1]) { | COMMENT |
| LOW | …kages/cherry-markdown/src/utils/tableContentHandler.js | 1581 | // - ['row']: 只在行控制中显示(右侧按钮) | COMMENT |
| LOW | packages/cherry-markdown/src/libs/rawdeflate.js | 41 | // var zip_HASH_BITS = 14; | COMMENT |
| LOW | packages/cherry-markdown/src/toolbars/hooks/H2.js | 41 | // this.getMoreSelection('\n', '', () => { | COMMENT |
| LOW | packages/cherry-markdown/src/toolbars/hooks/ProTable.js | 41 | */ | COMMENT |
| LOW | packages/cherry-markdown/src/toolbars/hooks/Header.js | 81 | * @returns {string} 回填到编辑器光标位置/选中文本区域的内容 | COMMENT |
| LOW | packages/cherry-markdown/src/toolbars/hooks/H3.js | 41 | // this.getMoreSelection('\n', '', () => { | COMMENT |
| LOW | packages/cherry-markdown/src/toolbars/hooks/H1.js | 41 | // if (!this.isSelections && !this.$testIsHead($selection)) { | COMMENT |
| LOW | …ckages/cherry-markdown/src/sass/components/bubble.scss | 1 | // 气泡浮层的「基础盒模型」样式(定位、边框、背景、阴影等)。 | COMMENT |
| LOW | .github/workflows/release.yml | 1 | # ============================================================================= | COMMENT |
| LOW | .github/workflows/pr-preview-deploy.yml | 1 | # ============================================================================= | COMMENT |
| LOW | .github/workflows/reusable-vscode-plugin.yml | 1 | # ============================================================================= | COMMENT |
| LOW | .github/workflows/pr-preview-build.yml | 1 | # ============================================================================= | COMMENT |
| LOW | .github/scripts/prepare-vscode-plugin.sh | 1 | #!/bin/bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/assets/scripts/ai-chat-stream-demo.js | 547 | async function ensureCheckedPluginsLoaded() { | CODE |
| LOW | examples/assets/drawio_lib/Shapes.js | 2931 | function ProvidedRequiredInterfaceShape() | CODE |
| LOW | examples/assets/drawio_lib/Shapes.js | 5803 | function createTrapezoidHandleFunction(max, defaultValue, fixedDefaultValue) | CODE |
| LOW | examples/assets/drawio_lib/Shapes.js | 5832 | function createDisplayHandleFunction(defaultValue, allowArcHandle, max, redrawEdges, fixedDefaultValue) | CODE |
| LOW | examples/assets/drawio_lib/Shapes.js | 5886 | function createCylinderHandleFunction(defaultValue) | CODE |
| LOW | examples/assets/drawio_lib/Shapes.js | 5902 | function createArrowHandleFunction(maxSize) | CODE |
| LOW | examples/assets/drawio_lib/Shapes.js | 5920 | function createWedgeHandleFunction(defaultValue, spacing) | CODE |
| LOW | examples/assets/drawio_lib/src/js/mxClient.min.js | 635 | function mxGraphAbstractHierarchyCell(){this.x=[];this.y=[];this.temp=[]}mxGraphAbstractHierarchyCell.prototype.maxRank= | CODE |
| LOW | examples/assets/drawio_lib/src/js/mxClient.min.js | 670 | this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}else d(a,b,c,k,1)};function mxHierarchicalLayoutStage(){}mxHierarchicalLayo | CODE |
| LOW | …out/hierarchical/model/mxGraphAbstractHierarchyCell.js | 20 | function mxGraphAbstractHierarchyCell() | CODE |
| LOW | …/hierarchical/stage/mxMedianHybridCrossingReduction.js | 23 | function mxMedianHybridCrossingReduction(layout) | CODE |
| LOW | …layout/hierarchical/stage/mxHierarchicalLayoutStage.js | 16 | function mxHierarchicalLayoutStage() { }; | CODE |
| LOW | examples/assets/mxgraph/mxClient.js | 652 | function mxGraphAbstractHierarchyCell(){this.x=[];this.y=[];this.temp=[]}mxGraphAbstractHierarchyCell.prototype.maxRank= | CODE |
| LOW | examples/assets/mxgraph/mxClient.js | 687 | this.extendedDfs(b,l,f,d,e,b.hashCode,g,k+1)}else d(a,b,c,k,1)};function mxHierarchicalLayoutStage(){}mxHierarchicalLayo | CODE |
| LOW | packages/cherry-markdown/vite.plugins.ts | 78 | function addonFileNameToGlobalName(fileName: string): string { | CODE |
| LOW | packages/cherry-markdown/src/core/HookCenter.js | 96 | function isRegisteredCustomSyntaxClass(value) { | CODE |
| LOW | packages/cherry-markdown/src/core/hooks/CodeBlock.js | 442 | function addBlockQuoteSignToResult(result) { | CODE |
| LOW | packages/cherry-markdown/src/utils/lineFeed.js | 21 | export function prependLineFeedForParagraph(match, processedContent, canNestedInList = false) { | CODE |
| LOW | packages/cherry-markdown/src/utils/lineFeed.js | 41 | export function calculateLinesOfParagraph(preLinesMatch, contentLines) { | CODE |
| LOW | packages/cherry-markdown/src/utils/exportWord.js | 68 | async function replaceSvgContainerWithImage(el, display) { | CODE |
| LOW | …kages/cherry-markdown/src/utils/mermaidEditorHelper.js | 45 | export function parseMermaidLayoutFromLangLine(fullLangLine) { | CODE |
| LOW | …kages/cherry-markdown/src/utils/mermaidEditorHelper.js | 123 | export function getMermaidBlockAtPreviewIndex(rawContent, previewIndex) { | CODE |
| LOW | …kages/cherry-markdown/src/utils/mermaidEditorHelper.js | 138 | export function findMermaidBlockIndexByCodeBody(rawContent, codeBody, preferredIndex = -1) { | CODE |
| LOW | …ages/cherry-markdown/src/utils/mermaidPreviewHelper.js | 81 | export function hasMermaidRenderedContent(root) { | CODE |
| LOW | packages/cherry-markdown/src/utils/dom.js | 48 | export function getBlockTopAndHeightWithMargin(element) { | CODE |
| LOW | packages/cherry-markdown/src/utils/sanitize.js | 324 | export function escapeHTMLEntitiesWithoutSemicolon(content) { | CODE |
| LOW | packages/cherry-markdown/src/utils/sanitize.js | 409 | export function escapeHTMLSpecialCharOnce(content, enableQuote) { | CODE |
| LOW | packages/cherry-markdown/src/utils/sanitize.js | 423 | export function unescapeHTMLNumberEntities(html) { | CODE |
| LOW | …ges/cherry-markdown/src/toolbars/searcher/panel-dom.js | 95 | export function applyReplaceExpandedDomState(root, replaceExpanded) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/assets/drawio_lib/Graph.js | 2291 | Graph.prototype.builtInProperties = ['label', 'tooltip', 'placeholders', 'placeholder']; | CODE |
| LOW | examples/assets/drawio_lib/Graph.js | 3999 | if (result != null && this.isReplacePlaceholders(cell) && cell.getAttribute('placeholder') == null) | CODE |
| LOW | examples/assets/drawio_lib/Graph.js | 4955 | if (this.isReplacePlaceholders(cell) && cell.getAttribute('placeholder') != null) | CODE |
| LOW | examples/assets/drawio_lib/Graph.js | 4957 | var name = cell.getAttribute('placeholder'); | CODE |
| LOW | examples/assets/drawio_lib/Graph.js | 9708 | cell.getAttribute('placeholder') != null) | CODE |
| LOW | examples/assets/drawio_lib/Graph.js | 9711 | var name = cell.getAttribute('placeholder'); | CODE |
| LOW | examples/assets/drawio_lib/Sidebar.js | 984 | input.setAttribute('placeholder', mxResources.get('searchShapes')); | CODE |
| LOW | examples/assets/drawio_lib/Sidebar.js | 1322 | '<h1>Heading</h1><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut lab | CODE |
| LOW | examples/assets/drawio_lib/Sidebar.js | 1322 | '<h1>Heading</h1><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut lab | CODE |
| LOW | examples/assets/drawio_lib/Dialogs.js | 1632 | nameInput.setAttribute('placeholder', mxResources.get('enterPropertyName')); | CODE |
| LOW | examples/assets/drawio_lib/Dialogs.js | 1770 | removeLabel = removeLabel || (names[i] == 'placeholder' && | CODE |
| LOW | examples/assets/drawio_lib/Dialogs.js | 1931 | linkInput.setAttribute('placeholder', 'http://www.example.com/'); | CODE |
| LOW | examples/assets/drawio_lib/lib/purify.min.js | 2 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| LOW | …kages/cherry-markdown/test/core/hooks/AutoLink.spec.ts | 163 | expect(hook.makeHtml('http://user@example.com')).toContain('user@example.com'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/assets/drawio_lib/src/js/util/mxUtils.js | 4061 | print(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …amples/assets/drawio_lib/src/js/view/mxCellRenderer.js | 423 | // under the mouse, so we need to check if this is the case and force | COMMENT |