AI Slop Code Risk Monitor

oven-sh/bun

SlopCodeMonitor badge for oven-sh/bun Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

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

6.9 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for oven-sh/bun, a Rust project with 96,480 GitHub stars. SynthScan examined 5,965,907 lines of code across 30290 source files, recording 19765 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 6.9 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

6.9
Adjusted Signal
6.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
96.5K
Stars
Rust
Language
6.0M
Lines of Code
30.3K
Files
19.8K
Pattern Hits
2026-10-31
Scan Date
0.09
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 9.5/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 12149 finding(s).

Hallucinated Dependency & Supply Chain Risk 12.5/100 · LOW

Are imports declared and package/API names verified? 3041 finding(s).

Agent Over-Engineering Ratio 11.7/100 · LOW

Are wrappers, guards, and repeated structures necessary? 6029 finding(s).

PR Review Velocity Impact 30.6/100 · MEDIUM

Which changes need focused human review? 19765 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 51HIGH 2810MEDIUM 4611LOW 12293

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 19765 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Decorative Section Separators4542 hits · 13181 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml148# ─── Release optimization ───────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http3-client.test.ts549 // ───── streaming uploads (pull-driven request bodies) ─────COMMENT
MEDIUMtest/js/web/fetch/fetch-http3-client.test.ts624 // ───── bidirectional ─────COMMENT
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts38// ─── raw server with full preface control ────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts112// ─────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts475 // ───────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts477 // ───────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts588// ─── session-key regressions ─────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/workers/worker-late-completion.test.ts47 // ── thread pool: bun_jsc::Job ────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/workers/worker-late-completion.test.ts166 // ── thread pool: storage inside a JS-owned object ────────────────────────COMMENT
MEDIUM⚡test/js/web/workers/worker-late-completion.test.ts180 // ── HTTP thread ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡test/js/web/workers/worker-late-completion.test.ts190 // ── bundle thread ────────────────────────────────────────────────────────COMMENT
MEDIUM⚡test/js/web/workers/worker-late-completion.test.ts197 // ── weak posters (no ticket): delivered while draining, or refused ───────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts75 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts77 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts127 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts129 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts153 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts155 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts202 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts204 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts278 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts280 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts328 // ──────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts330 // ──────────────────────────────────────────────────────────────────────────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.ts422// ─── 4. malformed PNG chunk structure ────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts490// ─── 5. malformed JPEG / EXIF ────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts526// ─── 5b. JPEG that libjpeg decodes with a warning ────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts799// ─── 5c. lossless JPEG (SOF3) ────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts999// ─── 6. lossless roundtrip parity ────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts1063// ─── 7. memory hygiene under repetition ──────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts1118// ─── 8. hostile JS option objects ────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts1238// ─── 9. concurrency / re-use ─────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts1359// ─── 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.ts105// ─── resize filters ─────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-kernels.test.ts228// ─── 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.ts157// ─── Tests ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image.test.ts1462 // ── LZW pack ──────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image.test.ts1510 // ── 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
4482 more matches not shown…
Over-Commented Block10381 hits · 9862 pts
SeverityFileLineSnippetContext
LOWCargo.toml141# heavy dev-dependencies (criterion, html5ever) never enter `Cargo.lock`.COMMENT
LOWCargo.toml181# level as release; binary is large but profilable.COMMENT
LOWrustfmt.toml1# rustfmt config for the Cargo workspace. Formatting is the toolchain defaultCOMMENT
LOWbunfig.toml1[test]COMMENT
LOWrust-toolchain.toml1[toolchain]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/flaky-tests.txt1# Test files known to be flaky in CI. The runner (scripts/runner.node.ts)COMMENT
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(after.protectedException).toBeLessThanOrEqual(before.protectedException);COMMENT
LOWtest/js/workerd/html-rewriter-leak.test.ts341// LOLHTMLContext.deinit() must destroy those allocations. Previously it onlyCOMMENT
LOWtest/js/web/structured-clone-blob-file.test.ts361 expect(cloned.file).toBeInstanceOf(File);COMMENT
LOW…/js/web/abort/abort-signal-event-listener-leak.test.ts1import { estimateShallowMemoryUsageOf } from "bun:jsc";COMMENT
LOWtest/js/web/websocket/websocket-syscall-fault.test.ts341 test("writev → zero (once) on a ≥16 KB server frame: send() reports backpressure, client receives full payload", asyncCOMMENT
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
LOW…socket/websocket-permessage-deflate-edge-cases.test.ts581 },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.ts441 // the first buffer (the automatic pong for a ping, or send() from a messageCOMMENT
LOWtest/js/web/websocket/websocket.tls.ipv6.test.ts1// Regression test for the WebSocket side ofCOMMENT
LOW…ebsocket/websocket-proxy-tunnel-client-leak-fixture.ts1// Repro for NewWebSocketClient(false) leak on wss:// through an HTTP CONNECTCOMMENT
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/compression.test.ts661 return source.pulls;COMMENT
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 // Latin-1: the up-front reservation (one byte per input byte) is above the cap.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-connection-header.test.ts221 // On HTTP/1.1, `keepalive: false`, or a FetchSession with `keepAlive: false`,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.ts341 expect([a.name, b.name]).toEqual(["a.txt", "b.txt"]);COMMENT
LOWtest/js/web/fetch/fetch-http3-client.test.ts401 const res = await fetch(`${base}${path}`, { ...h3, method: "POST", body: "x", headers });COMMENT
LOWtest/js/web/fetch/fetch-http3-client.test.ts1061COMMENT
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.ts1301 // by GC in this build independently of bodies — `Buffer.alloc(2e6).toString()`COMMENT
LOWtest/js/web/fetch/body.test.ts1401COMMENT
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
LOW…/js/web/fetch/fetch.tls.cert-mismatch-churn.fixture.ts21COMMENT
LOWtest/js/web/fetch/blob-oom.test.ts141COMMENT
LOWtest/js/web/fetch/bytestream-partial-read-fixture.ts1// A consumer starts a native body stream and takes one pull view out of it, then hands theCOMMENT
10321 more matches not shown…
Cross-Language Confusion1617 hits · 9042 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
HIGHtest/aot/shell/test262.py50 if (negative !== "" && e !== null && typeof e === "object" && e.constructor && e.constructor.name === negative) { prCODE
HIGHtest/aot/shell/test262.py107 text = text.replace("if (options && options.restore) {\n __defineProperty(obj, name, originalDesc);", "{\STRING
HIGH⚡test/aot/fuzz/made/runtime-patching-tools.py14case("a-prototype-of-a-host-module", 'import { EventEmitter } from "node:events";\nexport const all = (): string => { coCODE
HIGH⚡test/aot/fuzz/made/runtime-patching-tools.py15 'const { EventEmitter } = require("node:events"); const old = EventEmitter.prototype.emit; const log: string[] = []CODE
HIGH⚡test/aot/fuzz/made/runtime-patching-tools.py17 'const seen: string[] = []; const old = console.log; real(attempt(() => { console.log = (...a: unknown[]) => { seenCODE
HIGH⚡test/aot/fuzz/made/runtime-patching-tools.py19 'const seen: string[] = []; for (const k of ["error", "warn", "info", "debug"]) console[k] = (...a: unknown[]) => {CODE
HIGH⚡test/aot/fuzz/made/runtime-patching-tools.py21 'const seen: string[] = []; real(attempt(() => { globalThis.console = { log: (...a: unknown[]) => { seen.push(a.joiCODE
HIGH⚡test/aot/fuzz/made/runtime-patching-tools.py23 'const seen: string[] = []; const old = process.stdout.write; process.stdout.write = (s: string) => { seen.push(s);CODE
HIGH⚡test/aot/fuzz/made/runtime-patching-tools.py27 'const seen: string[] = []; const olds = [globalThis.setTimeout, globalThis.setImmediate, globalThis.queueMicrotaskCODE
HIGH⚡test/aot/fuzz/made/runtime-patching-tools.py41case("process-exit", 'export const all = (): void => { process.exit(3); console.log("behind exit"); };', 'const seen: unCODE
HIGH⚡test/aot/fuzz/made/runtime-patching-tools.py47case("undefined-nan-infinity-and-globalthis", 'export const all = (): string => [undefined, NaN, Infinity, typeof globalCODE
HIGH⚡test/aot/fuzz/made/runtime-patching-tools.py50case("a-symbol-keyed-global", 'const KEY = Symbol.for("my.registry");\nexport const all = (): string => JSON.stringify(gCODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py7H = """const show = v => { try { return typeof v === 'string' ? JSON.stringify(v.length > 40 ? v.slice(0, 20) + '..' + vCODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py7H = """const show = v => { try { return typeof v === 'string' ? JSON.stringify(v.length > 40 ? v.slice(0, 20) + '..' + vCODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py11class K {} function F() {} const bound = F.bind(null), arrow = () => 1, proxyObject = new Proxy({}, {}), proxyFunction =CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py12const values = { undefined: undefined, null: null, true: true, false: false, zero: 0, minusZero: -0, one: 1, minusOne: -CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py15 object: {}, array: [], arrayOne: [1], fn: F, klass: K, bound, arrow, proxyObject, proxyFunction, revoked, date: new DaCODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py53 line('not two strings', () => J('a', 1), () => J(1, 'a'), () => J(1, 2), () => J(0.5, 'x'), () => J('x', -0), () => J(CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py55 line('json', () => json[f]({ id: 1, name: 'n' }), () => json[f]({ id: 1.5, name: '\\u0416' }), () => json[f]({ id: nulCODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py62 line('a miss, then it is there', () => { const o = { x: 1 }; const before = hot(miss[f], o); o.absent = 'own'; return CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py63 line('a miss of odd receivers', () => hot(miss[f], new Proxy({}, { get: (t, k) => 'trap ' + k })), () => hot(miss[f], CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py64 line('defaults', () => hot(destructure[f], {}), () => hot(destructure[f], { a: 1 }), () => hot(destructure[f], { absenCODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py65 line('native accessors', () => hot(size[f], new Map([[1, 1]])), () => hot(size[f], new Set()), () => { const m = new MCODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py73 line('made', () => hot(empty[f]), () => hot(one[f], 1), () => hot(six[f], 'v'), () => Object.keys(hot(many[f], 0)).lenCODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py74 line('each is new', () => empty[f]() !== empty[f](), () => { const a = one[f](1), b = one[f](1); a.a = 2; return b.a; CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py74 line('each is new', () => empty[f]() !== empty[f](), () => { const a = one[f](1), b = one[f](1); a.a = 2; return b.a; CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py75 line('stored to', () => hot(put[f], {}, 1), () => hot(put[f], { x: 0 }, 1), () => hot(putTwo[f], {}, 1), () => Object.CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py75 line('stored to', () => hot(put[f], {}, 1), () => hot(put[f], { x: 0 }, 1), () => hot(putTwo[f], {}, 1), () => Object.CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py76 line('a setter laid later', () => { const p = {}, mk = () => Object.create(p); for (let i = 0; i < 60; i++) put[f](mk(CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py106for (const v of [undefined, null, NaN, Infinity, -Infinity, 0, '', 'undefined']) console.log('compare', show(v), say(() CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py113 line('found, then gone', () => { const o = { a: 1 }; const before = hot(hasA[f], o); delete o.a; return before + ',' +CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py114 line('missing, then there', () => { const o = {}; const before = hot(hasA[f], o); o.a = undefined; return before + ','CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py115 line('receivers', () => hot(hasA[f], new Proxy({}, { has: () => true })), () => hot(hasA[f], new Proxy({ a: 1 }, { hasCODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py116 line('keys', () => hot(hasK[f], 'a', { a: 1 }), () => hot(hasK[f], 'length', []), () => hot(hasK[f], 'length', 'x'), (CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py117 line('arrays', () => hot(emptyArray[f]), () => emptyArray[f]() !== emptyArray[f](), () => { const a = emptyArray[f](),CODE
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py24 "ifTrue": "if (v) return 1; return 0;", "ifNot": "if (!v) return 1; return 0;", "ternary": "return v ? 'y' : 'n';", STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py24 "ifTrue": "if (v) return 1; return 0;", "ifNot": "if (!v) return 1; return 0;", "ternary": "return v ? 'y' : 'n';", STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py25 "typeofObject": "return typeof v == 'object';", "typeofObjectStrict": "return typeof v === 'object';", "typeofFunctiSTRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py26 "isUndefined": "return v === undefined;", "isNotUndefined": "return v !== undefined;", "isNull": "return v === null;STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py43s += """for (const k in binary) { let differ = [], line = ''; for (const x of names) { let row = ''; for (const y of namSTRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py80# undefined, NaN, Infinity are constants where nothing stands in front of the globals . what `in` found is remembered . STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py82 "plain": ([], "return [undefined, NaN, Infinity, -Infinity, typeof undefined, NaN !== NaN, 1 / Infinity];"),STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py83 "parameter": (["undefined", "NaN", "Infinity"], "return [undefined, NaN, Infinity];"),STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py84 "varInside": ([], "var undefined = 1, NaN = 2, Infinity = 3; return [undefined, NaN, Infinity];"),STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py85 "letInside": ([], "let undefined = 'u'; { let NaN = 'n'; const Infinity = 'i'; return [undefined, NaN, Infinity]; }"STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py86 "hoisted": ([], "const before = [undefined, NaN]; var undefined, NaN; undefined = 5; return [before, undefined, NaN]STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py87 "aNamedFunction": ([], "function NaN() { return 'f'; } return [typeof NaN, typeof undefined];"),STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py88 "caught": ([], "try { throw 7; } catch (undefined) { return [undefined, typeof NaN]; }"),STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py89 "destructured": ([], "const { undefined, NaN = 'd' } = { undefined: 'own' }; return [undefined, NaN];"),STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py90 "closure": ([], "var undefined = 'outer'; return (function () { return [undefined, (() => undefined)()]; })();"),STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py91 "innerParameter": ([], "return [1, 2].map(function (undefined, Infinity) { return [undefined, Infinity]; });"),STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py93 "evalDeclares": ([], "eval('var undefined = \\'by eval\\'; var NaN = 1'); return [undefined, NaN];"),STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py94 "storeSloppy": ([], "undefined = 1; NaN = 2; Infinity = 3; return [undefined, NaN, Infinity];"),STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py96 "compare": (["v"], "return [v === undefined, v == undefined, v !== undefined, v === NaN, v === Infinity, v < InfinitSTRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py98 "asKeys": ([], "const o = { undefined: 1, NaN: 2, Infinity: 3 }; return [o[undefined], o[NaN], o[Infinity], o.undefiSTRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py99 "globalThisSays": ([], "return [globalThis.undefined, Object.getOwnPropertyDescriptor(globalThis, 'NaN').writable, 'STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py105s += """for (const k in all) { const args = k === 'parameter' ? ['p1', 'p2', 'p3'] : k === 'compare' ? [undefined] : [];STRING
HIGH⚡test/aot/fuzz/made/operations-in-runtime-code.py110cases["in-remembered-and-arrays-made"] = {"main.js": H + both("hasA", ["o"], "return 'a' in o;") + both("hasK", ["k", "oSTRING
1557 more matches not shown…
Cross-Language Confusion (JS/TS)1175 hits · 6028 pts
SeverityFileLineSnippetContext
HIGH⚡test/js/bun/test/printing/diffexample.fixture.ts228 print("Hello, world!");CODE
HIGH⚡test/js/bun/test/printing/diffexample.fixture.ts229 print("Goodbye, world!");CODE
HIGH⚡test/js/bun/test/printing/diffexample.fixture.ts233 print("Hello, world!");CODE
HIGH⚡test/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.ts2552elif 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.ts175 print(unhandled);CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts194 print({ heldOutcome, unhandled });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts223 print(unhandled);CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts248 print({ held, failedMessage: failed.message, loadingAfterFail, unhandled });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts270 print({ held, failedMessage, loadingAfterFail });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts300 print({ failedMessage: failed.message, loadingAfterFail, unhandled });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts327 print(unhandled);CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts355 print(outcomeStr);CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts372 print({ held, loadingAfterFail });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts387 print({ url: view.url, value: await view.evaluate("6 * 7") });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts400 print(await view.evaluate("__fake_mouse_events()"));CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts418 print(await outcome(view.click("#target", { timeout: 100 })));CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts486 print(await outcome(view.evaluate("__fake_close_replies()")));CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts497 print({ closing, next });CODE
HIGHtest/js/node/http2/http2-option-checks.fixture.js148 print(CODE
HIGHtest/js/node/http2/http2-option-checks.fixture.js164 print("other calls", [CODE
HIGHtest/js/node/http/probes/probe.ts101 print() {CODE
HIGHtest/cli/lint/oxc-names.test.ts1955 print(line, (expected, file, code) => {CODE
HIGHtest/cli/lint/bun-rules.test.ts3281 print({ "a.test.js": only }),CODE
HIGHtest/cli/lint/bun-rules.test.ts3282 print({ ".oxlintrc.json": oxlintrc({ [name]: "error" }), "a.test.js": only }),CODE
HIGH⚡test/cli/format/format.test.ts8723 print({}, "--stdin-filepath", "node_modules/x/a.js"),CODE
HIGH⚡test/cli/format/format.test.ts8724 print({}, "--stdin-filepath", "sub/node_modules/y/a.js"),CODE
HIGH⚡test/cli/format/format.test.ts8725 print({}, "--stdin-filepath", "../node_modules/a.js"),CODE
HIGH⚡test/cli/format/format.test.ts8726 print({}, "--check", "--stdin-filepath", "node_modules/x/a.js"),CODE
HIGH⚡test/cli/format/format.test.ts8727 print({}, "-l", "--stdin-filepath", "node_modules/x/a.js"),CODE
HIGH⚡test/cli/format/format.test.ts8728 print({}, "--stdin-filepath", "my_node_modules/a.js"),CODE
HIGH⚡test/cli/format/format.test.ts8729 print({}, "--stdin-filepath", ".git/a.js"),CODE
HIGH⚡test/cli/format/format.test.ts8730 print({}, "--with-node-modules", "--stdin-filepath", "node_modules/x/a.js"),CODE
HIGH⚡test/cli/format/format.test.ts8731 print({ "bunfig.toml": "[fmt]\nwithNodeModules = true\n" }, "--stdin-filepath", "node_modules/x/a.js"),CODE
HIGH⚡test/cli/format/format.test.ts8732 print({ ".oxfmtrc.json": "{}" }, "--stdin-filepath", "node_modules/x/a.js"),CODE
HIGH⚡test/cli/format/format.test.ts8733 print({}, "--flavor=oxfmt", "--stdin-filepath", "node_modules/x/a.js"),CODE
HIGHtest/bundler/bundler_jsx.test.ts153 print(<div>Hello World</div>)CODE
1115 more matches not shown…
Hyper-Verbose Identifiers1451 hits · 1496 pts
SeverityFileLineSnippetContext
LOWtest/harness.ts276async function findOrDownloadAbiMatchingNode(): Promise<string> {CODE
LOWtest/harness.ts606export function makeTreeSyncFromDirectoryTree(base: string, tree: DirectoryTree) {CODE
LOWtest/harness.ts875export function randomInvalidSurrogatePair() {CODE
LOWtest/harness.ts1573function failTestsOnBlockingWriteCall() {CODE
LOWtest/harness.ts2049export function fileDescriptorLeakChecker() {CODE
LOWtest/harness.ts2553async function compileDtUnknownReaddirShim(): Promise<string> {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
LOW⚡test/js/deno/url/urlsearchparams.test.ts6test(function urlSearchParamsWithMultipleSpaces() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts13test(function urlSearchParamsWithExclamation() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts23test(function urlSearchParamsWithQuotes() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts33test(function urlSearchParamsWithBraket() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts53test(function urlSearchParamsInitString() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts58test(function urlSearchParamsInitStringWithPlusCharacter() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts66test(function urlSearchParamsInitStringWithMalformedParams() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts114test(function urlSearchParamsAppendSuccess() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts119test(function urlSearchParamsDeleteSuccess() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts125test(function urlSearchParamsGetAllSuccess() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts137test(function urlSearchParamsGetSuccess() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts144test(function urlSearchParamsHasSuccess() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts151test(function urlSearchParamsSetReplaceFirstAndRemoveOthers() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts157test(function urlSearchParamsSetAppendNew() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts163test(function urlSearchParamsSortSuccess() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts169test(function urlSearchParamsForEachSuccess() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts190test(function urlSearchParamsMissingName() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts196test(function urlSearchParamsMissingValue() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts202test(function urlSearchParamsMissingEqualSign() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts208test(function urlSearchParamsMissingPair() {CODE
LOW⚡test/js/deno/url/urlsearchparams.test.ts213test(function urlSearchParamsForShortEncodedChar() {CODE
LOW⚡test/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
LOW⚡test/js/deno/url/url.test.ts266test(function deletingAllParamsRemovesQuestionMarkFromURL() {CODE
LOW⚡test/js/deno/url/url.test.ts273test(function removingNonExistentParamRemovesQuestionMarkFromURL() {CODE
LOW⚡test/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
LOW⚡test/js/deno/url/url.test.ts332test(function assigningPortPropertyAffectsReceiverOnly() {CODE
LOW⚡test/js/deno/url/url.test.ts339test(function urlSearchParamsIdentityPreserved() {CODE
LOW⚡test/js/deno/url/url.test.ts346test(function urlTakeURLObjectAsParameter() {CODE
LOWtest/js/deno/fetch/blob.test.ts111test(function blobConstructorNameIsBlob() {CODE
1391 more matches not shown…
Hallucination Indicators51 hits · 590 pts
SeverityFileLineSnippetContext
CRITICALtest/cli/lint/config-files.test.ts816 if (context.sourceCode.scopeManager.globalScope.set.get("Symbol").defs.length > 0) context.report({ node, message: "CODE
CRITICAL⚡test/cli/format/svelte/cases.json223 "input": "{veryLongFunctionName(argumentNumberOne, argumentNumberTwo, argumentNumberThree, argumentNumberFour)}\n<p>CODE
CRITICAL⚡test/cli/format/svelte/cases.json224 "prettier": "{veryLongFunctionName(\n argumentNumberOne,\n argumentNumberTwo,\n argumentNumberThree,\n argumentNCODE
CRITICAL⚡test/cli/format/svelte/cases.json225 "oxfmt": "{veryLongFunctionName(\n argumentNumberOne,\n argumentNumberTwo,\n argumentNumberThree,\n argumentNumbCODE
CRITICAL⚡test/cli/format/svelte/cases.json709 "input": "{veryLongFunctionName(argumentNumberOne, argumentNumberTwo, argumentNumberThree, argumentNumberFour)}\n<p>CODE
CRITICAL⚡test/cli/format/svelte/cases.json710 "prettier": "{veryLongFunctionName(argumentNumberOne, argumentNumberTwo, argumentNumberThree, argumentNumberFour)}\nCODE
CRITICAL⚡test/cli/format/svelte/cases.json711 "oxfmt": "{veryLongFunctionName(argumentNumberOne, argumentNumberTwo, argumentNumberThree, argumentNumberFour)}\n<p>CODE
CRITICAL⚡test/cli/format/svelte/cases.json1183 "input": "{veryLongFunctionName(argumentNumberOne, argumentNumberTwo, argumentNumberThree, argumentNumberFour)}\n<p>CODE
CRITICAL⚡test/cli/format/svelte/cases.json1184 "prettier": "{veryLongFunctionName(\n argumentNumberOne,\n argumentNumberTwo,\n argumentNumberThree,\n argumentNCODE
CRITICAL⚡test/cli/format/svelte/cases.json1185 "oxfmt": "{veryLongFunctionName(\n argumentNumberOne,\n argumentNumberTwo,\n argumentNumberThree,\n argumentNumbCODE
CRITICAL⚡test/cli/format/svelte/cases.json1610 "input": "{veryLongFunctionName(argumentNumberOne, argumentNumberTwo, argumentNumberThree, argumentNumberFour)}\n<p>CODE
CRITICAL⚡test/cli/format/svelte/cases.json1611 "prettier": "{veryLongFunctionName(\n argumentNumberOne,\n argumentNumberTwo,\n argumentNumberThree,\n aCODE
CRITICAL⚡test/cli/format/svelte/cases.json1612 "oxfmt": "{veryLongFunctionName(\n argumentNumberOne,\n argumentNumberTwo,\n argumentNumberThree,\n arguCODE
CRITICAL⚡test/cli/format/svelte/cases.json1994 "input": "{veryLongFunctionName(argumentNumberOne, argumentNumberTwo, argumentNumberThree, argumentNumberFour)}\n<p>CODE
CRITICAL⚡test/cli/format/svelte/cases.json1995 "prettier": "{veryLongFunctionName(\r\n argumentNumberOne,\r\n argumentNumberTwo,\r\n argumentNumberThree,\r\n aCODE
CRITICAL⚡test/cli/format/svelte/cases.json1996 "oxfmt": "{veryLongFunctionName(\r\n argumentNumberOne,\r\n argumentNumberTwo,\r\n argumentNumberThree,\r\n arguCODE
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
CRITICAL…el/external-data/typed-parse-program-evaluates-text.ts141 for (const item of value.list) found += item.kid.kid.kid.f0.charCodeAt(14) + lastOf(item.kid.kid.kid).length;CODE
CRITICALtest/aot/ir/lower/calls/callee-name.ts103 o.aaaaaaaaaaaaaaaaaaaa.bbbbbbbbbbbbbbbbbbbb.cccccccccccccccccccc.dddddddddddddddddddd.m();CODE
CRITICALtest/aot/generate/data-from-outside.ts536 for (const item of value.list) found += item.kid.kid.kid.f0.charCodeAt(14) + lastOf(item.kid.kid.kid).length;CODE
CRITICALsrc/lint/context.rs257 *self.base.file.sink.thrown.borrow_mut() = Some(Thrown {COMMENT
CRITICALsrc/lint/context.rs268 let thrown = self.base.file.sink.thrown.borrow();CODE
CRITICALsrc/lint/code_path/mod.rs320 read(&self.file.lazy.code_paths.paths.borrow()[self.id as usize])CODE
CRITICALsrc/lint/code_path/mod.rs360 let segments = self.file.lazy.code_paths.segments.borrow();CODE
CRITICALsrc/lint/code_path/mod.rs548 read(&self.file.lazy.code_paths.segments.borrow()[self.id as usize])CODE
CRITICALsrc/install/PackageManager/runTasks.rs1315 task.request.local_tarball.tarball.url.slice()CODE
CRITICALsrc/install/PackageManager/security_scanner.rs159 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();CODE
CRITICALsrc/install/PackageManager/security_scanner.rs184 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();CODE
CRITICALsrc/install/PackageManager/security_scanner.rs529 let resolutions = self.manager.lockfile.buffers.resolutions.as_slice();CODE
CRITICALsrc/runtime/code_resolver_testing.rs332 let tsconfig_override = vm.transpiler.resolver.opts.tsconfig_override.as_deref();CODE
CRITICALsrc/runtime/cli/test_command.rs1348 let report = this.jest.test_options.reporters.junit.then(|| {CODE
CRITICALsrc/runtime/api/JSTranspiler.rs331 let Ok(Some(json)) = vm.transpiler.resolver.caches.json.parse_json(CODE
CRITICALsrc/runtime/api/BunObject.bind.ts150 path: b.string.loose.utf8.nullable.default(""),CODE
CRITICALsrc/runtime/api/BunObject.bind.ts216 command: b.string.loose.utf8.nullable.default(""),CODE
CRITICALsrc/sema/program/code_walk.rs541 .map(|file| file.loaded.parse.hir.exprs.len())CODE
CRITICALsrc/sema/program/code_file/tests/analysis.rs283 assert!(parsed.code.analyzed.analysis.import_sites.is_empty());CODE
CRITICALsrc/sema/program/code_file/tests/analysis.rs357 match parsed.code.analyzed.analysis.decisions.decision(read) {CODE
CRITICALsrc/sema/program/code_file/tests/analysis.rs386 let decision = parsed.code.analyzed.analysis.decisions.decision(value);CODE
CRITICALsrc/sema/program/code_file/tests/import_sites.rs384 assert!(parsed.code.analyzed.analysis.import_sites.is_empty());CODE
CRITICALsrc/sema/check/errors.rs1759 let types = self.p.files.options.types.as_ref();CODE
CRITICALsrc/js_parser/visit/visit_stmt.rs1229 let new_len = if !(data.is_export && p.options.features.replace_exports.entries.len() > 0) {CODE
CRITICALsrc/bundler/bundle_v2.rs4664 let opens_output_paths = !self.transpiler.resolver.opts.output_dir.is_empty()CODE
CRITICALsrc/aot/load/host.rs510 let mut entry_texts = self.input.options.load.entry_texts.iter();CODE
CRITICALsrc/aot/compile/lower_stage.rs375 application: bound.projects.application.left_out.functions.clone(),CODE
CRITICALsrc/aot/compile/lower_stage.rs752 left_out_declarations: bound.projects.runtime.left_out.declarations.clone(),CODE
CRITICALsrc/aot/lower/data.rs23 if let Some(&data) = self.file.modules.data.records.get(&expression) {CODE
Fake / Example Data169 hits · 198 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
LOW⚡bench/snippets/_fixture.txt1339 <td id="LC135" class="blob-code blob-code-inner js-file-line"> let string_long_escaped = &quot;\n Lorem ipCODE
LOW⚡bench/snippets/_fixture.txt1339 <td id="LC135" class="blob-code blob-code-inner js-file-line"> let string_long_escaped = &quot;\n Lorem ipCODE
LOW⚡bench/snippets/_fixture.txt1343 <td id="LC136" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">let</span> string_short <spCODE
LOW⚡bench/snippets/_fixture.txt1343 <td id="LC136" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">let</span> string_short <spCODE
LOW⚡bench/snippets/_fixture.txt1351 <td id="LC138" class="blob-code blob-code-inner js-file-line"> <span class="pl-s">&quot;Lorem ipsum dolorCODE
LOW⚡bench/snippets/_fixture.txt1351 <td id="LC138" class="blob-code blob-code-inner js-file-line"> <span class="pl-s">&quot;Lorem ipsum dolorCODE
LOW⚡bench/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
LOW⚡bench/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
LOW⚡bench/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
LOW⚡bench/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.js1991 .transform(new Response("<p>Lorem ipsum!</p>"))CODE
LOWtest/js/workerd/html-rewriter.test.js2006 .transform(new Response("<p>Lorem ipsum!<br></p><div />"))CODE
LOWtest/js/workerd/html-rewriter.test.js2024 .transform(new Response("<p>Lorem ipsum!<br></p><div /><svg><circle /></svg>"))CODE
LOWtest/js/web/streams/compression.test.ts1309 text += `<section id="s${i}"><p>${rand().toString(36).slice(2)} lorem ipsum ${((i * 2654435761) >>> 0).toString(36)}CODE
LOWtest/js/web/fetch/fetch-backpressure.test.ts865 const raw = Buffer.alloc(SIZE, "alpha beta gamma delta lorem ipsum ");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
LOW⚡test/js/bun/test/expect.test.js4206 expect(`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nCODE
LOW⚡test/js/bun/test/expect.test.js4206 expect(`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nCODE
LOW⚡test/js/bun/test/expect.test.js4208 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nunc hCODE
LOW⚡test/js/bun/test/expect.test.js4208 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nunc hCODE
LOW⚡test/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
LOW⚡test/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
LOW⚡test/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
LOW⚡test/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.ts18 return "Lorem ipsum";CODE
LOWtest/js/bun/test/fake-timers/sinonjs/issue-437.test.ts25 assert.equals(dateTime.foo(), "Lorem ipsum");CODE
LOWtest/js/bun/io/bun-write.test.js286 "existing.bin": "placeholder",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.ts2108 "user@example.com",CODE
LOWtest/js/bun/http/serve-http3.test.ts2124 "user@example.com": "200 /index",CODE
LOWtest/js/bun/http/proxy.test.ts2877 () => ({ HTTP_PROXY: "placeholder" }),CODE
LOWtest/js/bun/http/request-smuggling.test.ts1712 ["user@example.com"],CODE
LOW⚡test/js/bun/md/spec-tables.txt142Lorem ipsum dolor sit amet.CODE
LOW⚡test/js/bun/md/spec-tables.txt142Lorem ipsum dolor sit amet.CODE
LOW⚡test/js/bun/md/spec-tables.txt149<p>Lorem ipsum dolor sit amet.</p>CODE
LOW⚡test/js/bun/md/spec-tables.txt149<p>Lorem ipsum dolor sit amet.</p>CODE
LOW⚡test/js/bun/md/spec-tables.txt170Lorem ipsum dolor sit amet.CODE
LOW⚡test/js/bun/md/spec-tables.txt170Lorem ipsum dolor sit amet.CODE
LOW⚡test/js/bun/md/spec-tables.txt180<tr><td>Lorem ipsum dolor sit amet.</td><td></td></tr>CODE
LOW⚡test/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
109 more matches not shown…
Verbosity Indicators75 hits · 126 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/net/tls-low-prio-queue-fixture.ts363 // Step 2: every ClientHello becomes readable in the next iteration.COMMENT
LOW…est/parallel/test-http-agent-free-socket-data-guard.js31 // Step 1: Send request1COMMENT
LOW⚡…est/parallel/test-http-agent-free-socket-data-guard.js55 // Step 2: Server injects a poisoned response while socket is idleCOMMENT
LOW⚡…est/parallel/test-http-agent-free-socket-data-guard.js64 // Step 3: Allow the event loop to poll I/O so the guard can fire.COMMENT
LOW⚡…est/parallel/test-http-agent-free-socket-data-guard.js73 // Step 4: Send request2 — should get a fresh connectionCOMMENT
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
LOW⚡test/js/sql/sql.test.ts660 // Step 1: Insert a row (succeeds)COMMENT
LOW⚡test/js/sql/sql.test.ts666 // Step 2: Try to insert conflicting row (throws expected error)COMMENT
LOW⚡test/js/sql/sql.test.ts675 // Step 3: Try another query - THIS WILL HANGCOMMENT
LOW⚡test/regression/issue/tui-app-tty-pattern.test.ts25 // Step 1: Check if stdin is pipedCOMMENT
LOW⚡test/regression/issue/tui-app-tty-pattern.test.ts34 // Step 2: After stdin EOF, try to reopen /dev/ttyCOMMENT
LOWtest/bundler/bundler_compile.test.ts1492 // Step 2: Run bun build with compile, minify, sourcemap, and bytecodeCOMMENT
LOWpackages/bun-uws/src/HttpContext.h600 /* First of all we need to check if this socket was deleted due to upgrade */COMMENT
LOWpackages/bun-uws/src/HttpContext.h842 /* We need to check if we should close this socket here now */COMMENT
LOWpackages/bun-uws/src/HttpResponse.h295 /* We need to check if we should close this socket here now */COMMENT
LOWpackages/bun-uws/src/HttpResponse.h353 /* We need to check if we should close this socket here now */COMMENT
LOWsrc/install/npm.rs1976 // stability check - if the previous package is blocked from age, we need to check if the current packagCOMMENT
LOWsrc/install/npm.rs2188 // stability check - if the previous package is blocked from age, we need to check if the current package waCOMMENT
LOWsrc/js/internal/streams/readable.ts1107 // We need to check if there is someone still listening toCOMMENT
LOWsrc/js/internal/streams/readable.ts1129 // We need to check if there is someone still listening toCOMMENT
LOWsrc/js/internal/repl/completion.ts735 // If a getter/proxy hasn't been found by the recursion call we need to check if maybe a getter/proxyCOMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs115 // Step 1: Merge affected scopes to their canonical root.COMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs166 // 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.rs328 // Step 3: Repoint phis when they refer to a rewritten blockCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs348 // Step 4: Fixup HIR to restore RPO, correct predecessors, renumber instructionsCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs353 // Step 5: Fix scope and identifier ranges to account for renumbered instructionsCOMMENT
LOW⚡…compiler/inference/propagate_scope_dependencies_hir.rs100 // Step 2: Calculate hoistable dependencies using the tree.COMMENT
LOW⚡…compiler/inference/propagate_scope_dependencies_hir.rs110 // Step 3: Reduce dependencies to a minimal set.COMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1112 // Step 1: Collect identifier to function expression mappingsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1140 // Step 2: Forward pass to analyze assumed function callsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1213 // Step 3: Propagate assumed-invoked status through mayInvoke chainsCOMMENT
LOWsrc/runtime/server/StaticRoute.rs505 // Step 1: If-Match (strong comparison); step 2: If-Unmodified-SinceCOMMENT
LOW⚡src/runtime/server/StaticRoute.rs522 // Step 3: If-None-Match (weak comparison). Presence suppresses step 4.COMMENT
LOW⚡src/runtime/server/StaticRoute.rs528 // Step 4: If-Modified-Since (only when If-None-Match is absent).COMMENT
LOWsrc/runtime/api/bun/js_bun_spawn_bindings.rs361 // Since the event loop is recursively called, we need to check if it's safe to recurse.COMMENT
LOWsrc/runtime/webcore/Body.rs1809 // Step 1: If this is unusable, throw a TypeError.COMMENT
15 more matches not shown…
AI Slop Vocabulary49 hits · 123 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.ts380 // payload; keeps the test robust against wire-format header changes.COMMENT
MEDIUMtest/js/web/structured-clone-blob-file.test.ts797 // test stays robust against outer serializer framing changes.COMMENT
MEDIUM…js/bun/http/serve-response-stream-sink-leak-fixture.ts71// 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.ts138 // 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/lint/oracle/plugins/oxlint/audit.json1473 "sentinel.ts": "// Certainly reported: `= undefined` on a parameter and a default on a required property.\nexport funCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json1500 "sentinel.ts": "// Certainly reported: noStrictNullCheck at the start of the file, and `= undefined` on a parameter.\CODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json1539 "sentinel.ts": "// Certainly reported with these options: a string literal, an object literal, undefined.\nfunction sCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json1561 "sentinel.ts": "// Certainly reported with allowThrowingAny: false: a value of type any, and a string literal.\ndeclaCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json1584 "sentinel.ts": "// Certainly reported with allowThrowingUnknown: false: a value of type unknown, and a string literalCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json1640 "sentinel.ts": "// Certainly reported with these options: a string literal, an object literal, undefined.\nfunction sCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json1922 "sentinel.ts": "// Certainly reported by both: a plain `&&` chain over nullable objects.\ndeclare const s: {a?: {b: nCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json1949 "sentinel.ts": "// Certainly reported by both: a plain `&&` chain over nullable objects.\ndeclare const s: {a?: {b: nCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json1967 "sentinel.ts": "// Certainly reported by both: a plain `&&` chain over nullable objects.\ndeclare const s: {a?: {b: nCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json1991 "sentinel.ts": "// Certainly reported by both: a plain `&&` chain over nullable objects.\ndeclare const s: {a?: {b: nCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json2014 "sentinel.ts": "// Certainly reported by both: a plain `&&` chain over nullable objects.\ndeclare const s: {a?: {b: nCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json2902 "sentinel.ts": "// Certainly reported with these options: line 3, switchIsNotExhaustive, Cases not matched: \"b\"\ndeCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json2931 "sentinel.ts": "// Certainly reported with these options: line 3 (switchIsNotExhaustive, \"b\") and line 12 (dangerouCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json2953 "sentinel.ts": "// Certainly reported with these options: line 3, switchIsNotExhaustive, Cases not matched: \"b\"\ndeCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json2976 "sentinel.ts": "// Certainly reported with these options: line 3, switchIsNotExhaustive, Cases not matched: \"b\"\ndeCODE
MEDIUMtest/cli/lint/oracle/plugins/oxlint/audit.json3292 "sentinel.ts": "// Certainly reported with these options: each type parameter is used once in its signature.\nexport CODE
MEDIUMtest/regression/issue/29585.test.ts16// pattern) keeps the check robust against any future naming scheme.COMMENT
MEDIUMpackages/h3blast/src/h3blast.c859 // Rewind and erase the previous frame in one shot — robust to wrapped lines.COMMENT
MEDIUM.github/workflows/source-lints.yml94 # paths, or `harness` (resolved via test/tsconfig.json `paths`), so aCOMMENT
MEDIUMsrc/lint/typescript/rules/class_methods_use_this.rs6/// Enforce that class methods utilize `this`.COMMENT
MEDIUMsrc/lint/eslint/rules/class_methods_use_this.rs5/// Enforce that class methods utilize `this`.COMMENT
MEDIUMsrc/js/internal/repl/completion.ts612 // upstream-todo(dario-piotrowicz): make this more robust, right now we only split by spacesCOMMENT
MEDIUMsrc/js/node/http2.ts2727 // 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.rs546 /// 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.rs507 // 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/dev_server/source_map_store.rs337 /// utilize the bottom 32 bits of their keys. This is because the bottomCOMMENT
MEDIUMsrc/runtime/bake/bun-framework-react/server.tsx173 // The RSC payload is provided so client-side can use this file for seamlessCOMMENT
MEDIUMsrc/runtime/bake/router/mod.rs456 /// Fast enough for development to be seamless, but avoids building aCOMMENT
MEDIUMsrc/runtime/socket/WindowsNamedPipe.rs6//! and Windows Named Pipe operations, enabling seamless cross-platformCOMMENT
MEDIUMsrc/ast/expr.rs2374 break 'brk left; // Definitely not null or undefinedCODE
MEDIUMsrc/ast/expr.rs2378 break 'brk PrimitiveType::Mixed; // Definitely some kind of primitiveCODE
MEDIUMsrc/crash_handler/lib.rs2193 // 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
Structural Annotation Overuse64 hits · 108 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/net/tls-low-prio-queue-fixture.ts363 // Step 2: every ClientHello becomes readable in the next iteration.COMMENT
LOW…est/parallel/test-http-agent-free-socket-data-guard.js31 // Step 1: Send request1COMMENT
LOW⚡…est/parallel/test-http-agent-free-socket-data-guard.js55 // Step 2: Server injects a poisoned response while socket is idleCOMMENT
LOW⚡…est/parallel/test-http-agent-free-socket-data-guard.js64 // Step 3: Allow the event loop to poll I/O so the guard can fire.COMMENT
LOW⚡…est/parallel/test-http-agent-free-socket-data-guard.js73 // Step 4: Send request2 — should get a fresh connectionCOMMENT
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
LOW⚡test/js/sql/sql.test.ts660 // Step 1: Insert a row (succeeds)COMMENT
LOW⚡test/js/sql/sql.test.ts666 // Step 2: Try to insert conflicting row (throws expected error)COMMENT
LOW⚡test/js/sql/sql.test.ts675 // Step 3: Try another query - THIS WILL HANGCOMMENT
LOW⚡test/regression/issue/tui-app-tty-pattern.test.ts25 // Step 1: Check if stdin is pipedCOMMENT
LOW⚡test/regression/issue/tui-app-tty-pattern.test.ts34 // Step 2: After stdin EOF, try to reopen /dev/ttyCOMMENT
LOWtest/bundler/bundler_compile.test.ts1492 // Step 2: Run bun build with compile, minify, sourcemap, and bytecodeCOMMENT
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
LOW…react_compiler/inference/align_object_method_scopes.rs115 // Step 1: Merge affected scopes to their canonical root.COMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs166 // 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.rs328 // Step 3: Repoint phis when they refer to a rewritten blockCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs348 // Step 4: Fixup HIR to restore RPO, correct predecessors, renumber instructionsCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs353 // Step 5: Fix scope and identifier ranges to account for renumbered instructionsCOMMENT
LOW⚡…compiler/inference/propagate_scope_dependencies_hir.rs100 // Step 2: Calculate hoistable dependencies using the tree.COMMENT
LOW⚡…compiler/inference/propagate_scope_dependencies_hir.rs110 // Step 3: Reduce dependencies to a minimal set.COMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1112 // Step 1: Collect identifier to function expression mappingsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1140 // Step 2: Forward pass to analyze assumed function callsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1213 // Step 3: Propagate assumed-invoked status through mayInvoke chainsCOMMENT
LOWsrc/runtime/server/StaticRoute.rs505 // Step 1: If-Match (strong comparison); step 2: If-Unmodified-SinceCOMMENT
LOW⚡src/runtime/server/StaticRoute.rs522 // Step 3: If-None-Match (weak comparison). Presence suppresses step 4.COMMENT
LOW⚡src/runtime/server/StaticRoute.rs528 // Step 4: If-Modified-Since (only when If-None-Match is absent).COMMENT
LOWsrc/runtime/webcore/Body.rs1809 // Step 1: If this is unusable, throw a TypeError.COMMENT
LOWsrc/runtime/webcore/Body.rs1824 // Step 2: null body → a new empty closed ReadableStream.COMMENT
LOWsrc/jsc/bindings/NodeVM.cpp1479 // Step 1: Argument validationCOMMENT
LOWsrc/jsc/bindings/NodeVM.cpp1522 // Step 3: Create a new functionCOMMENT
LOWsrc/jsc/bindings/BunHeapProfiler.cpp280 // Step 1: Build post-order indexes via DFS from root (node 0)COMMENT
LOWsrc/jsc/bindings/BunHeapProfiler.cpp362 // Step 2: Build dominator tree using Cooper-Harvey-Kennedy algorithmCOMMENT
LOWsrc/jsc/bindings/BunHeapProfiler.cpp480 // Step 3: Calculate retained sizes by attributing size up the dominator treeCOMMENT
LOWsrc/bundler/linker_context/scanImportsAndExports.rs136 // Step 1: Figure out what modules must be CommonJSCOMMENT
LOWsrc/bundler/linker_context/scanImportsAndExports.rs430 // Step 2: Propagate dynamic export status for export star statements thatCOMMENT
LOWsrc/bundler/linker_context/scanImportsAndExports.rs504 // Step 3: Resolve "export * from" statements. This must be done after weCOMMENT
4 more matches not shown…
Deep Nesting73 hits · 64 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
LOWtest/aot/tools/code_in_image.py248CODE
LOWtest/aot/tools/code_in_image.py65CODE
LOWtest/aot/tools/code_in_image.py171CODE
LOWtest/aot/tools/exact_counts.py44CODE
LOWtest/aot/tools/exact_counts.py175CODE
LOWtest/aot/tools/exact_counts.py196CODE
LOWtest/aot/tools/name_sample.py62CODE
LOWtest/aot/shell/where-it-died.py52CODE
LOWtest/aot/shell/where-it-died.py183CODE
LOWtest/aot/shell/expectations.py131CODE
LOWtest/aot/shell/expectations.py297CODE
LOWtest/aot/shell/toolchain.py86CODE
LOWtest/aot/backend/card.py151CODE
LOWtest/aot/backend/measure/measure.py211CODE
LOWtest/aot/backend/measure/memory_kinds.py59CODE
LOWtest/aot/backend/measure/memory_kinds.py78CODE
LOWtest/aot/backend/measure/memory.py54CODE
LOWtest/aot/fuzz/made/random-esm-namespace-as-value.py39CODE
LOW…st/aot/fuzz/made/random-commonjs-and-esm-with-hooks.py51CODE
LOWtest/aot/fuzz/made/variables-read-before-store.py30CODE
LOWtest/aot/fuzz/made/random-commonjs-and-esm.py49CODE
LOWtest/aot/fuzz/fuzzilli/counters-as-coverage.py32CODE
LOWtest/aot/fuzz/generators/python/control-flow.py48CODE
LOWtest/aot/fuzz/generators/python/control-flow.py157CODE
LOW…aot/fuzz/generators/python/element-reads-and-stores.py74CODE
LOWtest/aot/fuzz/generators/python/appended-strings.py67CODE
LOW…/fuzz/generators/python/regular-expression-literals.py28CODE
LOW…/fuzz/generators/python/regular-expression-literals.py157CODE
LOW…ot/fuzz/generators/python/reference-holding-members.py40CODE
LOW…ot/fuzz/generators/python/reference-holding-members.py89CODE
LOW…ot/fuzz/generators/python/reference-holding-members.py305CODE
LOW…st/aot/fuzz/generators/python/maybe-integer-numbers.py83CODE
LOWtest/aot/fuzz/generators/python/async-code-order.py70CODE
LOWtest/aot/fuzz/generators/python/async-code-order.py86CODE
LOW…ot/fuzz/generators/python/async-generator-job-order.py25CODE
LOW…ot/fuzz/generators/python/async-generator-job-order.py43CODE
LOWtest/aot/fuzz/generators/python/microtask-order.py33CODE
LOWtest/aot/fuzz/generators/python/resource-management.py90CODE
LOW…uzz/generators/python/async-generator-steps-by-hand.py25CODE
LOWtest/aot/fuzz/generators/python/spreads-as-records.py67CODE
LOWtest/aot/fuzz/generators/python/spreads-as-records.py131CODE
LOWtest/aot/fuzz/generators/python/spreads-as-records.py199CODE
LOWtest/aot/fuzz/generators/python/for-in-loops.py75CODE
LOW…ot/fuzz/generators/python/async-generator-pipelines.py39CODE
LOW…ot/fuzz/generators/python/async-generator-pipelines.py62CODE
LOW…st/aot/fuzz/generators/python/throw-and-catch-pairs.py63CODE
LOWtest/aot/fuzz/generators/python/tail-calls.py106CODE
LOWtest/aot/fuzz/generators/python/typed-programs.py213CODE
LOWtest/aot/fuzz/generators/python/typed-programs.py239CODE
LOWtest/aot/fuzz/generators/python/typed-programs.py315CODE
LOWtest/aot/fuzz/generators/python/typed-programs.py465CODE
LOWtest/aot/fuzz/generators/python/exception-paths.py229CODE
LOW…ators/python/repeated-groups-that-can-match-nothing.py103CODE
LOW…generators/python/instances-not-made-by-their-class.py9CODE
13 more matches not shown…
Empty Error Handlers12 hits · 60 pts
SeverityFileLineSnippetContext
HIGHtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py992except:CODE
HIGHtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py925except:CODE
HIGHtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py616except:CODE
HIGHtest/js/node/readline/run-with-pty.py33except:CODE
HIGHtest/aot/shell/expectations.py318except toolchain.ToolFailed: passCODE
HIGHtest/aot/backend/measure/measure.py177except OSError:CODE
HIGHtest/aot/backend/measure/measure.py263except (OSError, ValueError, IndexError):CODE
HIGHtest/aot/fuzz/fuzzilli/counters-as-coverage.py35except FileNotFoundError: passCODE
HIGHtest/aot/servers/measure/measure.py254except (OSError, ValueError, IndexError):CODE
HIGHtest/aot/servers/measure/measure.py409except subprocess.TimeoutExpired:CODE
HIGHtest/aot/servers/measure/cost_by_request.py141except (OSError, IndexError):CODE
HIGHtest/aot/servers/measure/requests_a_second.py73except OSError:CODE
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
MEDIUMscripts/orderfile/app/servers.js2// The child is this same executable (`<app> netserver`, see scaffold.js). It isCOMMENT
MEDIUMscripts/orderfile/app/scaffold.js3// bun scaffold.js <outdir>COMMENT
MEDIUM⚡src/runtime/api.rs141// ─── shared scaffold for Bun.{TOML,JSONC,JSON5,YAML,XML}.parse ───────────────COMMENT
MEDIUM⚡src/runtime/api.rs144// class and the Expr→JS tail, so this helper owns ONLY the scaffold and hands `(&arena, &mut log, &source)` to aCOMMENT
MEDIUM⚡src/runtime/test_runner/expect.rs1787// ─── unary-predicate matcher scaffold ────────────────────────────────────COMMENT
MEDIUM⚡src/runtime/test_runner/expect.rs1792 /// Shared scaffold for zero-arg `expect(v).toBeX()` matchers whose pass/failCOMMENT
MEDIUMsrc/runtime/test_runner/expect.rs1820 /// Shared scaffold for one-arg `expect(v).toStartWith/toEndWith/toInclude(expected)`COMMENT
MEDIUM⚡src/runtime/timer/mod.rs31// Shared scaffold for `TimeoutObject` / `ImmediateObject`: both are aCOMMENT
Unused Imports29 hits · 26 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py6CODE
LOWtest/js/node/readline/run-with-pty.py5CODE
LOWtest/aot/tools/exact_counts.py25CODE
LOWtest/aot/shell/expectations.py53CODE
LOWtest/aot/fuzz/generators/python/control-flow.py6CODE
LOW…aot/fuzz/generators/python/element-reads-and-stores.py5CODE
LOWtest/aot/fuzz/generators/python/sloppy-code.py6CODE
LOWtest/aot/fuzz/generators/python/async-generators.py6CODE
LOW…/fuzz/generators/python/regular-expression-literals.py6CODE
LOW…ot/fuzz/generators/python/reference-holding-members.py5CODE
LOW…st/aot/fuzz/generators/python/maybe-integer-numbers.py5CODE
LOWtest/aot/fuzz/generators/python/async-code-order.py6CODE
LOW…/aot/fuzz/generators/python/intl-constant-arguments.py5CODE
LOW…/aot/fuzz/generators/python/intl-constant-arguments.py5CODE
LOWtest/aot/fuzz/generators/python/spreads-as-records.py5CODE
LOWtest/aot/fuzz/generators/python/for-in-loops.py5CODE
LOWtest/aot/fuzz/generators/python/host-visible-values.py6CODE
LOWtest/aot/fuzz/generators/python/lazy-constants.py5CODE
LOW…st/aot/fuzz/generators/python/throw-and-catch-pairs.py7CODE
LOWtest/aot/fuzz/generators/python/tail-calls.py6CODE
LOWtest/aot/fuzz/generators/python/one-object-two-types.py6CODE
LOWtest/aot/fuzz/generators/python/calls-by-value.py6CODE
LOWtest/aot/fuzz/generators/python/switch-statements.py5CODE
LOWtest/aot/fuzz/generators/python/objects.py6CODE
LOWtest/aot/fuzz/generators/python/strings.py5CODE
LOWtest/aot/fuzz/generators/python/maps-and-sets.py5CODE
LOW…uzz/generators/python/intl-constant-arguments/flows.py4CODE
LOWtest/aot/servers/measure/measure.py113CODE
LOWmisctools/lldb/bun_pretty_printer.py3CODE
Excessive Try-Catch Wrapping18 hits · 19 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
LOWtest/aot/backend/measure/measure.py167 except Exception:CODE
LOWtest/aot/backend/measure/measure.py561 except Exception as e:CODE
MEDIUMtest/aot/backend/measure/measure.py154def rollup(pid):CODE
MEDIUMtest/aot/backend/measure/measure.py187def children(parent):CODE
LOWtest/aot/perf/against_the_jit.py125 except Exception as error:CODE
LOWtest/aot/servers/measure/measure.py534 except Exception as error:CODE
LOWtest/aot/servers/measure/measure.py575 except Exception as error:CODE
LOWtest/aot/servers/measure/measure.py615 except Exception as error:CODE
LOWtest/aot/servers/measure/measure.py643 except Exception as error:CODE
MEDIUMtest/aot/servers/measure/measure.py388def main_thread_ns(self):CODE
LOWtest/aot/servers/measure/requests_a_second.py193 except Exception as error:CODE
LOWmisctools/lldb/bun_pretty_printer.py302 except Exception as e:CODE
MEDIUMmisctools/lldb/bun_pretty_printer.py43def bun_BabyList_SummaryProvider(value, _=None):CODE
Slop Phrases9 hits · 16 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.h111#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.rs2046 // explicit use switch without else so if new modes are added, we don't forget to check for duplicate fiCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtest/js/node/test/sequential/test-init.js52 // test-init-index is in fixtures dir as requested by ry, so go thereCOMMENT
HIGHsrc/sema/check/errors_iteration.rs589 /// `getContextuallyTypedParameterType` for parameter `index` of `func`, as requested byCOMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…/fuzz/made/array-from-subclasses-and-native-setters.py0const say = f => { try { const v = f(); return typeof v === 'string' ? json.stringify(v) : typeof v === 'symbol' ? v.tosSTRING
HIGH…ot/fuzz/made/frozen-arrays-namespaces-out-of-bounds.py0const say = f => { try { const v = f(); return typeof v === 'string' ? json.stringify(v) : typeof v === 'symbol' ? v.tosSTRING
HIGH…t/fuzz/made/arrays-iterators-and-sloppy-only-syntax.py0const say = f => { try { const v = f(); return typeof v === 'string' ? json.stringify(v) : typeof v === 'symbol' ? v.tosSTRING
Redundant / Tautological Comments13 hits · 14 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/shell/bunshell.test.ts2164 # 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.ts76 * ## 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
TODO Padding8 hits · 10 pts
SeverityFileLineSnippetContext
LOWtest/js/node/url/url-null-char.test.js6 // TODO: Fix error propertiesCOMMENT
LOWtest/bake/dev/esm.test.ts261 const esmImport = await import('./esm'); // TODO: implement sync ESMCODE
LOWsrc/runtime/cli/run_command.rs438 let ipc_fd: Option<bun_sys::Fd> = None; // TODO: implement on WindowsCODE
LOWsrc/runtime/bake/dev_server/ensure_route.rs102 // TODO: implement a proper solution hereCOMMENT
LOWsrc/runtime/bake/dev_server/directory_watch_store.rs334 // TODO: implement that. for now it ignores (BUN-10968)COMMENT
LOWsrc/runtime/webcore/Blob.rs4774 // TODO: implement a writev() fast pathCOMMENT
LOWsrc/ast/fold_string_addition.rs58 // TODO: implement foldAdditionPreProcess to fold some more things :)COMMENT
LOWsrc/js_parser/parse/mod.rs959 // TODO: implement saveExprCommentsHere and use using_loc hereCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/zlib/lib.rs108 /// 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.ts3497 export function getData() {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
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOW…generators/python/instances-not-made-by-their-class.py55CODE
LOWtest/aot/perf/operations/generate.py14CODE
LOWmisctools/lldb/lldb_webkit.py648CODE