Repository Analysis

siyuan-note/siyuan

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

6.3 Low AI signal View on GitHub

Analysis Overview

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).

6.3
Adjusted Score
6.3
Raw Score
100%
Time Factor
2026-08-28
Last Push
46.0K
Stars
TypeScript
Language
609.6K
Lines of Code
2.3K
Files
977
Pattern Hits
2026-08-29
Scan Date
0.12
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 277HIGH 2MEDIUM 8LOW 690

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 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.

Hallucination Indicators277 hits · 3120 pts
SeverityFileLineSnippetContext
CRITICALapp/stage/protyle/js/echarts/echarts-gl.min.js1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("echarts")):"function"==typeofCODE
CRITICALapp/src/card/openCard.ts900 options.editor.protyle.element.classList.remove("fn__none");CODE
CRITICALapp/src/card/openCard.ts901 options.editor.protyle.element.nextElementSibling.classList.add("fn__none");CODE
CRITICALapp/src/card/viewCards.ts345 edit.protyle.element.nextElementSibling.classList.remove("fn__none");CODE
CRITICALapp/src/card/viewCards.ts349 edit.protyle.element.nextElementSibling.classList.add("fn__none");CODE
CRITICALapp/src/boot/onGetConfig.ts236 if (window.siyuan.config.export.pdfFooter.trim()) {CODE
CRITICALapp/src/boot/globalEvent/keyup.ts22 if (window.siyuan.config.keymap.general.goToEditTabNext.custom.endsWith(Constants.KEYCODELIST[event.keyCode]) ||CODE
CRITICALapp/src/boot/globalEvent/keyup.ts23 window.siyuan.config.keymap.general.goToEditTabPrev.custom.endsWith(Constants.KEYCODELIST[event.keyCode])) {CODE
CRITICALapp/src/boot/globalEvent/keyup.ts96 } else if (window.siyuan.config.keymap.general.goToEditTabNext.custom.startsWith(Constants.KEYCODELIST[event.keyCODE
CRITICALapp/src/boot/globalEvent/keyup.ts97 window.siyuan.config.keymap.general.goToEditTabPrev.custom.startsWith(Constants.KEYCODELIST[event.keyCode]))CODE
CRITICALapp/src/boot/globalEvent/mousemove.ts82 item.protyle.breadcrumb.element.classList.remove("protyle-breadcrumb__bar--hide");CODE
CRITICALapp/src/boot/globalEvent/mousemove.ts205 if (item.editor.protyle.wysiwyg.element.contains(eventPath0)) {CODE
CRITICALapp/src/boot/globalEvent/keydown.ts1544 if (!window.siyuan.menus.menu.element.classList.contains("fn__none")) {CODE
CRITICALapp/src/boot/globalEvent/searchKeydown.ts84 if (!window.siyuan.menus.menu.element.classList.contains("fn__none")) {CODE
CRITICALapp/src/boot/globalEvent/searchKeydown.ts216 if (!window.siyuan.menus.menu.element.classList.contains("fn__none")) {CODE
CRITICALapp/src/boot/globalEvent/searchKeydown.ts252 currentList.parentElement.nextElementSibling.nextElementSibling.firstElementChild.classList.add("b3-CODE
CRITICALapp/src/boot/globalEvent/searchKeydown.ts289 currentList.parentElement.previousElementSibling.previousElementSibling.lastElementChild.classList.aCODE
CRITICALapp/src/boot/globalEvent/click.ts14 if (!window.siyuan.menus.menu.element.contains(element) && !hasClosestByAttribute(element, "data-menu", "true")) {CODE
CRITICALapp/src/boot/globalEvent/click.ts15 if (getSelection().rangeCount > 0 && window.siyuan.menus.menu.element.contains(getSelection().getRangeAt(0).starCODE
CRITICALapp/src/boot/globalEvent/click.ts16 window.siyuan.menus.menu.element.contains(document.activeElement)) {CODE
CRITICALapp/src/boot/globalEvent/click.ts88 !item.pdfObject.appConfig.appContainer.classList.contains("fn__none")) {CODE
CRITICALapp/src/boot/globalEvent/command/panel.ts457 if (protyle.title?.editElement.contains(range.startContainer) || !nodeElement || window.siyuan.menus.menCODE
CRITICALapp/src/boot/globalEvent/command/protyle.ts18 updateReadonly(options.protyle.breadcrumb.element.parentElement.querySelector('.block__icon[data-type="readonly"CODE
CRITICALapp/src/asset/pdf/app.js2848 if (([92, 91, 68].includes(evt.keyCode) || evt.ctrlKey || evt.altKey) && pdfInstance.appConfig.toolbar.rectAnno.clasCODE
CRITICALapp/src/asset/pdf/app.js2887 !pdfInstance.appConfig.toolbar.rectAnno.classList.contains('toggled')) {CODE
CRITICALapp/src/asset/pdf/app.js2897 !pdfInstance.appConfig.toolbar.rectAnno.classList.contains('toggled')) {CODE
CRITICALapp/src/util/reloadSync.ts53 window.siyuan.mobile.editor.protyle.title.setTitle(response.data.name, response.data.ial[Constants.CUSTOCODE
CRITICALapp/src/util/pathName.ts465 if (window.siyuan.menus.menu.element.getAttribute("data-name") === Constants.MENU_MOVE_PATH_HISTORY) {CODE
CRITICALapp/src/util/noRelyPCFunction.ts62 window.siyuan.mobile.docks.tag.update();CODE
CRITICALapp/src/util/backForward.ts126 stack.protyle.model.parent.parent.switchTab(stack.protyle.model.parent.headElement);CODE
CRITICALapp/src/util/backForward.ts156 stack.protyle.model.parent.parent.switchTab(stack.protyle.model.parent.headElement);CODE
CRITICALapp/src/util/backForward.ts177 if (!blockElement && !stack.zoomId && !stack.protyle.scroll.element.classList.contains("fn__none")) {CODE
CRITICALapp/src/util/Tree.ts355 item.parentElement.parentElement.nextElementSibling.classList.remove("fn__none");CODE
CRITICALapp/src/util/Tree.ts360 item.parentElement.parentElement.nextElementSibling.classList.add("fn__none");CODE
CRITICALapp/src/config/tabs/secretsVariablesUi.ts80 saveSecrets(root, window.siyuan.config.secrets.items.filter((item) => item.name !== name));CODE
CRITICALapp/src/config/tabs/secretsVariablesUi.ts179 saveVariables(root, window.siyuan.config.variables.items.filter((item) => item.name !== name));CODE
CRITICALapp/src/config/tabs/keymapUi.ts162 window.siyuan.ws.app.plugins.forEach((item) => {CODE
CRITICALapp/src/config/tabs/keymapUi.ts640 const plugin = window.siyuan.ws.app.plugins.find((item) => item.name === keys[1]);CODE
CRITICALapp/src/config/tabs/editorTab.ts90 `<div class="fn__pointer b3-chip b3-chip--middle${window.siyuan.config.editor.spellcheckLanguages.includes(item)CODE
CRITICALapp/src/config/tabs/accessTab.ts621 window.siyuan.config.publish.auth.accounts.push({CODE
CRITICALapp/src/config/tabs/accessTab.ts665 window.siyuan.config.publish.auth.accounts.splice(index, 1);CODE
CRITICALapp/src/config/tabs/appearanceTab.ts396 options: window.siyuan.config.appearance.lightThemes.map((item) => ({CODE
CRITICALapp/src/config/tabs/appearanceTab.ts403 options: window.siyuan.config.appearance.darkThemes.map((item) => ({CODE
CRITICALapp/src/config/tabs/appearanceTab.ts434 options: window.siyuan.config.appearance.icons.map((item) => ({CODE
CRITICALapp/src/config/tabs/accessRuntime.ts73 const listItemHtml = window.siyuan.config.publish.auth.accounts.map((account, index) => `CODE
CRITICALapp/src/config/tabs/ai/aiUi.ts537 saveMcpServers(root, window.siyuan.config.ai.mcp.servers.filter((item) => item.name !== serverName));CODE
CRITICALapp/src/config/tabs/ai/aiUi.ts580 const nextServers = window.siyuan.config.ai.mcp.servers.map((item) => {CODE
CRITICALapp/src/config/tabs/ai/aiUi.ts895 if (window.siyuan.config.ai.mcp.servers.some((server) => {CODE
CRITICALapp/src/config/tabs/ai/aiUi.ts917 window.siyuan.config.ai.mcp.servers.find((server) => server.name === serverName);CODE
CRITICALapp/src/config/tabs/ai/aiProviderUi.ts172 const providerCards = window.siyuan.config.ai.providers.map((provider) => `<div class="b3-card" data-provider-id="${CODE
CRITICALapp/src/config/tabs/ai/aiProviderUi.ts205 () => saveProviders(root, window.siyuan.config.ai.providers.filter((item) => item.id !== provider.id)),CODE
CRITICALapp/src/config/tabs/ai/aiProviderUi.ts393 ? window.siyuan.config.ai.providers.find((provider) => provider.id === providerId)CODE
CRITICALapp/src/config/tabs/ai/aiProviderUi.ts887 ? window.siyuan.config.ai.providers.map((provider) => provider.id === existing.id ? draft : provider)CODE
CRITICALapp/src/config/tabs/ai/aiProviderUi.ts908 const provider = window.siyuan.config.ai.providers.find((item) => item.id === providerId);CODE
CRITICALapp/src/config/tabs/ai/aiProviderUi.ts926 const providers = window.siyuan.config.ai.providers.map((provider) =>CODE
CRITICALapp/src/config/util/snippets.ts153 target.parentElement.nextElementSibling.firstElementChild.classList.remove("fn__none");CODE
CRITICALapp/src/config/util/snippets.ts154 target.parentElement.nextElementSibling.lastElementChild.classList.add("fn__none");CODE
CRITICALapp/src/config/util/snippets.ts158 target.parentElement.nextElementSibling.firstElementChild.classList.add("fn__none");CODE
CRITICALapp/src/config/util/snippets.ts159 target.parentElement.nextElementSibling.lastElementChild.classList.remove("fn__none");CODE
CRITICALapp/src/config/entryVisibility/ui.ts367 ? window.siyuan.config.appearance.entryVisibility.profiles.find((item) => item.id === profileID)CODE
217 more matches not shown…
Over-Commented Block652 hits · 652 pts
SeverityFileLineSnippetContext
LOWapp/stage/protyle/js/highlight.js/styles/agate.min.css1pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!COMMENT
LOWapp/electron/main.js1// SiYuan - From thought to insight, with agentsCOMMENT
LOWapp/src/asset/pdf/pdf_find_bar.js181 if (total > 0) {COMMENT
LOWapp/src/asset/pdf/ui_utils.js341 * before the first visible element in `views`, but not by too much. (Usually,COMMENT
LOWapp/src/asset/pdf/ui_utils.js361COMMENT
LOWapp/src/asset/pdf/ui_utils.js381 // Initially assume that we need to find the beginning of the current rowCOMMENT
LOWapp/src/asset/pdf/viewer.js281COMMENT
LOWapp/src/asset/pdf/pdf_history.js561 // In practice, it seems that the event is arriving too late in order forCOMMENT
LOWapp/src/asset/pdf/pdf_find_controller.js161 // The goal is to obtain the array: [[0, 0], [3, -1], [4, -2],COMMENT
LOWapp/src/asset/pdf/pdf_viewer.js241 #resizeObserver = new ResizeObserver(this.#resizeObserverCallback.bind(this));COMMENT
LOWapp/src/asset/pdf/app.js441 background: AppOptions.get("pageColorsBackground"),COMMENT
LOWapp/src/asset/pdf/app.js1581 // NOTECOMMENT
LOWapp/src/asset/pdf/app.js2601 // https://developer.mozilla.org/en-US/docs/Web/API/WheelEvent#browser_compatibilityCOMMENT
LOWapp/src/util/iOSPurchase.ts21 // -2:Server communication failed, need to retry 服务器通讯失败,需要重试COMMENT
LOWapp/src/layout/dock/agent/frontendCapabilities.ts1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/main.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/cmd/closews.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/cmd/cmd.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/cmd/ping.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/block_structure.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/blocktree.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/tree.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/blocktree_fix.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/blocktree_query_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/fold_heading_stack_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/av.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/heading.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/marker.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/block_structure_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/node_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/treenode/node.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/layout_gallery.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/visible_views_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/filter_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/layout_table_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/path_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/date_format_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/av_fix_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/mirror_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/layout_card.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/av_search_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/value_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/color_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/card_cover_position_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/new_item_template.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/layout.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/sort.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/layout_table.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/sort_test.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/filter.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/calc.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/group.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/av.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/card_cover_position.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/calc_template.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/layout_kanban.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/av_fix.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/av/value.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/cache/asset.go1// SiYuan - From thought to insight, with agentsCOMMENT
LOWkernel/cache/tree.go1// SiYuan - From thought to insight, with agentsCOMMENT
592 more matches not shown…
Excessive Try-Catch Wrapping9 hits · 18 pts
SeverityFileLineSnippetContext
LOWscripts/check-lang-keys.py86 except Exception as e:CODE
MEDIUMscripts/check-lang-keys.py87 print(f"Error: Failed to check duplicate keys in {file_path}: {e}")CODE
LOWscripts/check-lang-keys.py172 except Exception as e:CODE
MEDIUMscripts/check-lang-keys.py194 print(f"Error: Failed to parse file {file_path}: {e}")CODE
LOWscripts/check-lang-keys.py196 except Exception as e:CODE
MEDIUMscripts/check-lang-keys.py197 print(f"Error: Failed to read file {file_path}: {e}")CODE
MEDIUMscripts/check-lang-keys.py217 print(f"Error: Directory does not exist: {langs_dir}")CODE
MEDIUMscripts/check-lang-keys.py235 print("Error: No language files found")CODE
MEDIUMscripts/check-lang-keys.py240 print("Error: No valid language files found")CODE
Fake / Example Data12 hits · 13 pts
SeverityFileLineSnippetContext
LOWREADME.md225 - `SIYUAN_OIDC_CLAIM_RULES`: JSON array of claim rules used when allow-all is disabled, for example `[{"claim":"email"CODE
LOWapp/stage/protyle/js/protyle-html.js2!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&defineCODE
LOWapp/src/layout/dock/agent/AgentComposer.ts235 emptyElement.firstElementChild.setAttribute("placeholder", options.placeholder || L.agentInputPlaceholder);CODE
LOWapp/src/protyle/util/onGet.ts318 editElement.setAttribute("placeholder", window.siyuan.languages.emptyMobilePlaceholder);CODE
LOWapp/src/protyle/util/onGet.ts320 editElement.setAttribute("placeholder", window.siyuan.languages.emptyPlaceholder);CODE
LOWapp/src/protyle/wysiwyg/turnIntoList.ts32 editElement.removeAttribute("placeholder");CODE
LOWapp/src/protyle/render/av/col.ts323 inputElement.setAttribute("placeholder", `${options.data.name} ${nameElement.value}`);CODE
LOWapp/src/protyle/header/Title.ts168 if (editElement && editElement.textContent === "" && editElement.getAttribute("placeholder") ||CODE
LOWapp/src/mobile/util/initFramework.ts246 inputElement.setAttribute("placeholder", window.siyuan.languages._kernel[16]);CODE
LOWkernel/model/oidc_test.go62 Claim: "email", Operator: conf.OIDCClaimOperatorEquals, Values: []string{"user@example.com"},CODE
LOWkernel/model/oidc_provider/provider_test.go110 }).Claims(map[string]any{"nonce": nonce, "email": "user@example.com"}).Serialize()CODE
LOWkernel/model/oidc_provider/provider_test.go144 if claims["email"] != "user@example.com" {CODE
Hyper-Verbose Identifiers12 hits · 12 pts
SeverityFileLineSnippetContext
LOWapp/src/asset/pdf/ui_utils.js345function backtrackBeforeAllVisibleElements(index, views, top) {CODE
LOWapp/src/asset/pdf/ui_utils.js476 function isElementBottomAfterViewTop(view) {CODE
LOWapp/src/asset/pdf/ui_utils.js482 function isElementNextAfterViewHorizontally(view) {CODE
LOWapp/src/asset/pdf/ui_utils.js594function normalizeWheelEventDirection(evt) {CODE
LOWapp/src/asset/pdf/ui_utils.js760function getActiveOrFocusedElement() {CODE
LOWapp/src/asset/pdf/ui_utils.js779function apiPageLayoutToViewerModes(layout) {CODE
LOWapp/src/asset/pdf/pdf_viewer.js77function isValidAnnotationEditorMode(mode) {CODE
LOWapp/src/asset/pdf/app.js2055 function addWindowResolutionChange(evt = null) {CODE
LOWscripts/generate-third-party-notices.py610def collect_retained_comments():CODE
LOWscripts/generate-third-party-notices.py774def collect_additional_notices(go_modules):CODE
LOWscripts/check-lang-keys.py33def find_duplicate_keys_recursive(data, prefix="", duplicates=None):CODE
LOWscripts/_pkg/Utils.py47def generate_header_from_repo(repo_name, tag_name, lastestRelease, electron_version, action_file, HEADER=''):CODE
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHapp/src/types/index.d.ts323 print(title: string, html: string): voidCODE
HIGHapp/src/types/index.d.ts347 print(title: string, html: string): voidCODE
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOWscripts/check-translations.py52CODE
LOWscripts/generate-third-party-notices.py712CODE
LOWscripts/check-lang-keys.py33CODE
LOWscripts/check-lang-keys.py91CODE
LOWscripts/check-lang-keys.py120CODE
LOWscripts/check-lang-keys.py201CODE
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMkernel/cli/cmd/block.go40// ─── Read ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMkernel/cli/cmd/block.go186// ─── Write ─────────────────────────────────────────────────────────────────────COMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/parse-changelog.py2CODE
LOWscripts/check-lang-keys.py26CODE
LOWscripts/check-lang-keys.py30CODE
LOWscripts/parse-changelog-HEAD.py1CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/check-lang-keys.py285 # Output resultsCOMMENT