Repository Analysis

oven-sh/bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

5.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of oven-sh/bun, a Rust project with 95,765 GitHub stars. SynthScan v2.0 examined 3,201,976 lines of code across 15313 source files, recording 11113 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 5.9 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).

5.9
Adjusted Score
5.9
Raw Score
100%
Time Factor
2026-08-28
Last Push
95.8K
Stars
Rust
Language
3.2M
Lines of Code
15.3K
Files
11.1K
Pattern Hits
2026-08-29
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 19HIGH 64MEDIUM 4117LOW 6913

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 11113 distinct pattern matches across 23 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 Separators4066 hits · 11708 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml123# ─── Release optimization ───────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http3-client.test.ts497 // ───── streaming uploads (pull-driven request bodies) ─────COMMENT
MEDIUMtest/js/web/fetch/fetch-http3-client.test.ts541 // ───── bidirectional ─────COMMENT
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts34// ─── raw server with full preface control ────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts108// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts471 // ───────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts473 // ───────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts584// ─── session-key regressions ─────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/workers/worker-late-completion.test.ts45 // ── thread pool: bun_jsc::Job ────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/workers/worker-late-completion.test.ts164 // ── thread pool: storage inside a JS-owned object ────────────────────────COMMENT
MEDIUMtest/js/web/workers/worker-late-completion.test.ts178 // ── HTTP thread ──────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/workers/worker-late-completion.test.ts188 // ── bundle thread ────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/workers/worker-late-completion.test.ts195 // ── weak posters (no ticket): delivered while draining, or refused ───────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts71 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts73 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts123 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts125 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts149 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts151 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts198 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts200 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts253 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts255 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts303 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts305 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts27// this file should be runnable standalone) ────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts146// ─── 1. format confusion / lying magic bytes ─────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts181// ─── 2. truncation at every boundary ─────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts310// ─── 3. lying / overflowing header fields ────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts389// ─── 4. malformed PNG chunk structure ────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts435// ─── 5. malformed JPEG / EXIF ────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts471// ─── 6. lossless roundtrip parity ────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts535// ─── 7. memory hygiene under repetition ──────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts590// ─── 8. hostile JS option objects ────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts709// ─── 9. concurrency / re-use ─────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts744// ─── 10. random-byte fuzz (cheap, bounded) ───────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-kernels.test.ts10// ─── plumbing (PNG build/read; same shape as image.test.ts) ─────────────────COMMENT
MEDIUMtest/js/bun/image/image-kernels.test.ts110// ─── resize filters ─────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-kernels.test.ts233// ─── Floyd–Steinberg dither ─────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-vs-sharp.test.ts34// failure modes; small so the fixture stays a few-hundred KB) ────────────COMMENT
MEDIUMtest/js/bun/image/image-vs-sharp.test.ts73// ─── PNG plumbing (same hand-roller as the other suites) ────────────────────COMMENT
MEDIUMtest/js/bun/image/image-vs-sharp.test.ts165// back, in the same iteration order the test uses. ─────────────────────────COMMENT
MEDIUMtest/js/bun/image/image.test.ts7// ─── Fixture builders ───────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image.test.ts143// ─── Tests ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image.test.ts1300 // ── LZW pack ──────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image.test.ts1348 // ── container ─────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts46// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts48// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts74// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts76// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts121// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts123// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts157// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts159// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts191// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts194// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts230// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts233// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts250// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/http/proxy-stress-headers.test.ts252// ─────────────────────────────────────────────────────────────────────────────COMMENT
4006 more matches not shown…
Over-Commented Block5660 hits · 5106 pts
SeverityFileLineSnippetContext
LOWCargo.toml121edition = "2024"COMMENT
LOWCargo.toml141debug = "line-tables-only"COMMENT
LOWCargo.toml161inherits = "release"COMMENT
LOWCargo.toml201# is intentional.COMMENT
LOWrustfmt.toml1# rustfmt config for the Cargo workspace. Formatting is the toolchain defaultCOMMENT
LOWbunfig.toml1[test]COMMENT
LOWrust-toolchain.toml1[toolchain]COMMENT
LOWdylint.toml1[mordant]COMMENT
LOWbench/snippets/buffer.js21// time("DataView.getBigInt64 (BE)", () => view.getBigInt64(0, false));COMMENT
LOWbench/snippets/buffer.js41time("Buffer.readFloatLE ", () => buf.readFloatLE(0));COMMENT
LOWbench/snippets/buffer.js61// console.log("");COMMENT
LOWbench/snippets/buffer.js81time("Buffer.writeBigUInt64BE", () => buf.writeBigUInt64BE(BigInt(0), 0));COMMENT
LOWbench/snippets/buffer.js101// console.log("");COMMENT
LOWbench/snippets/deep-equals.js341 // get foo() {COMMENT
LOWbench/install/next-env.d.ts1/// <reference types="next" />COMMENT
LOWtest/expectations.txt1# Format: [modifier] test-name [[ expectations ]] [# comment]COMMENT
LOWtest/expectations.txt21# agents have no ClangCL toolset ("MSB8020: The build tools for ClangCL cannotCOMMENT
LOWtest/v8/v8-module/main.cpp1#include <node.h>COMMENT
LOWtest/snippets/lodash-regexp.js21// export function test() {COMMENT
LOWtest/docker/coordinator.ts41COMMENT
LOWtest/js/workerd/html-rewriter-leak.test.ts121 expect(exitCode).toBe(0);COMMENT
LOWtest/js/workerd/html-rewriter-leak.test.ts161 expect(after - before).toBe(0);COMMENT
LOWtest/js/web/structured-clone-blob-file.test.ts361 });COMMENT
LOW…/js/web/abort/abort-signal-event-listener-leak.test.ts1import { estimateShallowMemoryUsageOf } from "bun:jsc";COMMENT
LOW…bsocket/websocket-proxy-tunnel-upgrade-leak-fixture.ts1// Repro for HTTPUpgradeClient leak on wss:// through an HTTP CONNECT proxyCOMMENT
LOW…b/websocket/websocket-proxy-tunnel-client-leak.test.ts1import { expect, test } from "bun:test";COMMENT
LOWtest/js/web/websocket/websocket-utf16-headers.test.ts1// Regression test for WebSocket upgrade request crash on non-ASCII inputs.COMMENT
LOWtest/js/web/websocket/websocket-proxy.test.ts361 // grows past 64 KiB, then the proxy holds the burst and releases it in oneCOMMENT
LOW…ebsocket/websocket-proxy-tunnel-client-leak-fixture.ts1// Repro for NewWebSocketClient(false) leak on wss:// through an HTTP CONNECTCOMMENT
LOWtest/js/web/websocket/websocket-close-code.test.ts1// WebSocket#close() argument validation and the close-code handling thatCOMMENT
LOWtest/js/web/intl/intl.test.ts1// ECMA-402 Intl coverage. Doubles as the regression net for the per-item zstdCOMMENT
LOWtest/js/web/timers/timers-fixture-unref.js81// See https://github.com/nodejs/node/issues/9561COMMENT
LOWtest/js/web/streams/streams-leak.test.ts1import { expect, test } from "bun:test";COMMENT
LOWtest/js/web/streams/native-source-onclose-leak.test.ts1import { heapStats } from "bun:jsc";COMMENT
LOWtest/js/web/encoding/text-decoder-cjk.test.ts281 // 8F A1 starts a JIS X 0212 sequence; 0x61 aborts it. A1 A1 is then aCOMMENT
LOWtest/js/web/encoding/text-encoder-stream.test.ts301 latin1: () => Buffer.alloc(${2 * CAP_MB} * MiB, "a").toString("latin1"),COMMENT
LOW…t/js/web/html/FormData-multipart-serialization.test.ts161 // Serializing an in-memory blob entry borrows its bytes; the only blob-sizedCOMMENT
LOWtest/js/web/html/FormData-file-error-leak.test.ts1import { expect, test } from "bun:test";COMMENT
LOWtest/js/web/html/FormData-file-error-leak-fixture.ts1// Fixture for FormData → multipart body memory leak on readFile failure.COMMENT
LOW…/js/web/broadcastchannel/message-event-init-gc.test.ts1import { expect, test } from "bun:test";COMMENT
LOW…b/broadcastchannel/broadcast-channel-worker-gc.test.ts101);COMMENT
LOW…b/broadcastchannel/broadcast-channel-worker-gc.test.ts181 expect(filterStderr(stderr)).toBe("");COMMENT
LOWtest/js/web/fetch/http-chunked-server.c1// Simple HTTP server that reproduces a streaming response body bug.COMMENT
LOWtest/js/web/fetch/fetch-tcp-keepalive.test.ts1// Verifies that fetch() enables TCP keepalive (SO_KEEPALIVE + TCP_KEEPIDLE)COMMENT
LOWtest/js/web/fetch/fetch-tcp-keepalive.test.ts161// ---------------------------------------------------------------------------COMMENT
LOWtest/js/web/fetch/fetch-buffer-peak-fixture.ts1// Measures the client-side resident set across a single large bufferedCOMMENT
LOW…st/js/web/fetch/fetch-proxy-tls-intern-race-fixture.ts1// Subprocess fixture for fetch-proxy-tls-intern-race.test.ts.COMMENT
LOWtest/js/web/fetch/fetch-abort-queued.test.ts1// When `active_requests_count >= max_simultaneous_requests`, new fetch()COMMENT
LOWtest/js/web/fetch/blob.test.ts321 // Regression: #23015 refactored Blob to be ref-counted and movedCOMMENT
LOWtest/js/web/fetch/fetch-http3-client.test.ts381 expect(res.headers.get("x-recv-len")).toBe("1");COMMENT
LOWtest/js/web/fetch/headers.test.ts601COMMENT
LOW…js/web/fetch/fetch-stream-body-ended-inline-fixture.ts1// Regression: fetch() with a native ByteStream request body (an upstreamCOMMENT
LOWtest/js/web/fetch/body.test.ts1221 // as its result, and discarded large JS strings are currently not reclaimedCOMMENT
LOW…/js/web/fetch/fetch.tls.cert-mismatch-churn.fixture.ts1// Fixture for "rejects a trusted cert with a mismatched hostname cleanly under churn".COMMENT
LOWtest/js/web/fetch/blob-oom.test.ts221 ]);COMMENT
LOWtest/js/web/fetch/body-clone.test.ts901COMMENT
LOWtest/js/web/fetch/blob-file-name-ownership.test.ts1import { expect, test } from "bun:test";COMMENT
LOWtest/js/web/fetch/fetch-http3-adversarial.test.ts221 }COMMENT
LOWtest/js/web/fetch/bytestream-cancel-on-drain-fixture.ts1// Deterministic repro for the ByteStream::on_data re-entrancy panic: park aCOMMENT
LOWtest/js/web/fetch/fetch-http3-cold-post-fixture.ts1// A large POST over HTTP/3 as the very first request on the connection, soCOMMENT
5600 more matches not shown…
Hyper-Verbose Identifiers886 hits · 910 pts
SeverityFileLineSnippetContext
LOWtest/harness.ts152async function findOrDownloadAbiMatchingNode(): Promise<string> {CODE
LOWtest/harness.ts437export function makeTreeSyncFromDirectoryTree(base: string, tree: DirectoryTree) {CODE
LOWtest/harness.ts608export function randomInvalidSurrogatePair() {CODE
LOWtest/harness.ts1308function failTestsOnBlockingWriteCall() {CODE
LOWtest/harness.ts1777export function fileDescriptorLeakChecker() {CODE
LOWtest/_util/numeric.ts93 export function computePearsonCorrelation(xs: number[], ys: number[]): number {CODE
LOWtest/_util/numeric.ts160 export function computeAverageAbsoluteDeviation(xs: number[]): number {CODE
LOWtest/js/deno/crypto/random.test.ts51test(function getRandomValuesReturnValue() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts506test(async function subtleCryptoHmacImportExport() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts755test(async function testHkdfDeriveBitsWithLargeKeySize() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts768test(async function testEcdhDeriveBitsWithShorterLength() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts782test(async function testEcdhDeriveBitsWithLongerLength() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts795test(async function testEcdhDeriveBitsWithNullLength() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts1063test(async function testDecryptWithInvalidIntializationVector() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts2559test(async function ecPrivateKeyMaterialExportSpki() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts2603test(async function testImportLeadingZeroesKey() {CODE
LOWtest/js/deno/abort/abort-controller.test.ts52test(function controllerHasProperToString() {CODE
LOWtest/js/deno/encoding/encoding.test.ts285test(function toStringShouldBeWebCompatibility() {CODE
LOWtest/js/deno/encoding/encoding.test.ts291test(function textEncoderShouldCoerceToString() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts6test(function urlSearchParamsWithMultipleSpaces() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts13test(function urlSearchParamsWithExclamation() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts23test(function urlSearchParamsWithQuotes() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts33test(function urlSearchParamsWithBraket() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts53test(function urlSearchParamsInitString() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts58test(function urlSearchParamsInitStringWithPlusCharacter() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts66test(function urlSearchParamsInitStringWithMalformedParams() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts114test(function urlSearchParamsAppendSuccess() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts119test(function urlSearchParamsDeleteSuccess() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts125test(function urlSearchParamsGetAllSuccess() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts137test(function urlSearchParamsGetSuccess() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts144test(function urlSearchParamsHasSuccess() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts151test(function urlSearchParamsSetReplaceFirstAndRemoveOthers() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts157test(function urlSearchParamsSetAppendNew() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts163test(function urlSearchParamsSortSuccess() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts169test(function urlSearchParamsForEachSuccess() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts190test(function urlSearchParamsMissingName() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts196test(function urlSearchParamsMissingValue() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts202test(function urlSearchParamsMissingEqualSign() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts208test(function urlSearchParamsMissingPair() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts213test(function urlSearchParamsForShortEncodedChar() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts221test(function urlSearchParamsShouldThrowTypeError() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts86test(function urlSearchParamsInitIterable() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts100test(function urlSearchParamsInitRecord() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts256test(function urlSearchParamsAppendArgumentsCheck() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts299test(function urlSearchParamsDeletingAppendedMultiple() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts311test(function urlSearchParamsCustomSymbolIterator() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts322test(function urlSearchParamsCustomSymbolIteratorWithNonStringParams() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts333test(function urlSearchParamsOverridingAppendNotChangeConstructorAndSet() {CODE
LOWtest/js/deno/url/urlsearchparams.test.ts354test(function urlSearchParamsOverridingEntriesNotChangeForEach() {CODE
LOWtest/js/deno/url/url.test.ts266test(function deletingAllParamsRemovesQuestionMarkFromURL() {CODE
LOWtest/js/deno/url/url.test.ts273test(function removingNonExistentParamRemovesQuestionMarkFromURL() {CODE
LOWtest/js/deno/url/url.test.ts280test(function sortingNonExistentParamRemovesQuestionMarkFromURL() {CODE
LOWtest/js/deno/url/url.test.ts293test(function throwForInvalidPortConstructor() {CODE
LOWtest/js/deno/url/url.test.ts307test(function doNotOverridePortIfInvalid() {CODE
LOWtest/js/deno/url/url.test.ts313test(function emptyPortForSchemeDefaultPort() {CODE
LOWtest/js/deno/url/url.test.ts332test(function assigningPortPropertyAffectsReceiverOnly() {CODE
LOWtest/js/deno/url/url.test.ts339test(function urlSearchParamsIdentityPreserved() {CODE
LOWtest/js/deno/url/url.test.ts346test(function urlTakeURLObjectAsParameter() {CODE
LOWtest/js/deno/fetch/blob.test.ts111test(function blobConstructorNameIsBlob() {CODE
LOWtest/js/deno/fetch/blob.test.ts115test.ignore(function blobCustomInspectFunction() {CODE
826 more matches not shown…
Cross-Language Confusion (JS/TS)60 hits · 335 pts
SeverityFileLineSnippetContext
HIGHtest/js/bun/test/printing/diffexample.fixture.ts228 print("Hello, world!");CODE
HIGHtest/js/bun/test/printing/diffexample.fixture.ts229 print("Goodbye, world!");CODE
HIGHtest/js/bun/test/printing/diffexample.fixture.ts233 print("Hello, world!");CODE
HIGHtest/js/bun/test/printing/diffexample.fixture.ts234 print("Goodbye, world!");CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts116 print({ defaultIsExportsObject: ns.default === fs, readFileSync: typeof readFileSync, kinds: kinds() });CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts125 print({ kinds: kinds(), isTheClass: typeof ReadStream === "function" && ReadStream === fs.ReadStream });CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts139 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts164 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts182 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts220 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts266 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts300 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts355 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts395 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts436 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts498 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts531 print({ addedBeforeLoad: ns.addedBeforeLoad, exportsAddedAfterLoad: "addedAfterLoad" in ns });CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts547 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts583 print({CODE
HIGHtest/js/bun/resolve/builtin-esm-lazy-exports.test.ts631 print({ log, e, x });CODE
HIGHtest/js/bun/shell/bunshell.test.ts2354elif echo baz;then echo qux;fi`CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts66 print({ url: view.url, title: view.title, value, undef });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts82 print({ length: value.length, equal: value === big });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts93 print(await view.evaluate(JSON.stringify(big) + " === " + ${JSON.stringify(BIG)}));CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts105 print({ type: blob.type, size: bytes.length, hash: String(Bun.hash(bytes)) });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts120 print({ urls: views.map(view => view.url), values });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts133 print(await outcome(view.evaluate("(() => { throw new Error('inside the fake'); })()")));CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts156 print({ death, second: await second.evaluate("'alive again'") });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts223 print(await outcome(view.evaluate("__fake_close_replies()")));CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts234 print({ closing, next });CODE
HIGHtest/bundler/bundler_jsx.test.ts151 print(<div>Hello World</div>)CODE
HIGHtest/bundler/bundler_jsx.test.ts152 print(<div className="container"><Component prop={2}><h1 onClick={() => 1}>hello</h1></Component></div>)CODE
HIGHtest/bundler/bundler_jsx.test.ts173 print(<div>Hello World</div>)CODE
HIGHtest/bundler/bundler_jsx.test.ts174 print(<div className="container"><Component prop={2}><h1 onClick={() => 1}>hello</h1></Component></div>)CODE
HIGHtest/bundler/bundler_jsx.test.ts175 print(<>Fragment</>)CODE
HIGHtest/bundler/bundler_jsx.test.ts196 print([typeof F, typeof el])CODE
HIGHtest/bundler/bundler_jsx.test.ts219 print([el, a, b, c])CODE
HIGHtest/bundler/bundler_jsx.test.ts304 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts325 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts347 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts376 print(['classic.jsx',<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts384 print(['classic-renamed.jsx',<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts388 print(['automatic.jsx',<div props={123}>Hello World</div>, process.env.NODE_ENV === 'production' ? '' : <>FragmeCODE
HIGHtest/bundler/bundler_jsx.test.ts393 print(['automatic-source2.jsx',<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts419 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts441 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts469 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts489 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGH…-compiler-fixtures/hoisting-nested-block-statements.js6 print(x);CODE
HIGH…-compiler-fixtures/hoisting-nested-block-statements.js10 print(x);CODE
HIGH…eact-compiler-fixtures/flag-enable-emit-hook-guards.ts13 print(identity(CONST_STRING0));CODE
HIGH…eact-compiler-fixtures/flag-enable-emit-hook-guards.ts15 print(value, state);CODE
HIGH…eact-compiler-fixtures/flag-enable-emit-hook-guards.ts21 print(identity(value + state));CODE
HIGH…nspiler/react-compiler-fixtures/codegen-inline-iife.ts5 print(1),CODE
HIGH…nspiler/react-compiler-fixtures/codegen-inline-iife.ts7 print(2);CODE
HIGHscripts/glob-sources.ts192 print(sources[arg as keyof Sources]);CODE
HIGHsrc/js/internal/repl/utils.js550 print(repl.line, `${labels[dir]}_`);CODE
HIGHsrc/js/internal/repl/utils.js590 print(entry, `${labels[dir]}${input}_`, cursor);CODE
HIGHsrc/js/internal/repl/utils.js601 print(repl.line, `failed-${labels[dir]}${input}_`);CODE
HIGHsrc/js/internal/repl/utils.js701 print(repl.line, `${labels[dir]}_`);CODE
Hallucination Indicators19 hits · 190 pts
SeverityFileLineSnippetContext
CRITICAL…mpiler-fixtures/readonly-object-method-calls.expect.md16 const posts = user.timeline.posts.edges.nodes.map(node => (CODE
CRITICAL…mpiler-fixtures/readonly-object-method-calls.expect.md45 posts = user.timeline.posts.edges.nodes.map(_temp);CODE
CRITICAL…/readonly-object-method-calls-mutable-lambda.expect.md17 const posts = user.timeline.posts.edges.nodes.map(node => {CODE
CRITICAL…/readonly-object-method-calls-mutable-lambda.expect.md46 const posts = user.timeline.posts.edges.nodes.map((node) => {CODE
CRITICAL…ixtures/readonly-object-method-calls-mutable-lambda.js13 const posts = user.timeline.posts.edges.nodes.map(node => {CODE
CRITICAL…eact-compiler-fixtures/readonly-object-method-calls.js12 const posts = user.timeline.posts.edges.nodes.map(node => (CODE
CRITICALsrc/install/PackageManager/runTasks.rs1200 task.request.local_tarball.tarball.url.slice()CODE
CRITICALsrc/install/PackageManager/security_scanner.rs163 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();CODE
CRITICALsrc/install/PackageManager/security_scanner.rs194 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();CODE
CRITICALsrc/install/PackageManager/security_scanner.rs618 let resolutions = self.manager.lockfile.buffers.resolutions.as_slice();CODE
CRITICALsrc/install/PackageManager/security_scanner.rs722 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();CODE
CRITICALsrc/runtime/cli/pack_command.rs2046 if ctx.manager.options.publish_config.tag.is_empty() {CODE
CRITICALsrc/runtime/cli/pack_command.rs2051 if ctx.manager.options.publish_config.access.is_none() {CODE
CRITICALsrc/runtime/cli/test_command.rs1355 let report = this.jest.test_options.reporters.junit.then(|| {CODE
CRITICALsrc/runtime/cli/publish_command.rs880 bstr::BStr::new(if !ctx.manager.options.publish_config.tag.is_empty() {CODE
CRITICALsrc/runtime/cli/publish_command.rs912 if !ctx.manager.options.publish_config.otp.is_empty() {CODE
CRITICALsrc/runtime/cli/publish_command.rs1997 let tag: &[u8] = if !ctx.manager.options.publish_config.tag.is_empty() {CODE
CRITICALsrc/runtime/api/JSTranspiler.rs357 let Ok(Some(json)) = vm.transpiler.resolver.caches.json.parse_json(CODE
CRITICALsrc/js_parser/visit/visit_stmt.rs1135 let new_len = if !(data.is_export && p.options.features.replace_exports.entries.len() > 0) {CODE
Fake / Example Data151 hits · 180 pts
SeverityFileLineSnippetContext
LOWbench/snippets/buffer-includes.js2 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aCODE
LOWbench/snippets/buffer-includes.js2 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aCODE
LOWbench/snippets/_fixture.txt1191 <td id="LC98" class="blob-code blob-code-inner js-file-line"><span class="pl-s"> Lorem ipsum dolor sit amet, CODE
LOWbench/snippets/_fixture.txt1191 <td id="LC98" class="blob-code blob-code-inner js-file-line"><span class="pl-s"> Lorem ipsum dolor sit amet, CODE
LOWbench/snippets/_fixture.txt1339 <td id="LC135" class="blob-code blob-code-inner js-file-line"> let string_long_escaped = &quot;\n Lorem ipCODE
LOWbench/snippets/_fixture.txt1339 <td id="LC135" class="blob-code blob-code-inner js-file-line"> let string_long_escaped = &quot;\n Lorem ipCODE
LOWbench/snippets/_fixture.txt1343 <td id="LC136" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">let</span> string_short <spCODE
LOWbench/snippets/_fixture.txt1343 <td id="LC136" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">let</span> string_short <spCODE
LOWbench/snippets/_fixture.txt1351 <td id="LC138" class="blob-code blob-code-inner js-file-line"> <span class="pl-s">&quot;Lorem ipsum dolorCODE
LOWbench/snippets/_fixture.txt1351 <td id="LC138" class="blob-code blob-code-inner js-file-line"> <span class="pl-s">&quot;Lorem ipsum dolorCODE
LOWbench/snippets/_fixture.txt1355 <td id="LC139" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">let</span> no_escape <span CODE
LOWbench/snippets/_fixture.txt1355 <td id="LC139" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">let</span> no_escape <span CODE
LOWbench/snippets/_fixture.txt1363 <td id="LC141" class="blob-code blob-code-inner js-file-line"><span class="pl-s">Lorem ipsum dolor sit amet, conCODE
LOWbench/snippets/_fixture.txt1363 <td id="LC141" class="blob-code blob-code-inner js-file-line"><span class="pl-s">Lorem ipsum dolor sit amet, conCODE
LOWtest/js/workerd/html-rewriter.test.js1724 .transform(new Response("<p>Lorem ipsum!</p>"))CODE
LOWtest/js/workerd/html-rewriter.test.js1739 .transform(new Response("<p>Lorem ipsum!<br></p><div />"))CODE
LOWtest/js/workerd/html-rewriter.test.js1757 .transform(new Response("<p>Lorem ipsum!<br></p><div /><svg><circle /></svg>"))CODE
LOWtest/js/valkey/integration/complex-operations.test.ts191 await ctx.redis.set(`${baseKey}:name`, "John Doe");CODE
LOWtest/js/valkey/integration/complex-operations.test.ts219 expect(nameValue).toBe("John Doe");CODE
LOWtest/js/bun/test/expect.test.js3984 expect(`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nCODE
LOWtest/js/bun/test/expect.test.js3984 expect(`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nCODE
LOWtest/js/bun/test/expect.test.js3986 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nunc hCODE
LOWtest/js/bun/test/expect.test.js3986 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nunc hCODE
LOWtest/js/bun/test/jest-extended.test.js654 expect(`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nCODE
LOWtest/js/bun/test/jest-extended.test.js654 expect(`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nCODE
LOWtest/js/bun/test/jest-extended.test.js656 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nunc hCODE
LOWtest/js/bun/test/jest-extended.test.js656 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nunc hCODE
LOWtest/js/bun/test/fake-timers/sinonjs/issue-437.test.ts17 return "Lorem ipsum";CODE
LOWtest/js/bun/test/fake-timers/sinonjs/issue-437.test.ts24 assert.equals(dateTime.foo(), "Lorem ipsum");CODE
LOWtest/js/bun/http/bun-serve-routes.test.ts60 id: "user@example.com",CODE
LOWtest/js/bun/http/decodeURIComponentSIMD.test.ts21 "user@example.com",CODE
LOWtest/js/bun/http/serve-http3.test.ts1418 "user@example.com",CODE
LOWtest/js/bun/http/serve-http3.test.ts1434 "user@example.com": "200 /index",CODE
LOWtest/js/bun/http/request-smuggling.test.ts1708 ["user@example.com"],CODE
LOWtest/js/bun/md/spec-tables.txt142Lorem ipsum dolor sit amet.CODE
LOWtest/js/bun/md/spec-tables.txt142Lorem ipsum dolor sit amet.CODE
LOWtest/js/bun/md/spec-tables.txt149<p>Lorem ipsum dolor sit amet.</p>CODE
LOWtest/js/bun/md/spec-tables.txt149<p>Lorem ipsum dolor sit amet.</p>CODE
LOWtest/js/bun/md/spec-tables.txt170Lorem ipsum dolor sit amet.CODE
LOWtest/js/bun/md/spec-tables.txt170Lorem ipsum dolor sit amet.CODE
LOWtest/js/bun/md/spec-tables.txt180<tr><td>Lorem ipsum dolor sit amet.</td><td></td></tr>CODE
LOWtest/js/bun/md/spec-tables.txt180<tr><td>Lorem ipsum dolor sit amet.</td><td></td></tr>CODE
LOWtest/js/bun/md/spec.txt9453 "Lorem ipsum dolor\nsit amet."CODE
LOWtest/js/bun/md/spec.txt9512> Lorem ipsum dolorCODE
LOWtest/js/bun/md/spec.txt9527> Lorem ipsum dolorCODE
LOWtest/js/bun/md/spec.txt9539 "Lorem ipsum dolor"CODE
LOWtest/js/bun/md/spec.txt9555 "Lorem ipsum dolor\nsit amet."CODE
LOWtest/js/bun/md/spec.txt9573 "Lorem ipsum dolor\nsit amet."CODE
LOWtest/js/bun/md/spec.txt9595 "Lorem ipsum dolor\nsit amet."CODE
LOWtest/js/bun/md/spec.txt9618 str "Lorem ipsum dolor"CODE
LOWtest/js/third_party/next-auth/fixture/src/auth.ts44 if (credentials?.email === "user@example.com" && credentials?.password === "password") {CODE
LOWtest/js/third_party/next-auth/fixture/src/auth.ts47 email: "user@example.com",CODE
LOW…ird_party/body-parser/express-body-parser-test.test.ts82 expect(req.body).toEqual({ "name": "John Doe", "email": "john.doe@example.com" });CODE
LOW…ird_party/body-parser/express-body-parser-test.test.ts89 const payload = Buffer.from(JSON.stringify({ "name": "John Doe", "email": "john.doe@example.com" }));CODE
LOWtest/js/third_party/astro/astro-post.test.js74 formData.append("name", "John Doe");CODE
LOWtest/js/third_party/astro/astro-post.test.js87 name: "John Doe",CODE
LOWtest/js/node/test/parallel/test-zlib-zstd-dictionary.js8 `Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWtest/js/node/test/parallel/test-zlib-zstd-dictionary.js8 `Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWtest/js/node/test/parallel/test-zlib-zstd-dictionary.js14 `Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWtest/js/node/test/parallel/test-zlib-zstd-dictionary.js14 `Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
91 more matches not shown…
Verbosity Indicators85 hits · 148 pts
SeverityFileLineSnippetContext
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js417 // Step 4: convert V with ECMA-262 ToNumber.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js420 // Step 5: normalize -0 to +0.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js425 // Step 6: [EnforceRange] rejects non-finite and out-of-range values.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js447 // Step 7: [Clamp] clamps, rounds, and returns non-NaN values.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js455 // Step 8: NaN, +0, -0, and infinities become +0.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js460 // Step 9: truncate to IntegerPart(x).COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js483 // Step 11: wrap into the signed range when the high bit is set.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js488 // Step 12: return the unsigned value.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js505 // Step 10: reduce modulo 2^bitLength.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js509 // Step 11: wrap into the signed range when the high bit is set.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js514 // Step 12: return the unsigned value.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js636 // Step 2: throw unless S is one of the enumeration values.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js643 // Step 3: return the matching enumeration value.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js713 // Step 1: reject non-object, non-null, non-undefined values.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js721 // Step 2: create the IDL dictionary value.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js782 // Step 2: GetMethod(V, %Symbol.iterator%).COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js784 // Step 3: throw if the iterator method is undefined, null, or not callable.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js559 // Step 2: return a reference to the same object.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js762 // Step 5: return the IDL dictionary.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js839 // Step 2: otherwise throw.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js881 // Step 3: reject non-fixed SharedArrayBuffer backing stores unlessCOMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js950 // Step 5: return a reference to the same object.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js1016 // Step 4: return a reference to the same ArrayBuffer.COMMENT
LOWtest/js/sql/sql.test.ts674 // Step 1: Insert a row (succeeds)COMMENT
LOWtest/js/sql/sql.test.ts680 // Step 2: Try to insert conflicting row (throws expected error)COMMENT
LOWtest/js/sql/sql.test.ts689 // Step 3: Try another query - THIS WILL HANGCOMMENT
LOWtest/regression/issue/tui-app-tty-pattern.test.ts25 // Step 1: Check if stdin is pipedCOMMENT
LOWtest/regression/issue/tui-app-tty-pattern.test.ts34 // Step 2: After stdin EOF, try to reopen /dev/ttyCOMMENT
LOWtest/bundler/bundler_compile.test.ts1293 // Step 2: Run bun build with compile, minify, sourcemap, and bytecodeCOMMENT
LOWscripts/packer/windows-x64.pkr.hcl98 // Step 1: Run bootstrap — installs all build dependenciesCOMMENT
LOWscripts/packer/windows-x64.pkr.hcl105 // Step 2: Upload agent.mjsCOMMENT
LOWscripts/packer/windows-x64.pkr.hcl111 // Step 3: Install agent service via nssmCOMMENT
LOWscripts/packer/windows-x64.pkr.hcl119 // Step 4: Reboot to clear pending updates (VS Build Tools, Windows Updates)COMMENT
LOWscripts/packer/windows-x64.pkr.hcl124 // Step 5: Sysprep — MUST be last provisionerCOMMENT
LOWscripts/packer/windows-arm64.pkr.hcl93 // Step 1: Run bootstrap — installs all build dependenciesCOMMENT
LOWscripts/packer/windows-arm64.pkr.hcl100 // Step 2: Upload agent.mjsCOMMENT
LOWscripts/packer/windows-arm64.pkr.hcl106 // Step 3: Install agent service via nssmCOMMENT
LOWscripts/packer/windows-arm64.pkr.hcl114 // Step 4: Reboot to clear pending updates (VS Build Tools, Windows Updates)COMMENT
LOWscripts/packer/windows-arm64.pkr.hcl119 // Step 5: Sysprep — MUST be last provisionerCOMMENT
LOWpackages/bun-uws/src/HttpContext.h529 /* First of all we need to check if this socket was deleted due to upgrade */COMMENT
LOWpackages/bun-uws/src/HttpContext.h696 /* We need to check if we should close this socket here now */COMMENT
LOWpackages/bun-uws/src/HttpResponse.h215 /* We need to check if we should close this socket here now */COMMENT
LOWpackages/bun-uws/src/HttpResponse.h291 /* We need to check if we should close this socket here now */COMMENT
LOWsrc/install/npm.rs1610 // stability check - if the previous package is blocked from age, we need to check if the current packagCOMMENT
LOWsrc/install/npm.rs1777 // stability check - if the previous package is blocked from age, we need to check if the current package waCOMMENT
LOWsrc/js/internal/streams/readable.ts1076 // We need to check if there is someone still listening toCOMMENT
LOWsrc/js/internal/streams/readable.ts1095 // We need to check if there is someone still listening toCOMMENT
LOWsrc/js/internal/repl/completion.js725 // If a getter/proxy hasn't been found by the recursion call we need to check if maybe a getter/proxyCOMMENT
LOWsrc/js/internal/sql/shared.ts1673 // Step 1: Determine the options object and initial URLCOMMENT
LOWsrc/js/internal/sql/shared.ts1726 // Step 3: Parse protocol and ensure URL format for non-SQLite databasesCOMMENT
LOWsrc/js/internal/sql/shared.ts1757 // Step 4: Set adapter from environment if not already set, but ONLY if notCOMMENT
LOWsrc/js/internal/sql/shared.ts1763 // Step 5: Return early if adapter is explicitly specifiedCOMMENT
LOWsrc/js/internal/sql/shared.ts1776 // Step 6: Infer adapter from protocolCOMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs101 // Step 1: Merge affected scopes to their canonical root.COMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs148 // Step 2: Repoint identifiers whose scopes were mergedCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs266 // Step 1: Collect rewritesCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs269 // Step 2: Apply rewrites by splitting blocksCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs333 // Step 3: Repoint phis when they refer to a rewritten blockCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs353 // Step 4: Fixup HIR to restore RPO, correct predecessors, renumber instructionsCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs358 // Step 5: Fix scope and identifier ranges to account for renumbered instructionsCOMMENT
25 more matches not shown…
Structural Annotation Overuse74 hits · 130 pts
SeverityFileLineSnippetContext
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js417 // Step 4: convert V with ECMA-262 ToNumber.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js420 // Step 5: normalize -0 to +0.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js455 // Step 8: NaN, +0, -0, and infinities become +0.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js460 // Step 9: truncate to IntegerPart(x).COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js483 // Step 11: wrap into the signed range when the high bit is set.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js488 // Step 12: return the unsigned value.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js505 // Step 10: reduce modulo 2^bitLength.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js509 // Step 11: wrap into the signed range when the high bit is set.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js514 // Step 12: return the unsigned value.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js636 // Step 2: throw unless S is one of the enumeration values.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js643 // Step 3: return the matching enumeration value.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js713 // Step 1: reject non-object, non-null, non-undefined values.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js721 // Step 2: create the IDL dictionary value.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js782 // Step 2: GetMethod(V, %Symbol.iterator%).COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js784 // Step 3: throw if the iterator method is undefined, null, or not callable.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js559 // Step 2: return a reference to the same object.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js762 // Step 5: return the IDL dictionary.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js839 // Step 2: otherwise throw.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js881 // Step 3: reject non-fixed SharedArrayBuffer backing stores unlessCOMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js950 // Step 5: return a reference to the same object.COMMENT
LOW…t/js/node/test/common/nodeinternals/internal/webidl.js1016 // Step 4: return a reference to the same ArrayBuffer.COMMENT
LOWtest/js/sql/sql.test.ts674 // Step 1: Insert a row (succeeds)COMMENT
LOWtest/js/sql/sql.test.ts680 // Step 2: Try to insert conflicting row (throws expected error)COMMENT
LOWtest/js/sql/sql.test.ts689 // Step 3: Try another query - THIS WILL HANGCOMMENT
LOWtest/regression/issue/tui-app-tty-pattern.test.ts25 // Step 1: Check if stdin is pipedCOMMENT
LOWtest/regression/issue/tui-app-tty-pattern.test.ts34 // Step 2: After stdin EOF, try to reopen /dev/ttyCOMMENT
LOWtest/bundler/bundler_compile.test.ts1293 // Step 2: Run bun build with compile, minify, sourcemap, and bytecodeCOMMENT
LOWscripts/packer/windows-x64.pkr.hcl98 // Step 1: Run bootstrap — installs all build dependenciesCOMMENT
LOWscripts/packer/windows-x64.pkr.hcl105 // Step 2: Upload agent.mjsCOMMENT
LOWscripts/packer/windows-x64.pkr.hcl111 // Step 3: Install agent service via nssmCOMMENT
LOWscripts/packer/windows-x64.pkr.hcl119 // Step 4: Reboot to clear pending updates (VS Build Tools, Windows Updates)COMMENT
LOWscripts/packer/windows-x64.pkr.hcl124 // Step 5: Sysprep — MUST be last provisionerCOMMENT
LOWscripts/packer/windows-arm64.pkr.hcl93 // Step 1: Run bootstrap — installs all build dependenciesCOMMENT
LOWscripts/packer/windows-arm64.pkr.hcl100 // Step 2: Upload agent.mjsCOMMENT
LOWscripts/packer/windows-arm64.pkr.hcl106 // Step 3: Install agent service via nssmCOMMENT
LOWscripts/packer/windows-arm64.pkr.hcl114 // Step 4: Reboot to clear pending updates (VS Build Tools, Windows Updates)COMMENT
LOWscripts/packer/windows-arm64.pkr.hcl119 // Step 5: Sysprep — MUST be last provisionerCOMMENT
LOWpackages/bun-lambda/README.md21### Step 1: Create a Bun Lambda handler functionCOMMENT
LOWpackages/bun-lambda/README.md58### Step 2: Build the Bun handlerCOMMENT
LOWpackages/bun-lambda/README.md65### Step 3: Create the Lambda function on AWSCOMMENT
LOWsrc/js/internal/sql/shared.ts1673 // Step 1: Determine the options object and initial URLCOMMENT
LOWsrc/js/internal/sql/shared.ts1726 // Step 3: Parse protocol and ensure URL format for non-SQLite databasesCOMMENT
LOWsrc/js/internal/sql/shared.ts1757 // Step 4: Set adapter from environment if not already set, but ONLY if notCOMMENT
LOWsrc/js/internal/sql/shared.ts1763 // Step 5: Return early if adapter is explicitly specifiedCOMMENT
LOWsrc/js/internal/sql/shared.ts1776 // Step 6: Infer adapter from protocolCOMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs101 // Step 1: Merge affected scopes to their canonical root.COMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs148 // Step 2: Repoint identifiers whose scopes were mergedCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs266 // Step 1: Collect rewritesCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs269 // Step 2: Apply rewrites by splitting blocksCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs333 // Step 3: Repoint phis when they refer to a rewritten blockCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs353 // Step 4: Fixup HIR to restore RPO, correct predecessors, renumber instructionsCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs358 // Step 5: Fix scope and identifier ranges to account for renumbered instructionsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs92 // Step 2: Calculate hoistable dependencies using the tree.COMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs98 // Step 3: Reduce dependencies to a minimal set.COMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1018 // Step 1: Collect identifier to function expression mappingsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1046 // Step 2: Forward pass to analyze assumed function callsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1119 // Step 3: Propagate assumed-invoked status through mayInvoke chainsCOMMENT
LOWsrc/runtime/server/StaticRoute.rs498 // Step 1: If-Match (strong comparison); step 2: If-Unmodified-SinceCOMMENT
LOWsrc/runtime/server/StaticRoute.rs515 // Step 3: If-None-Match (weak comparison). Presence suppresses step 4.COMMENT
LOWsrc/runtime/server/StaticRoute.rs521 // Step 4: If-Modified-Since (only when If-None-Match is absent).COMMENT
14 more matches not shown…
AI Slop Vocabulary34 hits · 94 pts
SeverityFileLineSnippetContext
MEDIUMbench/react-hello-world/react-hello-world.workerd.js16var iC=Object.create;var{getPrototypeOf:tC,defineProperty:XE,getOwnPropertyNames:JC}=Object;var VC=Object.prototype.hasOCODE
MEDIUMbench/react-hello-world/react-hello-world.workerd.js16var iC=Object.create;var{getPrototypeOf:tC,defineProperty:XE,getOwnPropertyNames:JC}=Object;var VC=Object.prototype.hasOCODE
MEDIUMbench/react-hello-world/react-hello-world.workerd.js42$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(aCODE
MEDIUMbench/react-hello-world/react-hello-world.workerd.js42$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(aCODE
MEDIUMbench/site/bench/bundler.sh2# rolldown/benchmarks harness on apps/10000 (10k React components / ~19k modules): vite, rsbuild, rspack, rollup, rolldoCOMMENT
MEDIUMbench/site/bench/bundler.sh3# The harness runs `bun build` via `bun` on PATH, so a shim dir pointing at $BUN goes first on PATH.COMMENT
MEDIUMtest/js/web/structured-clone-blob-file.test.ts379 // payload; keeps the test robust against wire-format header changes.COMMENT
MEDIUMtest/js/web/structured-clone-blob-file.test.ts728 // test stays robust against outer serializer framing changes.COMMENT
MEDIUM…js/bun/http/serve-response-stream-sink-leak-fixture.ts74// is robust to both ends; a min would pass on one dip even while the sink leaks.COMMENT
MEDIUMtest/js/bun/gc/gc-controller-cadence.test.ts136 // Observed ~128 before the fix. A generous ceiling keeps this robustCOMMENT
MEDIUM…/node/test/parallel/test-timers-unrefed-in-callback.js14// robust is that:COMMENT
MEDIUM…st/js/node/test/parallel/test-http2-session-timeout.js50 // connection as the timeout should be robust. Double it anyway for goodCOMMENT
MEDIUMtest/cli/install/registry/verdaccio.yaml3# please read carefully the documentation and best practices toCOMMENT
MEDIUMtest/cli/install/registry/verdaccio.yaml9# Read about the best practicesCOMMENT
MEDIUMtest/regression/issue/29585.test.ts16// pattern) keeps the check robust against any future naming scheme.COMMENT
MEDIUMscripts/bootstrap.sh1988 # test/harness.ts getPuppeteerInstallEnv).COMMENT
MEDIUMpackages/h3blast/src/h3blast.c790 // Rewind and erase the previous frame in one shot — robust to wrapped lines.COMMENT
MEDIUM.github/workflows/source-lints.yml84 # paths, or `harness` (resolved via test/tsconfig.json `paths`), so aCOMMENT
MEDIUMsrc/js/internal/repl/completion.js602 // upstream-todo(dario-piotrowicz): make this more robust, right now we only split by spacesCOMMENT
MEDIUMsrc/js/node/http2.ts2621 // seamless compatibility with http1. When the session is being torn down with an errorCOMMENT
MEDIUMsrc/bun_core/env_var.rs13//! but environment variables are not meant to be a robust configuration mechanism. If you do thinkCOMMENT
MEDIUMsrc/bun_core/env_var.rs494 /// Note that deserialization errors cannot panic. If you need more robust means ofCOMMENT
MEDIUMsrc/react_compiler/Cargo.toml10# Fixture-harness support: test-only `// @pragma` parsing, the pragma-gatedCOMMENT
MEDIUM…c/react_compiler/optimization/dead_code_elimination.rs404 // Definitely safe to prune since they are read-onlyCOMMENT
MEDIUMsrc/runtime/shell/interpreter.rs7//! performance reasons and also to leverage Bun's existing IO/FS codeCOMMENT
MEDIUMsrc/runtime/allocators/LinuxMemFdAllocator.rs2//! leverage copy-on-write memory to avoid actually copying the data. To do thatCOMMENT
MEDIUMsrc/runtime/bake/FrameworkRouter.rs1249 /// Fast enough for development to be seamless, but avoids building aCOMMENT
MEDIUMsrc/runtime/bake/dev_server/source_map_store.rs359 /// utilize the bottom 32 bits of their keys. This is because the bottomCOMMENT
MEDIUMsrc/runtime/bake/bun-framework-react/server.tsx194 // The RSC payload is provided so client-side can use this file for seamlessCOMMENT
MEDIUMsrc/runtime/socket/WindowsNamedPipe.rs6//! and Windows Named Pipe operations, enabling seamless cross-platformCOMMENT
MEDIUMsrc/ast/expr.rs2453 break 'brk left; // Definitely not null or undefinedCODE
MEDIUMsrc/ast/expr.rs2457 break 'brk PrimitiveType::Mixed; // Definitely some kind of primitiveCODE
MEDIUMsrc/crash_handler/lib.rs1978 // https://github.com/go-delve/delve/pull/1384COMMENT
MEDIUMsrc/jsc/bindings/js_classes.ts3 // tests if a value is an instanceof a native class in a robust cross-realm mannerCOMMENT
Modern AI Meta-Vocabulary9 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMtools/hawk/README.md22git checkout -- src/runtime/Cargo.toml && rm -f src/runtime/hawk_root.rs # revert the scaffoldingCODE
MEDIUMsrc/runtime/api.rs154// ─── shared scaffold for Bun.{TOML,JSONC,JSON5,YAML}.parse ───────────────────COMMENT
MEDIUMsrc/runtime/api.rs159// (c) parse-error class + Expr→JS tail — so this helper owns ONLY the scaffoldCOMMENT
MEDIUMsrc/runtime/test_runner/expect.rs1717 /// the matcher-scaffold family alongside [`Self::run_unary_predicate`] andCOMMENT
MEDIUMsrc/runtime/test_runner/expect.rs1984// ─── unary-predicate matcher scaffold ────────────────────────────────────COMMENT
MEDIUMsrc/runtime/test_runner/expect.rs1989 /// Shared scaffold for zero-arg `expect(v).toBeX()` matchers whose pass/failCOMMENT
MEDIUMsrc/runtime/test_runner/expect.rs2017 /// Shared scaffold for one-arg `expect(v).toStartWith/toEndWith/toInclude(expected)`COMMENT
MEDIUMsrc/runtime/timer/mod.rs34// Shared scaffold for `TimeoutObject` / `ImmediateObject`: both are aCOMMENT
MEDIUMsrc/runtime/api/XMLObject.rs68 // The scaffold hands the string's code units over as bytes.COMMENT
Slop Phrases10 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMtest/js/web/fetch/fixture.html1115 bun implements Node.js&#x27; module resolution algorithm, so you can use npm packages in Bun. ESM andCODE
MEDIUMtest/js/bun/toml/toml-test-suite.test.ts1579 '[fruit]\napple.color = "red"\napple.taste.sweet = true\n\n# [fruit.apple] # INVALID\n# [fruit.apple.taste] # INCODE
MEDIUMtest/js/bun/toml/toml-test-suite.test.ts1696 '# This makes the key "fruit" into a table.\nfruit.apple.smooth = true\n\n# So then you can add to the table "fruiCODE
MEDIUMtest/js/bun/toml/toml-test-suite.test.ts6546 '[fruit]\napple.color = "red"\napple.taste.sweet = true\n\n[fruit.apple] # INVALID\n# [fruit.apple.taste] # INVACODE
MEDIUMtest/js/bun/toml/toml-test-suite.test.ts6559 '[fruit]\napple.color = "red"\napple.taste.sweet = true\n\n# [fruit.apple] # INVALID\n[fruit.apple.taste] # INVACODE
LOWtest/js/bun/css/files/tachyons.css692 2. Don't forget to clearfix your floats with .cfCODE
LOWpackages/bun-usockets/src/internal/internal.h108#define POLL_TYPE_BITSIZE 5 // make sure to update epoll_kqueue.h if you change thisCOMMENT
LOWpackages/bun-usockets/src/internal/loop_data.h35// IMPORTANT: When changing this, don't forget to update the Rust mirror in src/uws_sys/InternalLoopData.rs as well!COMMENT
LOWsrc/sql_jsc/postgres/PostgresSQLConnection.rs2330 // explicit use switch without else so if new modes are added, we don't forget to check for duplicate fiCOMMENT
LOWsrc/jsc/bindings/sqlite/JSSQLStatement.cpp2421 // Don't forget to reset before releasing the exception.COMMENT
Redundant / Tautological Comments14 hits · 16 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/shell/bunshell.test.ts1966 # Check if we got a non-empty, non-null version stringCOMMENT
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py83 # Check if this is a stringified collection from yaml packageCOMMENT
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py168 # Check if this is a simple objectCOMMENT
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py837 # Check if it's in an array contextCOMMENT
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py841 # Check if it's in mapping values (not keys)COMMENT
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py465 # Check if this is an error test (has 'error' file)STRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py699 # Check if YAML has anchors/aliasesSTRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py914 # Check if yaml package is installed (for getting expected values)STRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py939 # Check if this is a test directory (has in.yaml)STRING
LOWscripts/lldb-inline.sh11# Check if we need to rebuildCOMMENT
LOWpackages/bun-types/test.d.ts72 * ## Set Date to a specific timeCOMMENT
LOWmisctools/lldb/bun_pretty_printer.py75 # Check if it's a pointer type and dereference if neededCOMMENT
LOWmisctools/lldb/bun_pretty_printer.py85 # Check if it's 8-bit (latin1) or 16-bit (utf16) stringCOMMENT
LOW.buildkite/Dockerfile-bootstrap.sh4# Check if running as rootCOMMENT
Cross-Language Confusion2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py87 # Extract the content and convert to JS array.toString() formatCOMMENT
HIGHtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py104 # JavaScript Object.toString() returns "[object Object]"COMMENT
TODO Padding9 hits · 11 pts
SeverityFileLineSnippetContext
LOWtest/js/node/url/url-null-char.test.js6 // TODO: Fix error propertiesCOMMENT
LOWtest/bake/dev/esm.test.ts260 const esmImport = await import('./esm'); // TODO: implement sync ESMCODE
LOWsrc/js/thirdparty/ws.js1302 // TODO: implement this more properCOMMENT
LOWsrc/runtime/cli/run_command.rs390 let ipc_fd: Option<bun_sys::Fd> = None; // TODO: implement on WindowsCODE
LOWsrc/runtime/bake/DevServer.rs1947 // TODO: implement a proper solution hereCOMMENT
LOWsrc/runtime/bake/dev_server/mod.rs1393 // TODO: implement that. for now it ignores (BUN-10968)COMMENT
LOWsrc/runtime/webcore/Blob.rs4878 // TODO: implement a writev() fast pathCOMMENT
LOWsrc/ast/fold_string_addition.rs155 // TODO: implement foldAdditionPreProcess to fold some more things :)COMMENT
LOWsrc/js_parser/parse/mod.rs927 // TODO: implement saveExprCommentsHere and use using_loc hereCOMMENT
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py12CODE
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py59CODE
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py124CODE
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py197CODE
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py437CODE
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py899CODE
LOWmisctools/lldb/lldb_webkit.py1179CODE
LOWmisctools/lldb/bun_pretty_printer.py70CODE
LOWmisctools/lldb/bun_pretty_printer.py167CODE
LOWmisctools/lldb/bun_pretty_printer.py247CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtest/js/node/test/sequential/test-init.js52 // test-init-index is in fixtures dir as requested by ry, so go thereCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/zlib/lib.rs106 /// In this implementation, inflate() always flushes as much output as possible to the output buffer, and always useCOMMENT
Overly Generic Function Names7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtest/js/third_party/remix/remix-build/server/index.js8function handleRequest(request, responseStatusCode, responseHeaders, remixContext, loadContext) {CODE
LOW…st/js/node/test/parallel/test-http2-ip-address-host.js34 function handleRequest(url) {CODE
LOW…rallel/test-async-hooks-stack-overflow-nested-async.js31 function processData(data, depth = 0) {CODE
LOWtest/bake/dev/hot.test.ts70 export function doSomething() {CODE
LOWtest/bake/dev/server-sourcemap.test.ts125 "lib/utils.ts": `export function doSomething() {CODE
LOWtest/regression/issue/25648.test.ts15export function doSomething(fn: () => number) {CODE
LOWtest/bundler/bundler_edgecase.test.ts2648 export function getData() {CODE
Excessive Try-Catch Wrapping7 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py929 print("Error: yaml package is not installed. Please run: npm install yaml")STRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py431 except Exception as e:STRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py1025 except Exception as e:STRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py1072 except Exception as e:STRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py1117 except Exception as e:STRING
LOWmisctools/lldb/bun_pretty_printer.py302 except Exception as e:CODE
MEDIUMmisctools/lldb/bun_pretty_printer.py43def bun_BabyList_SummaryProvider(value, _=None):CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/sync-react-compiler.sh14# Usage:COMMENT
LOWscripts/update-sqlite-amalgamation.sh8# Usage:COMMENT
LOWmisctools/unicode-generator.ts119// Example usage:COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py384 # Create a temporary JavaScript file to parse the YAMLCOMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py6CODE
LOWtest/js/node/readline/run-with-pty.py5CODE
LOWmisctools/lldb/bun_pretty_printer.py3CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWmisctools/lldb/lldb_webkit.py648CODE