Repository Analysis

electron-userland/electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box

6.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of electron-userland/electron-builder, a TypeScript project with 14,619 GitHub stars. SynthScan v2.0 examined 161,605 lines of code across 744 source files, recording 412 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 6.0 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.0
Adjusted Score
6.0
Raw Score
100%
Time Factor
2026-07-13
Last Push
14.6K
Stars
TypeScript
Language
161.6K
Lines of Code
744
Files
412
Pattern Hits
2026-07-14
Scan Date
0.01
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 0HIGH 7MEDIUM 249LOW 156

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

Decorative Section Separators239 hits · 740 pts
SeverityFileLineSnippetContext
MEDIUMtest/vitest-scripts/test-summary.ts236// ── rendering ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/vitest-scripts/refresh-tests.ts11// ─── Types ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/vitest-scripts/refresh-tests.ts20// ─── Platform filter ─────────────────────────────────────────────────────────COMMENT
MEDIUMtest/vitest-scripts/refresh-tests.ts60// ─── Snapshot cleanup ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/vitest-scripts/refresh-tests.ts93// ─── File list ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/vitest-scripts/refresh-tests.ts122// ─── CLI ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts17// ─── Test fixture paths ───────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts136// ─── Unit tests ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts170// ─── Additional logic-path tests ─────────────────────────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts195// ─── Security: pkcs12PasswordToUtf16 encoding ────────────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts222// ─── Security: pkcs12PbeDeriveKey key derivation ─────────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts271 // ── DoS prevention: iteration count bounds ────────────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts317// ─── readCertInfo — multiple certificates in one PFX ─────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts334// ─── readCertInfo — legacy PBE error path ────────────────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts344// ─── readCertInfo — malformed / corrupted input ───────────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts364// ─── rc2CbcDecrypt — known-answer tests (RFC 2268) ───────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts423// ─── readCertInfo — RC2-40 encrypted PFX ─────────────────────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts440// ─── rc2CbcDecrypt — input validation / security guards ──────────────────────COMMENT
MEDIUMtest/src/certInfoTest.ts499// ─── pkcs12PbeDeriveKey — salt size guard ────────────────────────────────────COMMENT
MEDIUMtest/src/cliTest.ts6// ─── Module mocks (hoisted by vitest above all imports) ───────────────────────COMMENT
MEDIUMtest/src/cliTest.ts41// ─── Imports ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/cliTest.ts59// ─── clearCache ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/cliTest.ts152// ─── wrap ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/cliTest.ts208// ─── quoteString ─────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/cliTest.ts232// ─── Command configuration ───────────────────────────────────────────────────COMMENT
MEDIUMtest/src/cliTest.ts304// ─── CLI entry-point ESM smoke tests ─────────────────────────────────────────COMMENT
MEDIUMtest/src/ksuidTest.ts30// ─── Unit tests ──────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/blockmapTest.ts190// ─── Golden-output suite: JS snapshots + optional binary cross-check ─────────COMMENT
MEDIUMtest/src/extractArchiveTest.ts156// ─── extractArchive .tar.7z (snap template layout) ────────────────────────────COMMENT
MEDIUMtest/src/extractArchiveTest.ts210// ─── isSafeExtractPath ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/extractArchiveTest.ts258// ─── moveDirAtomic ────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/archiveUtilTest.ts61// ─── compute7zCompressArgs ───────────────────────────────────────────────────COMMENT
MEDIUMtest/src/archiveUtilTest.ts222// ─── archive() — path-level guards (no binary needed) ───────────────────────COMMENT
MEDIUMtest/src/archiveUtilTest.ts245// ─── shouldPreserveSymlinks — target platform → -snl policy ──────────────────COMMENT
MEDIUMtest/src/archiveUtilTest.ts261// ─── archive() — symlink preservation (non-Windows hosts) ────────────────────COMMENT
MEDIUMtest/src/archiveUtilTest.ts324// ─── archive() — 7z branch filter (#9983) ────────────────────────────────────COMMENT
MEDIUMtest/src/archiveUtilTest.ts324// ─── archive() — 7z branch filter (#9983) ────────────────────────────────────COMMENT
MEDIUMtest/src/archiveUtilTest.ts367// ─── buildExcludeArgs (via archive()) — happy-path coverage ───────────────────COMMENT
MEDIUMtest/src/electronGetTest.ts23// ─── Test helpers ─────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/electronGetTest.ts66// ─── getCacheDirectory ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/electronGetTest.ts229// ─── Shared temp cache dir for functional tests ───────────────────────────────COMMENT
MEDIUMtest/src/electronGetTest.ts243// ─── downloadArtifact: generic artifacts (.tar.gz) ───────────────────────────COMMENT
MEDIUMtest/src/electronGetTest.ts406// ─── downloadBuilderToolset: filenameWithExt validation ──────────────────────COMMENT
MEDIUMtest/src/electronGetTest.ts422// ─── Toolset archive cache (no network) ──────────────────────────────────────COMMENT
MEDIUMtest/src/electronGetTest.ts540// ─── downloadElectronArtifact: electron platform artifacts (.zip) ────────────COMMENT
MEDIUMtest/src/electronGetTest.ts660 // ─── downloadElectronArtifact: electron distribution zip (heavy) ──────────────COMMENT
MEDIUMtest/src/electronGetTest.ts684// ─── Proxy integration ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/updateInfoBuilderTest.ts43// ── NSIS multi-arch ordering (issue #9745) ──────────────────────────────────COMMENT
MEDIUMtest/src/updateInfoBuilderTest.ts43// ── NSIS multi-arch ordering (issue #9745) ──────────────────────────────────COMMENT
MEDIUMtest/src/updateInfoBuilderTest.ts104// ── macOS zip-first behavior (backward compat) ──────────────────────────────COMMENT
MEDIUMtest/src/updateInfoBuilderTest.ts126// ── Edge cases ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/updateInfoBuilderTest.ts226// ── createUpdateInfoTasks unit tests ─────────────────────────────────────────COMMENT
MEDIUMtest/src/updateInfoBuilderTest.ts285// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/s3BucketLocationTest.ts17// ─── Mock helper ─────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/s3BucketLocationTest.ts45// ─── Unit tests ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/s3BucketLocationTest.ts112// ─── Credential chain: getBucketLocation forwards resolved credentials ────────COMMENT
MEDIUMtest/src/s3BucketLocationTest.ts148// ─── Output-format contract: JS implementation vs app-builder-bin binary ─────COMMENT
MEDIUMtest/src/s3BucketLocationTest.ts178// ─── Credential resolution unit tests ────────────────────────────────────────COMMENT
MEDIUMtest/src/iconConverterTest.ts99// ─── ICNS parser helper ───────────────────────────────────────────────────────COMMENT
MEDIUMtest/src/iconConverterTest.ts126 // ─── ICNS output ─────────────────────────────────────────────────────────────COMMENT
179 more matches not shown…
Hyper-Verbose Identifiers102 hits · 103 pts
SeverityFileLineSnippetContext
LOWtest/vitest-scripts/refresh-tests.ts62function deleteStaleGeneratedSnapshots(): void {CODE
LOW…cripts/runtime-tests/generate-toolset-tests-windows.ts158export function generateWindowsToolsetTests(): void {CODE
LOW…-scripts/runtime-tests/generate-toolset-tests-linux.ts55export function generateLinuxToolsetTests(): void {CODE
LOWtest/src/asarIntegrityTest.ts22async function verifyAsarPerFileIntegrity(expect: ExpectStatic, resourceDir: string) {CODE
LOWtest/src/updater/differentialUpdateLinuxSuite.ts11export function registerDifferentialLinuxTests(toolset: Required<Pick<ToolsetConfig, "appimage">>): void {CODE
LOWtest/src/updater/blackboxUpdateHelpers.ts188async function handleInitialInstallPerOS({CODE
LOWtest/src/updater/blackboxUpdateLinuxSuite.ts8export function registerBlackboxLinuxTests(toolset: Required<Pick<ToolsetConfig, "appimage">>): void {CODE
LOWtest/src/updater/blackboxUpdateLinuxSuite.ts35export function registerBlackboxLinuxPackageManagerTests(): void {CODE
LOWtest/src/updater/differentialUpdateWinSuite.ts12export function registerDifferentialWinTests(toolsets: ToolsetConfig): void {CODE
LOWtest/src/mac/macArchiveTest.ts25function createMacFrameworkSymlinkTest(expect: ExpectStatic, format: "zip" | "7z") {CODE
LOWtest/src/linux/linuxPackagerTestSuite.ts19export function registerLinuxPackagerTests(toolsets: ToolsetConfig): void {CODE
LOWtest/src/windows/winCodeSignTest.ts28function makeSignQueueTestPackager(signIfResults: SignIfResult[]) {CODE
LOWtest/src/windows/winCodeSignTest.ts50function makeSequentialSignTestPackager() {CODE
LOWtest/src/windows/squirrelWindowsTestSuite.ts7export function registerSquirrelWindowsTests(toolsets: ToolsetConfig): void {CODE
LOWtest/src/windows/assistedInstallerTestSuite.ts10export function registerAssistedInstallerTests(toolsets: ToolsetConfig): void {CODE
LOWtest/src/helpers/selfSignedIdentity.ts40export async function createSelfSignedCodeSigningIdentity(commonName: string, tmpDir: TmpDir, options: SelfSignedIdentitCODE
LOWtest/src/helpers/launchAppCrossPlatform.ts484export async function deliverAndInstallSnapInVm(vm: VmManager, snapPath: string, opts: VmSnapOptions): Promise<{ versionCODE
LOWtest/src/helpers/launchAppCrossPlatform.ts572export async function installAndLaunchSnapLocally(snapPath: string, opts: VmSnapOptions): Promise<{ version: string }> {CODE
LOWtest/src/helpers/downloadElectron.ts41export function downloadAllRequiredElectronVersions(): Promise<any> {CODE
LOWtest/src/helpers/packTester.ts44export function getPackageManagerWithVersion(pm: PM, packageManagerAndVersionString?: string) {CODE
LOWtest/src/helpers/packTester.ts76function getLockfileFixtureNameCandidates(currentTestName: string): Array<string> {CODE
LOWtest/src/helpers/packTester.ts841export async function getWindowsSigningIdentity(): Promise<SelfSignedIdentity> {CODE
LOWtest/src/helpers/providerTestUtil.ts38export function assertDownloadNotTriggered(expect: ExpectStatic, result: any, actualEvents: string[]): void {CODE
LOWpackages/electron-updater/src/providerFactory.ts23export function isUrlProbablySupportMultiRangeRequests(url: string): boolean {CODE
LOW…ater/src/differentialDownloader/downloadPlanBuilder.ts93function validateAndAdd(operation: Operation, operations: Array<Operation>, checksum: string, index: number): void {CODE
LOW…/src/differentialDownloader/multipleRangeDownloader.ts8export function executeTasksUsingMultipleRangeRequests(CODE
LOWpackages/app-builder-lib/src/platformPackager.ts992export function computeSafeArtifactNameIfNeeded(suggestedName: string | null, safeNameProducer: () => string): string | CODE
LOWpackages/app-builder-lib/src/fileMatcher.ts151export function collectExplicitReincludes(patterns: ReadonlyArray<string>): { extensions: Set<string>; names: Set<stringCODE
LOWpackages/app-builder-lib/src/fileMatcher.ts177export function getDefaultIgnoredPatterns(userPatterns: ReadonlyArray<string>, includePdb: boolean): Array<string> {CODE
LOWpackages/app-builder-lib/src/fileMatcher.ts214export function getReincludedDefaultExclusions(patterns: ReadonlyArray<string>): Array<string> {CODE
LOWpackages/app-builder-lib/src/options/winOptions.ts419export function resolveWindowsSigningConfiguration(config: WindowsConfiguration): WindowsSigningConfiguration | null {CODE
LOW…lib/src/options/CommonWindowsInstallerConfiguration.ts85function convertToDesktopShortcutCreationPolicy(value: boolean | undefined | string): DesktopShortcutCreationPolicy {CODE
LOW…uilder-lib/src/node-module-collector/packageManager.ts88function detectPackageManagerByEnv(): PM | null {CODE
LOW…uilder-lib/src/node-module-collector/packageManager.ts102async function detectPackageManagerByFile(dir: string): Promise<PM | null> {CODE
LOW…ges/app-builder-lib/src/node-module-collector/index.ts17export function getCollectorByPackageManager(pm: PM, rootDir: string, tempDirManager: TmpDir) {CODE
LOW…ges/app-builder-lib/src/node-module-collector/index.ts113async function findNearestPackageJsonWithWorkspacesField(dir: string): Promise<string | undefined> {CODE
LOWpackages/app-builder-lib/src/util/appFileCopier.ts145function getNodeModuleExcludedExts(platformPackager: PlatformPackager<any>) {CODE
LOWpackages/app-builder-lib/src/util/appFileCopier.ts167export async function computeNodeModuleFileSets(CODE
LOWpackages/app-builder-lib/src/util/appFileCopier.ts229export function collectionMatchesAppDependencies(nodeModules: NodeModuleInfo[], dependencies: Record<string, string> | uCODE
LOWpackages/app-builder-lib/src/util/appFileCopier.ts247export async function resolveFirstMatchingCollection(options: {CODE
LOWpackages/app-builder-lib/src/util/appFileCopier.ts275async function collectNodeModulesWithLogging(platformPackager: PlatformPackager<any>, arch: Arch | null) {CODE
LOWpackages/app-builder-lib/src/util/license.ts30export async function getNotLocalizedLicenseFile(CODE
LOWpackages/app-builder-lib/src/util/streamSpawnToFile.ts117export function buildPowerShellEncodedArgs(command: string, args: string[]): string[] {CODE
LOWpackages/app-builder-lib/src/util/electronGet.ts81export async function getCacheDirectoryInternal(options: { isAvoidSystemOnWindows?: boolean; allowEnvVarOverride: booleaCODE
LOWpackages/app-builder-lib/src/util/electronGet.ts641function buildElectronArtifactConfig(artifactOptions: ArtifactDownloadOptions): ElectronPlatformArtifactDetails {CODE
LOWpackages/app-builder-lib/src/util/electronGet.ts659export function downloadElectronArtifactZip(options: ArtifactDownloadOptions): Promise<string> {CODE
LOWpackages/app-builder-lib/src/util/flags.ts5export function isAutoDiscoveryCodeSignIdentity() {CODE
LOWpackages/app-builder-lib/src/util/flags.ts19export function isRemoveStageDirEvenIfDebug() {CODE
LOWpackages/app-builder-lib/src/util/flags.ts35export function isElectronBuilderAllowedAsProductionDependency() {CODE
LOW…kages/app-builder-lib/src/util/normalizePackageData.ts187function fixBundleDependenciesField(data: any) {CODE
LOWpackages/app-builder-lib/src/util/archCompatibility.ts97export async function collectSingleArchPackageNames(nodeModulesDir: string, names: Set<string> = new Set<string>()): ProCODE
LOWpackages/app-builder-lib/src/util/archCompatibility.ts189export async function collectIdenticalSingleArchMachOFiles(unpackedDirA: string, unpackedDirB: string): Promise<string[]CODE
LOWpackages/app-builder-lib/src/util/archCompatibility.ts208export function buildSingleArchFilesPattern(patterns: Iterable<string>, userPattern: string | undefined): string | undefCODE
LOWpackages/app-builder-lib/src/util/config/config.ts41export function createProjectMetadataLazy(projectDir: string): Lazy<Record<string, any> | null> {CODE
LOWpackages/app-builder-lib/src/util/config/config.ts98async function loadParentConfigsRecursively(configExtends: Configuration["extends"], loader: (configExtend: string) => PCODE
LOWpackages/app-builder-lib/src/util/config/config.ts256export async function computeDefaultAppDirectory(projectDir: string, userAppDir: string | Nullish): Promise<string> {CODE
LOWpackages/app-builder-lib/src/util/win/resEdit.ts53function patchManifestExecutionLevel(res: NtExecutableResource, level: string, file: string): void {CODE
LOW…ages/app-builder-lib/src/util/mac/macosIconComposer.ts53export async function generateAssetCatalogForIcon(tmpDir: TmpDir, inputPath: string): Promise<AssetCatalogResult> {CODE
LOWpackages/app-builder-lib/src/util/mac/macosVersion.ts21async function isOsVersionGreaterThanOrEqualTo(input: string) {CODE
LOW…ilder-lib/src/targets/differentialUpdateInfoBuilder.ts11export function createNsisWebDifferentialUpdateInfo(artifactPath: string, packageFiles: { [arch: string]: PackageFileInfCODE
42 more matches not shown…
Cross-Language Confusion (JS/TS)7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHtest/src/helpers/launchAppCrossPlatform.ts519elif [ -n "\$XVFB_BIN" ]; thenCODE
HIGH…builder-lib/src/targets/linux/appimage/appImageUtil.ts335 elif [ -x /usr/bin/kdialog ] ; thenCODE
HIGH…builder-lib/src/targets/linux/appimage/appImageUtil.ts337 elif [ -x /usr/bin/Xdialog ] ; thenCODE
HIGH…builder-lib/src/targets/linux/appimage/appImageUtil.ts351 elif [ -x /usr/bin/kdialog ] ; thenCODE
HIGH…builder-lib/src/targets/linux/appimage/appImageUtil.ts353 elif [ -x /usr/bin/Xdialog ] ; thenCODE
HIGH…builder-lib/src/targets/linux/appimage/appImageUtil.ts386 elif [ -x /usr/bin/Xdialog ] ; thenCODE
HIGH…builder-lib/src/targets/linux/appimage/appImageUtil.ts389 elif [ -x /usr/bin/kdialog ] ; thenCODE
Structural Annotation Overuse13 hits · 22 pts
SeverityFileLineSnippetContext
LOWMIGRATION.md15### Step 0: run the automated migratorCOMMENT
LOWtest/src/updater/blackboxWebInstallerTest.ts71 // Step 1: Start the HTTP server first so we know the port before building.COMMENT
LOWtest/src/updater/blackboxWebInstallerTest.ts88 // Step 2: Build the nsis-web installer with the server URL baked in.COMMENT
LOWtest/src/updater/blackboxWebInstallerTest.ts153 // Step 3: Copy the .nsis.7z app package into the HTTP server root so theCOMMENT
LOWwebsite/docs/migration/v26-to-v27.md27## Step 1: Run the automated migratorCOMMENT
LOWwebsite/docs/migration/v26-to-v27.md84## Step 2: Update Node.jsCOMMENT
LOWwebsite/docs/migration/v26-to-v27.md134## Step 3: Apply the manual stepsCOMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts249 // Step 1: D = ID byte repeated v timesCOMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts252 // Step 2: S = salt bytes repeated to fill ceil(salt.length / v) * v bytesCOMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts259 // Step 3: P = password bytes repeated to fill ceil(password.length / v) * v bytesCOMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts266 // Step 4: I = S || P (mutable, updated in step 6C)COMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts391 // Step 1: Verify MAC (or signature) integrity and parse the AuthenticatedSafe container.COMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts410 // Step 2: Iterate over the authenticated-safe ContentInfos and extract all certificates.COMMENT
Over-Commented Block22 hits · 22 pts
SeverityFileLineSnippetContext
LOWtest/vitest-scripts/vitest-config/vitest-tmpdir.ts1import { afterEach, beforeEach } from "vitest"COMMENT
LOWtest/src/HoistTest.ts81 // it(`should support simple cyclic peer dependencies`, () => {COMMENT
LOWtest/src/HoistTest.ts101COMMENT
LOWtest/src/HoistTest.ts121 }COMMENT
LOWtest/src/HoistTest.ts261 // . -> A -> BCOMMENT
LOWtest/src/HoistTest.ts381 // -> F -> G -> B@X -> C@X -> D@XCOMMENT
LOWtest/src/HoistTest.ts421 "B@X#1": { dependencies: [`C@Y`], peerNames: [`C`] },COMMENT
LOWtest/src/HoistTest.ts521 // -> B@XCOMMENT
LOWtest/src/blockmapTest.ts181COMMENT
LOWtest/src/asarIntegrityTest.ts1import { Platform } from "app-builder-lib"COMMENT
LOWtest/src/updater/test-specific-platforms.sh1#!/bin/bashCOMMENT
LOWtest/src/updater/blackboxWebInstallerTest.ts21// 1. Build a nsis-web installer (the small stub .exe) and its companionCOMMENT
LOWtest/src/updater/blackboxUpdateWinSuite.ts121 // elevation that most CI runners cannot provide reliably without a pre-elevated session.COMMENT
LOWtest/src/linux/test-snap.sh1#!/bin/bashCOMMENT
LOWtest/src/linux/test-snap.sh21#COMMENT
LOWtest/src/linux/test-snap.sh61export TEST_FILES="${TEST_FILES:-snapTest,snapHeavyTest}"COMMENT
LOW…-updater/src/windowsExecutableCodeSignatureVerifier.ts21COMMENT
LOW…/src/node-module-collector/pnpmNodeModulesCollector.ts141 // Phase 1: find a version that SATISFIES requiredRange, trying the dep's own locationCOMMENT
LOWpackages/app-builder-lib/src/util/electronGet.ts441 }COMMENT
LOWpackages/app-builder-lib/src/util/toolsetLock.ts41// invocation reserves a large `WebAssembly.Memory`. A single build converting one icon is fine, butCOMMENT
LOW…kages/app-builder-lib/src/targets/blockmap/blockmap.ts1import { createHash } from "crypto"COMMENT
LOWpackages/builder-util-runtime/src/uuid.ts221COMMENT
Slop Phrases11 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMpackages/app-builder-lib/scheme.json2311 "description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](htCODE
MEDIUMpackages/app-builder-lib/scheme.json2955 "description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](htCODE
MEDIUMpackages/app-builder-lib/scheme.json3433 "description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](htCODE
LOWpackages/app-builder-lib/scheme.json4398 "description": "The path to EULA license file. Defaults to `license.txt` or `eula.txt` (or uppercase variants)CODE
LOWpackages/app-builder-lib/scheme.json4751 "description": "The path to EULA license file. Defaults to `license.txt` or `eula.txt` (or uppercase variants)CODE
LOWpackages/app-builder-lib/scheme.json5747 "description": "The path to EULA license file. Defaults to `license.txt` or `eula.txt` (or uppercase variants)CODE
MEDIUMpackages/app-builder-lib/scheme.json8406 "description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](htCODE
MEDIUMpackages/app-builder-lib/scheme.json9414 "description": "A [glob patterns](https://www.electron.build/file-patterns) relative to the [app directory](https:CODE
LOWpackages/app-builder-lib/src/options/pkgOptions.ts66 * The path to EULA license file. Defaults to `license.txt` or `eula.txt` (or uppercase variants). In addition to `txtCOMMENT
MEDIUM…uilder-lib/src/options/PlatformSpecificBuildOptions.ts112You can use [file macros](https://www.electron.build/file-patterns#file-macros) in the `from` and `to` fields as well. `CODE
LOW…es/app-builder-lib/src/targets/win/nsis/nsisOptions.ts189 * The path to EULA license file. Defaults to `license.txt` or `eula.txt` (or uppercase variants). In addition to `txtCOMMENT
Verbosity Indicators9 hits · 16 pts
SeverityFileLineSnippetContext
LOWtest/src/updater/blackboxWebInstallerTest.ts71 // Step 1: Start the HTTP server first so we know the port before building.COMMENT
LOWtest/src/updater/blackboxWebInstallerTest.ts88 // Step 2: Build the nsis-web installer with the server URL baked in.COMMENT
LOWtest/src/updater/blackboxWebInstallerTest.ts153 // Step 3: Copy the .nsis.7z app package into the HTTP server root so theCOMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts249 // Step 1: D = ID byte repeated v timesCOMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts252 // Step 2: S = salt bytes repeated to fill ceil(salt.length / v) * v bytesCOMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts259 // Step 3: P = password bytes repeated to fill ceil(password.length / v) * v bytesCOMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts266 // Step 4: I = S || P (mutable, updated in step 6C)COMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts391 // Step 1: Verify MAC (or signature) integrity and parse the AuthenticatedSafe container.COMMENT
LOWpackages/app-builder-lib/src/codeSign/certInfo.ts410 // Step 2: Iterate over the authenticated-safe ContentInfos and extract all certificates.COMMENT
AI Slop Vocabulary4 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUMtest/src/concurrentBuildsTest.ts156// Regression test for #9852: elevate.exe must reach the dir-target output (win-unpacked/resources)COMMENT
MEDIUMtest/src/helpers/archiveHelper.ts5// listing (`-slt`), which prints one `Path = <entry>` line per entry — robust against entry namesCOMMENT
MEDIUMpackages/app-builder-lib/scheme.json454 "description": "Bitbucket options.\nhttps://bitbucket.org/\nDefine `BITBUCKET_TOKEN` environment variable.\n\nFor CODE
MEDIUM…/src/node-module-collector/yarnNodeModulesCollector.ts6// Instead of parsing Yarn's custom NDJSON output, we leverage npm's list commandCOMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtest/src/linux/test-snap.sh132# Set SNAP_CORE to test a single core (ideal for CI matrix jobs).COMMENT
LOW…kages/app-builder-lib/templates/snap/desktop-common.sh124# Set XDG_DATA_HOME to local pathCOMMENT
LOW…kages/app-builder-lib/templates/snap/desktop-common.sh189# Check if we can actually read the contents of each xdg dirCOMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtest/src/cliTest.ts212 expect(quoteString("Acme Corp")).toBe("Acme Corp")CODE
LOWwebsite/docs/features/build-lifecycle.md301 xml = xml.replace('Manufacturer="PLACEHOLDER"', 'Manufacturer="Acme Corp"')CODE