An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
This report presents the forensic synthetic code analysis of siyuan-note/siyuan, a TypeScript project with 46,021 GitHub stars. SynthScan v2.0 examined 609,571 lines of code across 2272 source files, recording 977 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 6.3 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
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 977 distinct pattern matches across 10 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 | app/stage/protyle/js/echarts/echarts-gl.min.js | 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("echarts")):"function"==typeof | CODE |
| CRITICAL | app/src/card/openCard.ts | 900 | options.editor.protyle.element.classList.remove("fn__none"); | CODE |
| CRITICAL | app/src/card/openCard.ts | 901 | options.editor.protyle.element.nextElementSibling.classList.add("fn__none"); | CODE |
| CRITICAL | app/src/card/viewCards.ts | 345 | edit.protyle.element.nextElementSibling.classList.remove("fn__none"); | CODE |
| CRITICAL | app/src/card/viewCards.ts | 349 | edit.protyle.element.nextElementSibling.classList.add("fn__none"); | CODE |
| CRITICAL | app/src/boot/onGetConfig.ts | 236 | if (window.siyuan.config.export.pdfFooter.trim()) { | CODE |
| CRITICAL | app/src/boot/globalEvent/keyup.ts | 22 | if (window.siyuan.config.keymap.general.goToEditTabNext.custom.endsWith(Constants.KEYCODELIST[event.keyCode]) || | CODE |
| CRITICAL | app/src/boot/globalEvent/keyup.ts | 23 | window.siyuan.config.keymap.general.goToEditTabPrev.custom.endsWith(Constants.KEYCODELIST[event.keyCode])) { | CODE |
| CRITICAL | app/src/boot/globalEvent/keyup.ts | 96 | } else if (window.siyuan.config.keymap.general.goToEditTabNext.custom.startsWith(Constants.KEYCODELIST[event.key | CODE |
| CRITICAL | app/src/boot/globalEvent/keyup.ts | 97 | window.siyuan.config.keymap.general.goToEditTabPrev.custom.startsWith(Constants.KEYCODELIST[event.keyCode])) | CODE |
| CRITICAL | app/src/boot/globalEvent/mousemove.ts | 82 | item.protyle.breadcrumb.element.classList.remove("protyle-breadcrumb__bar--hide"); | CODE |
| CRITICAL | app/src/boot/globalEvent/mousemove.ts | 205 | if (item.editor.protyle.wysiwyg.element.contains(eventPath0)) { | CODE |
| CRITICAL | app/src/boot/globalEvent/keydown.ts | 1544 | if (!window.siyuan.menus.menu.element.classList.contains("fn__none")) { | CODE |
| CRITICAL | app/src/boot/globalEvent/searchKeydown.ts | 84 | if (!window.siyuan.menus.menu.element.classList.contains("fn__none")) { | CODE |
| CRITICAL | app/src/boot/globalEvent/searchKeydown.ts | 216 | if (!window.siyuan.menus.menu.element.classList.contains("fn__none")) { | CODE |
| CRITICAL | app/src/boot/globalEvent/searchKeydown.ts | 252 | currentList.parentElement.nextElementSibling.nextElementSibling.firstElementChild.classList.add("b3- | CODE |
| CRITICAL | app/src/boot/globalEvent/searchKeydown.ts | 289 | currentList.parentElement.previousElementSibling.previousElementSibling.lastElementChild.classList.a | CODE |
| CRITICAL⚡ | app/src/boot/globalEvent/click.ts | 14 | if (!window.siyuan.menus.menu.element.contains(element) && !hasClosestByAttribute(element, "data-menu", "true")) { | CODE |
| CRITICAL⚡ | app/src/boot/globalEvent/click.ts | 15 | if (getSelection().rangeCount > 0 && window.siyuan.menus.menu.element.contains(getSelection().getRangeAt(0).star | CODE |
| CRITICAL⚡ | app/src/boot/globalEvent/click.ts | 16 | window.siyuan.menus.menu.element.contains(document.activeElement)) { | CODE |
| CRITICAL | app/src/boot/globalEvent/click.ts | 88 | !item.pdfObject.appConfig.appContainer.classList.contains("fn__none")) { | CODE |
| CRITICAL | app/src/boot/globalEvent/command/panel.ts | 457 | if (protyle.title?.editElement.contains(range.startContainer) || !nodeElement || window.siyuan.menus.men | CODE |
| CRITICAL | app/src/boot/globalEvent/command/protyle.ts | 18 | updateReadonly(options.protyle.breadcrumb.element.parentElement.querySelector('.block__icon[data-type="readonly" | CODE |
| CRITICAL | app/src/asset/pdf/app.js | 2848 | if (([92, 91, 68].includes(evt.keyCode) || evt.ctrlKey || evt.altKey) && pdfInstance.appConfig.toolbar.rectAnno.clas | CODE |
| CRITICAL | app/src/asset/pdf/app.js | 2887 | !pdfInstance.appConfig.toolbar.rectAnno.classList.contains('toggled')) { | CODE |
| CRITICAL | app/src/asset/pdf/app.js | 2897 | !pdfInstance.appConfig.toolbar.rectAnno.classList.contains('toggled')) { | CODE |
| CRITICAL | app/src/util/reloadSync.ts | 53 | window.siyuan.mobile.editor.protyle.title.setTitle(response.data.name, response.data.ial[Constants.CUSTO | CODE |
| CRITICAL | app/src/util/pathName.ts | 465 | if (window.siyuan.menus.menu.element.getAttribute("data-name") === Constants.MENU_MOVE_PATH_HISTORY) { | CODE |
| CRITICAL | app/src/util/noRelyPCFunction.ts | 62 | window.siyuan.mobile.docks.tag.update(); | CODE |
| CRITICAL | app/src/util/backForward.ts | 126 | stack.protyle.model.parent.parent.switchTab(stack.protyle.model.parent.headElement); | CODE |
| CRITICAL | app/src/util/backForward.ts | 156 | stack.protyle.model.parent.parent.switchTab(stack.protyle.model.parent.headElement); | CODE |
| CRITICAL | app/src/util/backForward.ts | 177 | if (!blockElement && !stack.zoomId && !stack.protyle.scroll.element.classList.contains("fn__none")) { | CODE |
| CRITICAL | app/src/util/Tree.ts | 355 | item.parentElement.parentElement.nextElementSibling.classList.remove("fn__none"); | CODE |
| CRITICAL | app/src/util/Tree.ts | 360 | item.parentElement.parentElement.nextElementSibling.classList.add("fn__none"); | CODE |
| CRITICAL | app/src/config/tabs/secretsVariablesUi.ts | 80 | saveSecrets(root, window.siyuan.config.secrets.items.filter((item) => item.name !== name)); | CODE |
| CRITICAL | app/src/config/tabs/secretsVariablesUi.ts | 179 | saveVariables(root, window.siyuan.config.variables.items.filter((item) => item.name !== name)); | CODE |
| CRITICAL | app/src/config/tabs/keymapUi.ts | 162 | window.siyuan.ws.app.plugins.forEach((item) => { | CODE |
| CRITICAL | app/src/config/tabs/keymapUi.ts | 640 | const plugin = window.siyuan.ws.app.plugins.find((item) => item.name === keys[1]); | CODE |
| CRITICAL | app/src/config/tabs/editorTab.ts | 90 | `<div class="fn__pointer b3-chip b3-chip--middle${window.siyuan.config.editor.spellcheckLanguages.includes(item) | CODE |
| CRITICAL | app/src/config/tabs/accessTab.ts | 621 | window.siyuan.config.publish.auth.accounts.push({ | CODE |
| CRITICAL | app/src/config/tabs/accessTab.ts | 665 | window.siyuan.config.publish.auth.accounts.splice(index, 1); | CODE |
| CRITICAL | app/src/config/tabs/appearanceTab.ts | 396 | options: window.siyuan.config.appearance.lightThemes.map((item) => ({ | CODE |
| CRITICAL | app/src/config/tabs/appearanceTab.ts | 403 | options: window.siyuan.config.appearance.darkThemes.map((item) => ({ | CODE |
| CRITICAL | app/src/config/tabs/appearanceTab.ts | 434 | options: window.siyuan.config.appearance.icons.map((item) => ({ | CODE |
| CRITICAL | app/src/config/tabs/accessRuntime.ts | 73 | const listItemHtml = window.siyuan.config.publish.auth.accounts.map((account, index) => ` | CODE |
| CRITICAL | app/src/config/tabs/ai/aiUi.ts | 537 | saveMcpServers(root, window.siyuan.config.ai.mcp.servers.filter((item) => item.name !== serverName)); | CODE |
| CRITICAL | app/src/config/tabs/ai/aiUi.ts | 580 | const nextServers = window.siyuan.config.ai.mcp.servers.map((item) => { | CODE |
| CRITICAL | app/src/config/tabs/ai/aiUi.ts | 895 | if (window.siyuan.config.ai.mcp.servers.some((server) => { | CODE |
| CRITICAL | app/src/config/tabs/ai/aiUi.ts | 917 | window.siyuan.config.ai.mcp.servers.find((server) => server.name === serverName); | CODE |
| CRITICAL | app/src/config/tabs/ai/aiProviderUi.ts | 172 | const providerCards = window.siyuan.config.ai.providers.map((provider) => `<div class="b3-card" data-provider-id="${ | CODE |
| CRITICAL | app/src/config/tabs/ai/aiProviderUi.ts | 205 | () => saveProviders(root, window.siyuan.config.ai.providers.filter((item) => item.id !== provider.id)), | CODE |
| CRITICAL | app/src/config/tabs/ai/aiProviderUi.ts | 393 | ? window.siyuan.config.ai.providers.find((provider) => provider.id === providerId) | CODE |
| CRITICAL | app/src/config/tabs/ai/aiProviderUi.ts | 887 | ? window.siyuan.config.ai.providers.map((provider) => provider.id === existing.id ? draft : provider) | CODE |
| CRITICAL | app/src/config/tabs/ai/aiProviderUi.ts | 908 | const provider = window.siyuan.config.ai.providers.find((item) => item.id === providerId); | CODE |
| CRITICAL | app/src/config/tabs/ai/aiProviderUi.ts | 926 | const providers = window.siyuan.config.ai.providers.map((provider) => | CODE |
| CRITICAL⚡ | app/src/config/util/snippets.ts | 153 | target.parentElement.nextElementSibling.firstElementChild.classList.remove("fn__none"); | CODE |
| CRITICAL⚡ | app/src/config/util/snippets.ts | 154 | target.parentElement.nextElementSibling.lastElementChild.classList.add("fn__none"); | CODE |
| CRITICAL⚡ | app/src/config/util/snippets.ts | 158 | target.parentElement.nextElementSibling.firstElementChild.classList.add("fn__none"); | CODE |
| CRITICAL⚡ | app/src/config/util/snippets.ts | 159 | target.parentElement.nextElementSibling.lastElementChild.classList.remove("fn__none"); | CODE |
| CRITICAL | app/src/config/entryVisibility/ui.ts | 367 | ? window.siyuan.config.appearance.entryVisibility.profiles.find((item) => item.id === profileID) | CODE |
| 217 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/stage/protyle/js/highlight.js/styles/agate.min.css | 1 | pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*! | COMMENT |
| LOW | app/electron/main.js | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | app/src/asset/pdf/pdf_find_bar.js | 181 | if (total > 0) { | COMMENT |
| LOW | app/src/asset/pdf/ui_utils.js | 341 | * before the first visible element in `views`, but not by too much. (Usually, | COMMENT |
| LOW | app/src/asset/pdf/ui_utils.js | 361 | COMMENT | |
| LOW | app/src/asset/pdf/ui_utils.js | 381 | // Initially assume that we need to find the beginning of the current row | COMMENT |
| LOW | app/src/asset/pdf/viewer.js | 281 | COMMENT | |
| LOW | app/src/asset/pdf/pdf_history.js | 561 | // In practice, it seems that the event is arriving too late in order for | COMMENT |
| LOW | app/src/asset/pdf/pdf_find_controller.js | 161 | // The goal is to obtain the array: [[0, 0], [3, -1], [4, -2], | COMMENT |
| LOW | app/src/asset/pdf/pdf_viewer.js | 241 | #resizeObserver = new ResizeObserver(this.#resizeObserverCallback.bind(this)); | COMMENT |
| LOW | app/src/asset/pdf/app.js | 441 | background: AppOptions.get("pageColorsBackground"), | COMMENT |
| LOW | app/src/asset/pdf/app.js | 1581 | // NOTE | COMMENT |
| LOW | app/src/asset/pdf/app.js | 2601 | // https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent#browser_compatibility | COMMENT |
| LOW | app/src/util/iOSPurchase.ts | 21 | // -2:Server communication failed, need to retry 服务器通讯失败,需要重试 | COMMENT |
| LOW | app/src/layout/dock/agent/frontendCapabilities.ts | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/main.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/cmd/closews.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/cmd/cmd.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/cmd/ping.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/block_structure.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/blocktree.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/tree.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/blocktree_fix.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/blocktree_query_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/fold_heading_stack_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/av.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/heading.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/marker.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/block_structure_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/node_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/treenode/node.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/layout_gallery.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/visible_views_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/filter_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/layout_table_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/path_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/date_format_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/av_fix_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/mirror_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/layout_card.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/av_search_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/value_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/color_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/card_cover_position_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/new_item_template.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/layout.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/sort.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/layout_table.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/sort_test.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/filter.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/calc.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/group.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/av.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/card_cover_position.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/calc_template.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/layout_kanban.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/av_fix.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/av/value.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/cache/asset.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| LOW | kernel/cache/tree.go | 1 | // SiYuan - From thought to insight, with agents | COMMENT |
| 592 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/check-lang-keys.py | 86 | except Exception as e: | CODE |
| MEDIUM | scripts/check-lang-keys.py | 87 | print(f"Error: Failed to check duplicate keys in {file_path}: {e}") | CODE |
| LOW | scripts/check-lang-keys.py | 172 | except Exception as e: | CODE |
| MEDIUM⚡ | scripts/check-lang-keys.py | 194 | print(f"Error: Failed to parse file {file_path}: {e}") | CODE |
| LOW⚡ | scripts/check-lang-keys.py | 196 | except Exception as e: | CODE |
| MEDIUM⚡ | scripts/check-lang-keys.py | 197 | print(f"Error: Failed to read file {file_path}: {e}") | CODE |
| MEDIUM | scripts/check-lang-keys.py | 217 | print(f"Error: Directory does not exist: {langs_dir}") | CODE |
| MEDIUM | scripts/check-lang-keys.py | 235 | print("Error: No language files found") | CODE |
| MEDIUM | scripts/check-lang-keys.py | 240 | print("Error: No valid language files found") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 225 | - `SIYUAN_OIDC_CLAIM_RULES`: JSON array of claim rules used when allow-all is disabled, for example `[{"claim":"email" | CODE |
| LOW | app/stage/protyle/js/protyle-html.js | 2 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define | CODE |
| LOW | app/src/layout/dock/agent/AgentComposer.ts | 235 | emptyElement.firstElementChild.setAttribute("placeholder", options.placeholder || L.agentInputPlaceholder); | CODE |
| LOW⚡ | app/src/protyle/util/onGet.ts | 318 | editElement.setAttribute("placeholder", window.siyuan.languages.emptyMobilePlaceholder); | CODE |
| LOW⚡ | app/src/protyle/util/onGet.ts | 320 | editElement.setAttribute("placeholder", window.siyuan.languages.emptyPlaceholder); | CODE |
| LOW | app/src/protyle/wysiwyg/turnIntoList.ts | 32 | editElement.removeAttribute("placeholder"); | CODE |
| LOW | app/src/protyle/render/av/col.ts | 323 | inputElement.setAttribute("placeholder", `${options.data.name} ${nameElement.value}`); | CODE |
| LOW | app/src/protyle/header/Title.ts | 168 | if (editElement && editElement.textContent === "" && editElement.getAttribute("placeholder") || | CODE |
| LOW | app/src/mobile/util/initFramework.ts | 246 | inputElement.setAttribute("placeholder", window.siyuan.languages._kernel[16]); | CODE |
| LOW | kernel/model/oidc_test.go | 62 | Claim: "email", Operator: conf.OIDCClaimOperatorEquals, Values: []string{"user@example.com"}, | CODE |
| LOW | kernel/model/oidc_provider/provider_test.go | 110 | }).Claims(map[string]any{"nonce": nonce, "email": "user@example.com"}).Serialize() | CODE |
| LOW | kernel/model/oidc_provider/provider_test.go | 144 | if claims["email"] != "user@example.com" { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/src/asset/pdf/ui_utils.js | 345 | function backtrackBeforeAllVisibleElements(index, views, top) { | CODE |
| LOW | app/src/asset/pdf/ui_utils.js | 476 | function isElementBottomAfterViewTop(view) { | CODE |
| LOW | app/src/asset/pdf/ui_utils.js | 482 | function isElementNextAfterViewHorizontally(view) { | CODE |
| LOW | app/src/asset/pdf/ui_utils.js | 594 | function normalizeWheelEventDirection(evt) { | CODE |
| LOW | app/src/asset/pdf/ui_utils.js | 760 | function getActiveOrFocusedElement() { | CODE |
| LOW | app/src/asset/pdf/ui_utils.js | 779 | function apiPageLayoutToViewerModes(layout) { | CODE |
| LOW | app/src/asset/pdf/pdf_viewer.js | 77 | function isValidAnnotationEditorMode(mode) { | CODE |
| LOW | app/src/asset/pdf/app.js | 2055 | function addWindowResolutionChange(evt = null) { | CODE |
| LOW | scripts/generate-third-party-notices.py | 610 | def collect_retained_comments(): | CODE |
| LOW | scripts/generate-third-party-notices.py | 774 | def collect_additional_notices(go_modules): | CODE |
| LOW | scripts/check-lang-keys.py | 33 | def find_duplicate_keys_recursive(data, prefix="", duplicates=None): | CODE |
| LOW | scripts/_pkg/Utils.py | 47 | def generate_header_from_repo(repo_name, tag_name, lastestRelease, electron_version, action_file, HEADER=''): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | app/src/types/index.d.ts | 323 | print(title: string, html: string): void | CODE |
| HIGH | app/src/types/index.d.ts | 347 | print(title: string, html: string): void | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/check-translations.py | 52 | CODE | |
| LOW | scripts/generate-third-party-notices.py | 712 | CODE | |
| LOW | scripts/check-lang-keys.py | 33 | CODE | |
| LOW | scripts/check-lang-keys.py | 91 | CODE | |
| LOW | scripts/check-lang-keys.py | 120 | CODE | |
| LOW | scripts/check-lang-keys.py | 201 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | kernel/cli/cmd/block.go | 40 | // ─── Read ────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | kernel/cli/cmd/block.go | 186 | // ─── Write ───────────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/parse-changelog.py | 2 | CODE | |
| LOW | scripts/check-lang-keys.py | 26 | CODE | |
| LOW | scripts/check-lang-keys.py | 30 | CODE | |
| LOW | scripts/parse-changelog-HEAD.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/check-lang-keys.py | 285 | # Output results | COMMENT |