:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
This report presents the forensic synthetic code analysis of electron/electron, a C++ project with 121,994 GitHub stars. SynthScan v2.0 examined 207,825 lines of code across 1374 source files, recording 430 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 2.6 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 430 distinct pattern matches across 13 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 |
|---|---|---|---|---|
| LOW | shell/renderer/service_worker_data.h | 1 | // Copyright (c) 2025 Salesforce, Inc. | COMMENT |
| LOW | shell/renderer/renderer_client_base.h | 1 | // Copyright (c) 2017 GitHub, Inc. | COMMENT |
| LOW | shell/renderer/electron_api_service_impl.h | 1 | // Copyright (c) 2019 Slack Technologies, Inc. | COMMENT |
| LOW | shell/renderer/electron_autofill_agent.h | 1 | // Copyright (c) 2017 GitHub, Inc. | COMMENT |
| LOW | shell/renderer/electron_smooth_round_rect.h | 1 | // Copyright (c) 2024 Salesforce, Inc. | COMMENT |
| LOW | shell/renderer/api/electron_api_spell_check_client.h | 1 | // Copyright (c) 2014 GitHub, Inc. | COMMENT |
| LOW | shell/renderer/api/electron_api_spell_check_client.h | 81 | // (e.g. "word:word"). | COMMENT |
| LOW | shell/app/electron_crash_reporter_client.h | 1 | // Copyright 2013 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | shell/app/uv_stdio_fix.h | 1 | // Copyright (c) 2022 Slack Technologies, Inc. | COMMENT |
| LOW | shell/app/electron_library_main.mm | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/app/electron_main_delegate_mac.mm | 1 | // Copyright (c) 2014 GitHub, Inc. | COMMENT |
| LOW | shell/browser/file_select_helper.h | 1 | // Copyright (c) 2021 Microsoft. All rights reserved. | COMMENT |
| LOW | shell/browser/electron_browser_client.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/electron_browser_main_parts.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/electron_browser_main_parts_mac.mm | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/browser_observer.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/native_window_mac.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/electron_permission_manager.h | 1 | // Copyright (c) 2016 GitHub, Inc. | COMMENT |
| LOW | shell/browser/web_contents_permission_helper.h | 1 | // Copyright (c) 2016 GitHub, Inc. | COMMENT |
| LOW | shell/browser/feature_list_mac.mm | 1 | // Copyright (c) 2024 Salesforce, Inc. | COMMENT |
| LOW | shell/browser/web_view_guest_delegate.h | 1 | // Copyright (c) 2015 GitHub, Inc. | COMMENT |
| LOW | shell/browser/file_select_helper_mac.mm | 1 | // Copyright 2014 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | shell/browser/browser_process_impl.h | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | shell/browser/web_contents_preferences.h | 1 | // Copyright (c) 2015 GitHub, Inc. | COMMENT |
| LOW | shell/browser/electron_api_ipc_handler_impl.h | 1 | // Copyright (c) 2022 Slack Technologies, Inc. | COMMENT |
| LOW | shell/browser/native_window.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/native_window.h | 441 | // |background_throttling_sources_|. If at least one of the sources disables | COMMENT |
| LOW | shell/browser/relauncher.h | 1 | // Copyright (c) 2016 GitHub, Inc. | COMMENT |
| LOW | shell/browser/relauncher.h | 21 | // start a relauncher process, giving it the "writer" side of a pipe that it | COMMENT |
| LOW | shell/browser/relauncher.h | 41 | COMMENT | |
| LOW | shell/browser/relauncher.h | 61 | // process, and allows additional arguments to be supplied to the relauncher | COMMENT |
| LOW | shell/browser/native_window_mac.mm | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/native_window_mac.mm | 21 | #include "content/public/browser/browser_accessibility_state.h" | COMMENT |
| LOW | shell/browser/native_window_mac.mm | 41 | #include "skia/ext/skia_utils_mac.h" | COMMENT |
| LOW | shell/browser/native_window_mac.mm | 121 | // hit-test-transparent except where one of its descendants covers the | COMMENT |
| LOW | shell/browser/native_window_mac.mm | 581 | COMMENT | |
| LOW | shell/browser/renderer_startup_data.h | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/browser/native_window_views.h | 1 | // Copyright (c) 2014 GitHub, Inc. | COMMENT |
| LOW | shell/browser/electron_child_process_host_flags.h | 1 | // Copyright (c) 2026 Microsoft GmbH. All rights reserved. | COMMENT |
| LOW | shell/browser/browser.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/browser_mac.mm | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/browser_mac.mm | 21 | #include "electron/mas.h" | COMMENT |
| LOW | …l/browser/electron_web_contents_utility_handler_impl.h | 1 | // Copyright (c) 2022 Slack Technologies, Inc. | COMMENT |
| LOW | shell/browser/electron_browser_context.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/zoom_level_delegate.h | 1 | // Copyright 2014 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | shell/browser/electron_api_sw_ipc_handler_impl.h | 1 | // Copyright (c) 2025 Salesforce, Inc. | COMMENT |
| LOW | shell/browser/web_contents_zoom_controller.h | 1 | // Copyright (c) 2017 GitHub, Inc. | COMMENT |
| LOW | shell/browser/web_contents_zoom_controller.h | 21 | // Manages the zoom changes of WebContents. | COMMENT |
| LOW | shell/browser/microtasks_runner.h | 1 | // Copyright (c) 2018 GitHub, Inc. | COMMENT |
| LOW | shell/browser/auto_updater_mac.mm | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/native_window_observer.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/preload_code_cache.h | 21 | COMMENT | |
| LOW | shell/browser/certificate_manager_model.h | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. | COMMENT |
| LOW | shell/browser/event_emitter_mixin.h | 1 | // Copyright (c) 2019 Slack Technologies, Inc. | COMMENT |
| LOW | shell/browser/web_contents_zoom_observer.h | 1 | // Copyright (c) 2023 Microsoft, GmbH | COMMENT |
| LOW | shell/browser/electron_autofill_driver.h | 1 | // Copyright (c) 2019 GitHub, Inc. | COMMENT |
| LOW | shell/browser/ui/file_dialog.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/ui/file_dialog_mac.mm | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/browser/ui/tray_icon_cocoa.mm | 1 | // Copyright (c) 2014 GitHub, Inc. | COMMENT |
| LOW | shell/browser/ui/message_box.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| 213 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | spec/api-shared-texture-spec.ts | 69 | // Step 1: Input source of shared texture handle. | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 77 | // Step 2: Import as SharedTextureImported | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 80 | // Step 3: Prepare for transfer to another process (win's renderer) | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 86 | // Step 4: Send the shared texture to the renderer process (goto preload.js) | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 91 | // Step 12: Release the shared texture resources at main process | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 97 | // Step 13: Release the imported shared texture | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 99 | // Step 14: Release the shared texture once GPU is done | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 103 | // Step 15: Slightly timeout and capture the node screenshot | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 105 | // Step 16: Compare the captured image with the target image | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 113 | // Step 17: Resize the target image to match the captured image size, in case dpr != 1 | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 116 | // Step 18: nativeImage have error comparing pixel data when color space is different, | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 190 | // Step 1: Input source of shared texture handle. | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 199 | // Step 2: Import as SharedTextureImported | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 230 | // Step 3: Transfer to another process (win's renderer) | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 236 | // Step 4: Release the imported and wait for signal to release the source | COMMENT |
| LOW | spec/api-shared-texture-spec.ts | 127 | // Step 22: Verify the result from renderer process | COMMENT |
| LOW | docs/tutorial/snapcraft.md | 36 | ### Step 1: Package Your Electron Application | COMMENT |
| LOW | docs/tutorial/snapcraft.md | 62 | ### Step 2: Running `electron-installer-snap` | COMMENT |
| LOW | docs/tutorial/snapcraft.md | 84 | ### Step 1: Create Sample Snapcraft Project | COMMENT |
| LOW | docs/tutorial/snapcraft.md | 90 | ### Step 2: Create Sample Snapcraft Project | COMMENT |
| LOW⚡ | docs/tutorial/snapcraft.md | 138 | ### Step 3: Build the snap | COMMENT |
| LOW⚡ | docs/tutorial/snapcraft.md | 147 | ### Step 4: Install the snap | COMMENT |
| LOW⚡ | docs/tutorial/snapcraft.md | 153 | ### Step 5: Run the snap | COMMENT |
| LOW | docs/tutorial/snapcraft.md | 166 | ### Step 1: Create a Debian Package | COMMENT |
| LOW | docs/tutorial/snapcraft.md | 174 | ### Step 2: Create a snapcraft.yaml | COMMENT |
| LOW | docs/tutorial/code-signing.md | 224 | // Step 1: Instantiate the MSICreator | COMMENT |
| LOW | docs/tutorial/code-signing.md | 240 | // Step 2: Create a .wxs template file | COMMENT |
| LOW | docs/tutorial/code-signing.md | 251 | // Step 3: Compile the template to a .msi file | COMMENT |
| LOW | docs/tutorial/updates.md | 162 | ### Step 1: Deploying an update server | COMMENT |
| LOW | docs/tutorial/updates.md | 180 | ### Step 2: Receiving updates in your app | COMMENT |
| LOW | docs/tutorial/updates.md | 218 | ### Step 3: Notifying users when updates are available | COMMENT |
| LOW | docs/tutorial/windows-store-guide.md | 43 | ## Step 1: Package Your Electron Application | COMMENT |
| LOW | docs/tutorial/windows-store-guide.md | 73 | ## Step 2: Running electron-windows-store | COMMENT |
| LOW | docs/tutorial/windows-store-guide.md | 101 | ## Step 3: Using the AppX Package | COMMENT |
| LOW | docs/development/pull-requests.md | 22 | ### Step 1: Fork | COMMENT |
| LOW | docs/development/pull-requests.md | 26 | ### Step 2: Build | COMMENT |
| LOW | docs/development/pull-requests.md | 54 | ### Step 3: Branch | COMMENT |
| LOW | docs/development/pull-requests.md | 65 | ### Step 4: Code | COMMENT |
| LOW | docs/development/pull-requests.md | 79 | ### Step 5: Commit | COMMENT |
| LOW | docs/development/pull-requests.md | 144 | ### Step 6: Rebase | COMMENT |
| LOW | docs/development/pull-requests.md | 157 | ### Step 7: Test | COMMENT |
| LOW⚡ | docs/development/pull-requests.md | 184 | ### Step 8: Push | COMMENT |
| LOW⚡ | docs/development/pull-requests.md | 194 | ### Step 9: Opening the Pull Request | COMMENT |
| LOW⚡ | docs/development/pull-requests.md | 202 | ### Step 10: Discuss and update | COMMENT |
| LOW | docs/development/pull-requests.md | 243 | ### Step 11: Landing | COMMENT |
| LOW | script/spec-runner.js | 288 | // Step 3: Rerun each failed test individually | COMMENT |
| LOW | script/spec-runner.js | 325 | // Step 4: Summary | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | spec/api-session-spec.ts | 99 | expect(cookie).to.exist.and.to.have.property('value', value); | CODE |
| CRITICAL | spec/spellchecker-spec.ts | 111 | expect(contextMenuParams.dictionarySuggestions).to.have.length.of.at.least(1); | CODE |
| CRITICAL | spec/spellchecker-spec.ts | 126 | expect(contextMenuParams.dictionarySuggestions).to.have.length.of.at.least(1); | CODE |
| CRITICAL | spec/api-net-spec.ts | 1243 | expect(httpVersion).to.be.a('string').and.to.have.lengthOf.at.least(1); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spec/asar-spec.ts | 136 | async function expectToThrowErrorWithCode(_func: Function, _code: string) { | CODE |
| LOW | spec/asar-spec.ts | 153 | async function expectToThrowErrorWithCode (func, code) { | CODE |
| LOW | spec/api-service-worker-main-spec.ts | 81 | async function unregisterAllServiceWorkers() { | CODE |
| LOW | spec/chromium-spec.ts | 5169 | async function openPopupFromSandboxedIframe(sandbox: string) { | CODE |
| LOW | spec/webview-spec.ts | 48 | async function loadWebViewAndWaitForEvent( | CODE |
| LOW | spec/webview-spec.ts | 63 | async function loadWebViewAndWaitForMessage(w: WebContents, attributes: Record<string, string>): Promise<string> { | CODE |
| LOW | spec/index.js | 76 | function isDescendantOfCurrentProcess(pid) { | CODE |
| LOW | spec/index.js | 94 | async function killOrphanedElectronProcesses(suiteName) { | CODE |
| LOW | spec/lib/xdg-helpers.ts | 20 | export function getXdgDataDirsWithFallback(xdgDataHome: string, xdgDataDirs = process.env.XDG_DATA_DIRS) { | CODE |
| LOW | spec/lib/xdg-helpers.ts | 65 | function spawnProtocolLookupWithXdgMock( | CODE |
| LOW | spec/lib/xdg-helpers.ts | 116 | export async function spawnProtocolNameWithXdgMock( | CODE |
| LOW | spec/lib/xdg-helpers.ts | 128 | export function spawnProtocolInfoWithXdgMock( | CODE |
| LOW | spec/lib/artifacts.ts | 25 | export async function createArtifactWithRandomId(makeFileName: (id: string) => string, data: Buffer): Promise<string> { | CODE |
| LOW | spec/lib/warning-helpers.ts | 54 | export async function expectDeprecationMessages(func: () => any, ...expected: ExpectedWarningMessage[]) { | CODE |
| LOW | spec/lib/msix-helpers.ts | 41 | export async function registerExecutableWithIdentity(executablePath: string): Promise<void> { | CODE |
| LOW | spec/lib/msix-helpers.ts | 75 | export async function unregisterExecutableWithIdentity(): Promise<void> { | CODE |
| LOW | spec/lib/spec-helpers.ts | 328 | export function isTestingBindingAvailable() { | CODE |
| LOW | script/spec-runner.js | 382 | async function runMainProcessElectronTests() { | CODE |
| LOW | script/run-clang-format.py | 106 | def run_clang_format_diff_wrapper(args, file_name): | CODE |
| LOW | script/release/release.ts | 377 | async function verifyDraftGitHubReleaseAssets(release: MinimalRelease) { | CODE |
| LOW | script/release/release.ts | 451 | async function validateFileHashesAgainstShaSumMapping( | CODE |
| LOW | script/release/release.ts | 466 | async function verifyShasumsForRemoteFiles(remoteFilesToHash: HashableFile[], filesAreNodeJSArtifacts = false) { | CODE |
| LOW | script/release/uploaders/upload.py | 194 | def get_electron_build_version(): | CODE |
| LOW | script/lib/git.py | 255 | def munge_subject_to_filename(subject): | CODE |
| LOW | script/lib/util.py | 188 | def get_buildtools_executable(name): | CODE |
| LOW | script/lib/util.py | 208 | def get_chromium_buildtools_path_value(): | CODE |
| LOW | script/lib/utils.js | 161 | function getChromiumVersionFromDEPS(depsContent) { | CODE |
| LOW | lib/sandboxed_renderer/preload.ts | 28 | export function createPreloadProcessObject(): NodeJS.Process { | CODE |
| LOW | lib/sandboxed_renderer/preload.ts | 98 | export function executeSandboxedPreloadScripts( | CODE |
| LOW | lib/browser/parse-features-string.ts | 71 | export function parseCommaSeparatedKeyValue(source: string) { | CODE |
| LOW | lib/browser/parse-features-string.ts | 83 | export function parseWebViewWebPreferences(preferences: string) { | CODE |
| LOW⚡ | lib/browser/api/shared-texture.ts | 30 | function scheduleCheckManagedSharedTextures() { | CODE |
| LOW⚡ | lib/browser/api/shared-texture.ts | 36 | function unscheduleCheckManagedSharedTextures() { | CODE |
| LOW⚡ | lib/browser/api/shared-texture.ts | 43 | function checkManagedSharedTextures() { | CODE |
| LOW | lib/browser/api/shared-texture.ts | 73 | function wrapperReleaseFromRenderer(id: string, frameTreeNodeId: number) { | CODE |
| LOW | lib/browser/api/menu-item-roles.ts | 378 | export function shouldOverrideCheckStatus(role: RoleId) { | CODE |
| LOW | lib/browser/api/menu-item-roles.ts | 387 | export function shouldRegisterAccelerator(role: RoleId) { | CODE |
| LOW | lib/browser/api/dialog.ts | 325 | export function showCertificateTrustDialog( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | spec/api-shared-texture-spec.ts | 69 | // Step 1: Input source of shared texture handle. | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 77 | // Step 2: Import as SharedTextureImported | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 80 | // Step 3: Prepare for transfer to another process (win's renderer) | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 86 | // Step 4: Send the shared texture to the renderer process (goto preload.js) | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 91 | // Step 12: Release the shared texture resources at main process | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 97 | // Step 13: Release the imported shared texture | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 99 | // Step 14: Release the shared texture once GPU is done | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 103 | // Step 15: Slightly timeout and capture the node screenshot | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 105 | // Step 16: Compare the captured image with the target image | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 113 | // Step 17: Resize the target image to match the captured image size, in case dpr != 1 | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 116 | // Step 18: nativeImage have error comparing pixel data when color space is different, | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 190 | // Step 1: Input source of shared texture handle. | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 199 | // Step 2: Import as SharedTextureImported | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 230 | // Step 3: Transfer to another process (win's renderer) | COMMENT |
| LOW⚡ | spec/api-shared-texture-spec.ts | 236 | // Step 4: Release the imported and wait for signal to release the source | COMMENT |
| LOW | spec/api-shared-texture-spec.ts | 127 | // Step 22: Verify the result from renderer process | COMMENT |
| LOW | script/spec-runner.js | 288 | // Step 3: Rerun each failed test individually | COMMENT |
| LOW | script/spec-runner.js | 325 | // Step 4: Summary | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/pgo-generation.yml | 153 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 275 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 278 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 376 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 378 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 455 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 457 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 540 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 542 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script/apply_all_patches.py | 56 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | script/get-git-version.py | 31 | except Exception: | CODE |
| LOW | script/run-clang-format.py | 112 | except Exception as e: | CODE |
| MEDIUM | script/run-clang-format.py | 106 | def run_clang_format_diff_wrapper(args, file_name): | CODE |
| LOW | script/patches-mtime-cache.py | 138 | except Exception: | CODE |
| LOW | script/patches-mtime-cache.py | 145 | except Exception: | CODE |
| LOW | script/patches-mtime-cache.py | 163 | except Exception: | CODE |
| LOW | script/release/uploaders/upload-index-json.py | 45 | except Exception as e: | CODE |
| LOW | script/release/uploaders/upload-node-checksums.py | 75 | except Exception: | CODE |
| LOW | script/release/uploaders/upload.py | 211 | except Exception: | CODE |
| LOW | script/release/uploaders/upload-symbols.py | 84 | except Exception as e: | CODE |
| MEDIUM | script/release/uploaders/upload-symbols.py | 85 | print(f"An error occurred while adding '{pdb}' to SymStore: {str(e)}") | CODE |
| LOW | script/lib/native_tests.py | 262 | except Exception as exception: | CODE |
| MEDIUM | script/lib/native_tests.py | 264 | print(f"An error occurred while running '{self.binary_path}':", | CODE |
| LOW | script/node/generate_node_headers.py | 25 | except Exception as e: | CODE |
| LOW | script/zip_manifests/check-zip-manifest.py | 27 | except Exception as e: | CODE |
| LOW | script/zip_manifests/check-zip-manifest.py | 34 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script/verify-mksnapshot.py | 18 | CODE | |
| LOW | script/zip-symbols.py | 16 | CODE | |
| LOW | script/run-clang-format.py | 36 | CODE | |
| LOW | script/run-clang-format.py | 52 | CODE | |
| LOW | script/run-clang-format.py | 161 | CODE | |
| LOW | script/run-clang-format.py | 200 | CODE | |
| LOW | script/patches-mtime-cache.py | 84 | CODE | |
| LOW | script/release/uploaders/upload.py | 48 | CODE | |
| LOW | script/release/uploaders/upload-symbols.py | 39 | CODE | |
| LOW | script/pgo/download-profiles.py | 84 | CODE | |
| LOW | script/lib/git.py | 62 | CODE | |
| LOW | script/lib/git.py | 299 | CODE | |
| LOW | script/lib/util.py | 69 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 71 | If you use AI tools in any way to contribute to our project, please read our [AI Tool Policy](https://github.com/electro | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spec/api-app-spec.ts | 426 | fs.writeFileSync(file, 'Lorem Ipsum'); | CODE |
| LOW | docs/tutorial/recent-documents.md | 42 | fs.writeFile(fileName, 'Lorem Ipsum', () => { | CODE |
| LOW | docs/tutorial/tutorial-2-first-app.md | 100 | "author": "Jane Doe", | CODE |
| LOW | docs/tutorial/tutorial-2-first-app.md | 160 | "author": "Jane Doe", | CODE |
| LOW | docs/fiddles/features/recent-documents/main.js | 15 | fs.writeFile(fileName, 'Lorem Ipsum', () => { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .devcontainer/on-create-command.sh | 11 | # Create the persisted buildtools config folder | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script/lib/git.py | 55 | # Check if we're in the root folder already. | COMMENT |
| LOW | .github/workflows/rerun-apply-patches.yml | 73 | # Check if the workflow is currently in progress | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script/run-clang-format.py | 11 | CODE |