:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
This report summarizes scanner evidence for electron/electron, a C++ project with 123,659 GitHub stars. SynthScan examined 243,268 lines of code across 1452 source files, recording 542 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 2.7 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 506 finding(s).
Are imports declared and package/API names verified? 6 finding(s).
Are wrappers, guards, and repeated structures necessary? 73 finding(s).
Which changes need focused human review? 542 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 542 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | shell/app_shim/app_shim_main_delegate.mm | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/app_shim/app_shim_main_delegate.mm | 21 | #include "base/threading/platform_thread.h" | COMMENT |
| LOW | shell/app_shim/app_shim_loader_mac.mm | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/app_shim/app_shim_application.h | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/app_shim/app_shim_window.h | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/app_shim/app_shim_controller.h | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/app_shim/app_shim_menu.h | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/app_shim/app_shim_window.mm | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/app_shim/app_shim_main_delegate.h | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/app_shim/app_shim_controller.mm | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/app_shim/app_shim_controller.mm | 21 | #include "base/strings/sys_string_conversions.h" | COMMENT |
| LOW | shell/renderer/electron_render_frame_observer.h | 1 | // Copyright (c) 2017 GitHub, Inc. | COMMENT |
| 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/preload_realm_global_scope.h | 1 | // Copyright (c) 2026 GitHub, Inc. | COMMENT |
| LOW | shell/renderer/window_setup.h | 1 | // Copyright (c) 2026 Anthropic, PBC. | 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_context_bridge.h | 1 | // Copyright (c) 2019 Slack Technologies, Inc. | COMMENT |
| LOW | shell/renderer/api/electron_api_spell_check_client.h | 1 | // Copyright (c) 2014 GitHub, Inc. | 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_library_main.mm | 21 | #include "base/notreached.h" | COMMENT |
| LOW | shell/app/electron_prefetch_mac.mm | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/app/electron_library_main.h | 1 | // Copyright (c) 2013 GitHub, Inc. | COMMENT |
| LOW | shell/app/electron_main_delegate_mac.mm | 1 | // Copyright (c) 2014 GitHub, Inc. | COMMENT |
| LOW | shell/app/electron_prefetch_mac.h | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/browser/file_select_helper.h | 1 | // Copyright (c) 2021 Microsoft. All rights reserved. | COMMENT |
| LOW | shell/browser/file_select_helper.h | 141 | // deep scanning checks have been performed. Deep scanning may change the | 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/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/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 | COMMENT | |
| LOW | shell/browser/native_peer.h | 1 | // Copyright (c) 2026 Microsoft Corporation. | COMMENT |
| LOW | shell/browser/native_peer.h | 21 | #include "v8/include/v8-object.h" | COMMENT |
| LOW | shell/browser/native_peer.h | 41 | // - Shutdown: MicrotasksRunner calls OnShutdown(), then Release(). | COMMENT |
| LOW | shell/browser/native_peer.h | 141 | State state_ = State::kActive; | COMMENT |
| LOW | shell/browser/protocol_registry.h | 1 | // Copyright (c) 2020 Slack Technologies, Inc. | 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 | COMMENT | |
| LOW | shell/browser/relauncher.h | 81 | // The "magic" file descriptor that the relauncher process' write side of the | COMMENT |
| LOW | shell/browser/app_package.h | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/browser/native_window_mac_remote.mm | 1 | // Copyright (c) 2026 Anthropic, PBC. | COMMENT |
| LOW | shell/browser/native_window_mac_remote.mm | 21 | #include "mojo/public/cpp/bindings/callback_helpers.h" | 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_thread.h" | COMMENT |
| LOW | shell/browser/native_window_mac.mm | 41 | #include "skia/ext/skia_utils_mac.h" | COMMENT |
| 323 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | spec/api-shared-texture.spec.ts | 64 | // Step 1: Input source of shared texture handle. | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 72 | // Step 2: Import as SharedTextureImported | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 75 | // Step 3: Prepare for transfer to another process (win's renderer) | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 81 | // Step 4: Send the shared texture to the renderer process (goto preload.js) | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 86 | // Step 12: Release the shared texture resources at main process | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 92 | // Step 13: Release the imported shared texture | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 94 | // Step 14: Release the shared texture once GPU is done | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 98 | // Step 15: Slightly timeout and capture the node screenshot | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 100 | // Step 16: Compare the captured image with the target image | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 108 | // Step 17: Resize the target image to match the captured image size, in case dpr != 1 | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 111 | // Step 18: nativeImage have error comparing pixel data when color space is different, | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 185 | // Step 1: Input source of shared texture handle. | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 194 | // Step 2: Import as SharedTextureImported | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 225 | // Step 3: Transfer to another process (win's renderer) | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 231 | // Step 4: Release the imported and wait for signal to release the source | COMMENT |
| LOW | spec/api-shared-texture.spec.ts | 122 | // 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 | 83 | ### Step 1: Create Sample Snapcraft Project | COMMENT |
| LOW | docs/tutorial/snapcraft.md | 89 | ### Step 2: Create Sample Snapcraft Project | COMMENT |
| LOW⚡ | docs/tutorial/snapcraft.md | 137 | ### Step 3: Build the snap | COMMENT |
| LOW⚡ | docs/tutorial/snapcraft.md | 146 | ### Step 4: Install the snap | COMMENT |
| LOW⚡ | docs/tutorial/snapcraft.md | 152 | ### Step 5: Run the snap | COMMENT |
| LOW | docs/tutorial/snapcraft.md | 165 | ### Step 1: Create a Debian Package | COMMENT |
| LOW | docs/tutorial/snapcraft.md | 173 | ### Step 2: Create a snapcraft.yaml | COMMENT |
| LOW | docs/tutorial/code-signing.md | 245 | // Step 1: Instantiate the MSICreator | COMMENT |
| LOW | docs/tutorial/code-signing.md | 261 | // Step 2: Create a .wxs template file | COMMENT |
| LOW | docs/tutorial/code-signing.md | 272 | // 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 |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spec/api-web-request.spec.ts | 964 | async function reachedServerWhileMainIsBusy(requestPath: string, busyMs = 600) { | CODE |
| LOW | spec/asar.spec.ts | 893 | async function expectToThrowErrorWithCode(_func: Function, _code: string) { | CODE |
| LOW | spec/asar.spec.ts | 914 | async function expectToThrowErrorWithCode (func, code) { | CODE |
| LOW | spec/api-corner-smoothing.spec.ts | 43 | function getAverageImageDifference(img1: NativeImage, img2: NativeImage): number { | CODE |
| LOW | spec/api-service-worker-main.spec.ts | 81 | async function unregisterAllServiceWorkers() { | CODE |
| LOW | spec/api-js2c-code-cache.spec.ts | 57 | function expectNodeBuiltinsConsumed(status: Status, processType: string) { | CODE |
| LOW | spec/chromium.spec.ts | 6342 | async function openPopupFromSandboxedIframe(sandbox: string) { | CODE |
| LOW | spec/api-web-contents.spec.ts | 1902 | function usesNativeShowContextMenu(devtoolsContents: Electron.WebContents): Promise<boolean> { | CODE |
| LOW | spec/api-web-contents.spec.ts | 1913 | function devToolsMenuRequestRoundTrips(devtoolsContents: Electron.WebContents): Promise<boolean> { | CODE |
| LOW | spec/webview.spec.ts | 57 | async function loadWebViewAndWaitForEvent( | CODE |
| LOW | spec/webview.spec.ts | 75 | async function loadWebViewAndWaitForMessage(w: WebContents, attributes: Record<string, string>): Promise<string> { | 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/heapsnapshot-helpers.js | 135 | export function snapshotContainsRetainingPath(snapshot, retainingPath) { | CODE |
| LOW | spec/lib/artifacts.ts | 25 | export async function createArtifactWithRandomId(makeFileName: (id: string) => string, data: Buffer): Promise<string> { | CODE |
| LOW | spec/lib/screen-helpers.ts | 291 | export async function expectDisplayPixelsEventually( | CODE |
| LOW | spec/lib/warning-helpers.ts | 54 | export async function expectDeprecationMessages(func: () => any, ...expected: ExpectedWarningMessage[]) { | CODE |
| LOW | spec/lib/msix-helpers.ts | 82 | export async function registerExecutableWithIdentity(executablePath: string): Promise<void> { | CODE |
| LOW | spec/lib/msix-helpers.ts | 120 | export async function unregisterExecutableWithIdentity(): Promise<void> { | CODE |
| LOW | spec/lib/spec-helpers.ts | 427 | export function isTestingBindingAvailable() { | CODE |
| LOW | script/v8-patch-fingerprint-test.py | 60 | def test_equivalent_commit_histories(self): | CODE |
| LOW | script/v8-patch-fingerprint-test.py | 81 | def test_raw_diff_paths_modes_and_objects(self): | CODE |
| LOW | script/v8-patch-fingerprint-test.py | 101 | def test_gn_inputs_track_head_and_exported_series(self): | CODE |
| LOW | script/v8-patch-fingerprint-test.py | 121 | def test_non_ancestor_has_actionable_error(self): | CODE |
| LOW | script/v8-patch-fingerprint-test.py | 154 | def test_cached_metadata_validation(self): | CODE |
| LOW | script/spec-runner.js | 467 | async function runMainProcessElectronTests() { | CODE |
| LOW | script/spec-runner.js | 575 | function getNativeAddonToolchainEnv() { | CODE |
| LOW | script/run-clang-format.py | 106 | def run_clang_format_diff_wrapper(args, file_name): | CODE |
| LOW | script/release/uploaders/upload.py | 196 | def get_electron_build_version(): | CODE |
| LOW | script/lib/git.py | 237 | def munge_subject_to_filename(subject): | CODE |
| LOW | script/lib/util.py | 233 | def get_buildtools_executable(name): | CODE |
| LOW | script/lib/util.py | 253 | def get_chromium_buildtools_path_value(): | CODE |
| LOW | script/lib/utils.js | 121 | function getChromiumVersionFromDEPS(depsContent) { | CODE |
| LOW | lib/browser/parse-features-string.ts | 74 | export function parseCommaSeparatedKeyValue(source: string) { | CODE |
| LOW | lib/browser/parse-features-string.ts | 86 | export function parseWebViewWebPreferences(preferences: string) { | CODE |
| LOW⚡ | lib/browser/api/shared-texture.ts | 29 | function scheduleCheckManagedSharedTextures() { | CODE |
| LOW⚡ | lib/browser/api/shared-texture.ts | 35 | function unscheduleCheckManagedSharedTextures() { | CODE |
| LOW⚡ | lib/browser/api/shared-texture.ts | 42 | function checkManagedSharedTextures() { | CODE |
| LOW | lib/browser/api/shared-texture.ts | 72 | function wrapperReleaseFromRenderer(id: string, frameTreeNodeId: number) { | CODE |
| LOW | lib/browser/api/dialog.ts | 325 | export function showCertificateTrustDialog( | CODE |
| LOW | lib/node/asar-fs-wrapper.ts | 514 | async function validateBufferIntegrityAsync(buffer: Buffer, integrity: NodeJS.AsarFileInfo['integrity']) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | script/run-clang-format.py | 268 | except AttributeError: | CODE |
| HIGH | script/patches-mtime-cache.py | 138 | except Exception: | CODE |
| HIGH | script/release/uploaders/upload.py | 343 | except NonZipFileError: | CODE |
| HIGH | script/lib/git.py | 304 | except OSError: | CODE |
| HIGH | script/lib/git.py | 105 | except BrokenPipeError: | CODE |
| HIGH | script/lib/git.py | 97 | except BrokenPipeError: | CODE |
| HIGH | script/lib/util.py | 141 | except OSError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/pgo-generation.yml | 178 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 180 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 366 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 369 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 469 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 471 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 548 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 550 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 639 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .github/workflows/pgo-generation.yml | 641 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | spec/api-shared-texture.spec.ts | 64 | // Step 1: Input source of shared texture handle. | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 72 | // Step 2: Import as SharedTextureImported | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 75 | // Step 3: Prepare for transfer to another process (win's renderer) | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 81 | // Step 4: Send the shared texture to the renderer process (goto preload.js) | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 86 | // Step 12: Release the shared texture resources at main process | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 92 | // Step 13: Release the imported shared texture | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 94 | // Step 14: Release the shared texture once GPU is done | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 98 | // Step 15: Slightly timeout and capture the node screenshot | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 100 | // Step 16: Compare the captured image with the target image | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 108 | // Step 17: Resize the target image to match the captured image size, in case dpr != 1 | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 111 | // Step 18: nativeImage have error comparing pixel data when color space is different, | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 185 | // Step 1: Input source of shared texture handle. | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 194 | // Step 2: Import as SharedTextureImported | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 225 | // Step 3: Transfer to another process (win's renderer) | COMMENT |
| LOW⚡ | spec/api-shared-texture.spec.ts | 231 | // Step 4: Release the imported and wait for signal to release the source | COMMENT |
| LOW | spec/api-shared-texture.spec.ts | 122 | // Step 22: Verify the result from renderer process | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script/apply_all_patches.py | 57 | 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.py | 213 | 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/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/gen-clang-tidy-ninja.py | 45 | 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 | 122 | CODE | |
| LOW | script/lib/git.py | 32 | CODE | |
| LOW | script/lib/git.py | 281 | CODE | |
| LOW | script/lib/util.py | 70 | 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 | 661 | 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 | .claude/skills/triage-prs/triage-prs.sh | 21 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/rerun-apply-patches.yml | 73 | # Check if the workflow is currently in progress | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/ISSUE_TEMPLATE/bug_report.yml | 1 | # If you are an AI agent filing an issue, make sure to follow these guidelines or the issue WILL BE closed: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | script/run-clang-format.py | 11 | CODE |