AI Slop Code RIsk Monitor

oven-sh/bun

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

5.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for oven-sh/bun, a Rust project with 96,175 GitHub stars. SynthScan examined 3,619,889 lines of code across 15678 source files, recording 11649 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 5.6 (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.

5.6
Adjusted Signal
5.6
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
96.2K
Stars
Rust
Language
3.6M
Lines of Code
15.7K
Files
11.6K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 8.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

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

Agent Over-Engineering Ratio 17.1/100 · LOW

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

PR Review Velocity Impact 25.2/100 · MEDIUM

Which changes need focused human review? 11649 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 21HIGH 77MEDIUM 4410LOW 7141

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 11649 distinct pattern matches across 24 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 Separators4358 hits · 12580 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml118# ─── Release optimization ───────────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/fetch/fetch-http3-client.test.ts519 // ───── streaming uploads (pull-driven request bodies) ─────COMMENT
MEDIUMtest/js/web/fetch/fetch-http3-client.test.ts594 // ───── 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.ts46 // ── thread pool: bun_jsc::Job ────────────────────────────────────────────COMMENT
MEDIUMtest/js/web/workers/worker-late-completion.test.ts165 // ── thread pool: storage inside a JS-owned object ────────────────────────COMMENT
MEDIUM⚡test/js/web/workers/worker-late-completion.test.ts179 // ── HTTP thread ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡test/js/web/workers/worker-late-completion.test.ts189 // ── bundle thread ────────────────────────────────────────────────────────COMMENT
MEDIUM⚡test/js/web/workers/worker-late-completion.test.ts196 // ── 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.ts389// ─── 4. malformed PNG chunk structure ────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts444// ─── 5. malformed JPEG / EXIF ────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts480// ─── 5b. JPEG that libjpeg decodes with a warning ────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts753// ─── 5c. lossless JPEG (SOF3) ────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts953// ─── 6. lossless roundtrip parity ────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts1017// ─── 7. memory hygiene under repetition ──────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts1072// ─── 8. hostile JS option objects ────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts1192// ─── 9. concurrency / re-use ─────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image-adversarial.test.ts1227// ─── 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.ts1457 // ── LZW pack ──────────────────────────────────────────────────────────COMMENT
MEDIUMtest/js/bun/image/image.test.ts1505 // ── 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
4298 more matches not shown…
Over-Commented Block5836 hits · 5277 pts
SeverityFileLineSnippetContext
LOWCargo.toml121# CGUs ≈ 1680 separately-optimized units with NO cross-crate inlining beyondCOMMENT
LOWCargo.toml141panic = "abort"COMMENT
LOWCargo.toml161# `#![no_std]`/`#![no_main]` + a custom `/ENTRY:` (no CRT), and the buildCOMMENT
LOWCargo.toml181overflow-checks = falseCOMMENT
LOWrustfmt.toml1# rustfmt config for the Cargo workspace. Formatting is the toolchain defaultCOMMENT
LOWmordant.toml1[mordant]COMMENT
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/no-validate-leaksan.txt381test/js/node/test/parallel/test-https-localaddress-bind-error.jsCOMMENT
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 });COMMENT
LOW…/js/web/abort/abort-signal-event-listener-leak.test.ts1import { estimateShallowMemoryUsageOf } from "bun:jsc";COMMENT
LOW…bsocket/websocket-proxy-tunnel-upgrade-leak-fixture.ts1// Repro for HTTPUpgradeClient leak on wss:// through an HTTP CONNECT proxyCOMMENT
LOW…b/websocket/websocket-proxy-tunnel-client-leak.test.ts1import { expect, test } from "bun:test";COMMENT
LOWtest/js/web/websocket/websocket-utf16-headers.test.ts1// Regression test for WebSocket upgrade request crash on non-ASCII inputs.COMMENT
LOWtest/js/web/websocket/websocket-proxy.test.ts361 // were read as frame headers and the connection failed.COMMENT
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/websocket/websocket-close-code.test.ts1// WebSocket#close() argument validation and the close-code handling thatCOMMENT
LOWtest/js/web/intl/intl.test.ts1// ECMA-402 Intl coverage. Doubles as the regression net for the per-item zstdCOMMENT
LOWtest/js/web/timers/timers-fixture-unref.js81// See https://github.com/nodejs/node/issues/9561COMMENT
LOWtest/js/web/streams/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-abort-queued.test.ts1// When `active_requests_count >= max_simultaneous_requests`, new fetch()COMMENT
LOWtest/js/web/fetch/blob.test.ts321 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.ts941 }COMMENT
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
5776 more matches not shown…
Hyper-Verbose Identifiers944 hits · 970 pts
SeverityFileLineSnippetContext
LOWtest/harness.ts186async function findOrDownloadAbiMatchingNode(): Promise<string> {CODE
LOWtest/harness.ts471export function makeTreeSyncFromDirectoryTree(base: string, tree: DirectoryTree) {CODE
LOWtest/harness.ts642export function randomInvalidSurrogatePair() {CODE
LOWtest/harness.ts1347function failTestsOnBlockingWriteCall() {CODE
LOWtest/harness.ts1820export function fileDescriptorLeakChecker() {CODE
LOWtest/_util/numeric.ts93 export function computePearsonCorrelation(xs: number[], ys: number[]): number {CODE
LOWtest/_util/numeric.ts160 export function computeAverageAbsoluteDeviation(xs: number[]): number {CODE
LOWtest/js/deno/crypto/random.test.ts51test(function getRandomValuesReturnValue() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts506test(async function subtleCryptoHmacImportExport() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts755test(async function testHkdfDeriveBitsWithLargeKeySize() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts768test(async function testEcdhDeriveBitsWithShorterLength() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts782test(async function testEcdhDeriveBitsWithLongerLength() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts795test(async function testEcdhDeriveBitsWithNullLength() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts1063test(async function testDecryptWithInvalidIntializationVector() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts2559test(async function ecPrivateKeyMaterialExportSpki() {CODE
LOWtest/js/deno/crypto/webcrypto.test.ts2603test(async function testImportLeadingZeroesKey() {CODE
LOWtest/js/deno/abort/abort-controller.test.ts52test(function controllerHasProperToString() {CODE
LOWtest/js/deno/encoding/encoding.test.ts285test(function toStringShouldBeWebCompatibility() {CODE
LOWtest/js/deno/encoding/encoding.test.ts291test(function textEncoderShouldCoerceToString() {CODE
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
LOWtest/js/deno/fetch/blob.test.ts115test.ignore(function blobCustomInspectFunction() {CODE
884 more matches not shown…
Cross-Language Confusion (JS/TS)69 hits · 380 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.ts2423elif 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.ts279 print({ failedMessage: failed.message, loadingAfterFail, unhandled });CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts306 print(unhandled);CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts334 print(outcomeStr);CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts400 print(await outcome(view.evaluate("__fake_close_replies()")));CODE
HIGHtest/js/bun/webview/webview-chrome-pipe.test.ts411 print({ closing, next });CODE
HIGHtest/js/node/http2/http2-option-checks.fixture.js144 print(CODE
HIGHtest/js/node/http2/http2-option-checks.fixture.js160 print("other calls", [CODE
HIGHtest/bundler/bundler_jsx.test.ts153 print(<div>Hello World</div>)CODE
HIGHtest/bundler/bundler_jsx.test.ts154 print(<div className="container"><Component prop={2}><h1 onClick={() => 1}>hello</h1></Component></div>)CODE
HIGH⚡test/bundler/bundler_jsx.test.ts175 print(<div>Hello World</div>)CODE
HIGH⚡test/bundler/bundler_jsx.test.ts176 print(<div className="container"><Component prop={2}><h1 onClick={() => 1}>hello</h1></Component></div>)CODE
HIGH⚡test/bundler/bundler_jsx.test.ts177 print(<>Fragment</>)CODE
HIGHtest/bundler/bundler_jsx.test.ts198 print([typeof F, typeof el])CODE
HIGHtest/bundler/bundler_jsx.test.ts221 print([el, a, b, c])CODE
HIGHtest/bundler/bundler_jsx.test.ts306 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts327 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts349 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGH⚡test/bundler/bundler_jsx.test.ts378 print(['classic.jsx',<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGH⚡test/bundler/bundler_jsx.test.ts386 print(['classic-renamed.jsx',<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGH⚡test/bundler/bundler_jsx.test.ts390 print(['automatic.jsx',<div props={123}>Hello World</div>, process.env.NODE_ENV === 'production' ? '' : <>FragmeCODE
HIGH⚡test/bundler/bundler_jsx.test.ts395 print(['automatic-source2.jsx',<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts421 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts443 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts471 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGHtest/bundler/bundler_jsx.test.ts491 print([<div props={123}>Hello World</div>, <>Fragment</>])CODE
HIGH…-compiler-fixtures/hoisting-nested-block-statements.js6 print(x);CODE
HIGH…-compiler-fixtures/hoisting-nested-block-statements.js10 print(x);CODE
HIGH⚡…eact-compiler-fixtures/flag-enable-emit-hook-guards.ts13 print(identity(CONST_STRING0));CODE
9 more matches not shown…
Hallucination Indicators21 hits · 210 pts
SeverityFileLineSnippetContext
CRITICAL…mpiler-fixtures/readonly-object-method-calls.expect.md16 const posts = user.timeline.posts.edges.nodes.map(node => (CODE
CRITICAL…mpiler-fixtures/readonly-object-method-calls.expect.md45 posts = user.timeline.posts.edges.nodes.map(_temp);CODE
CRITICAL…/readonly-object-method-calls-mutable-lambda.expect.md17 const posts = user.timeline.posts.edges.nodes.map(node => {CODE
CRITICAL…/readonly-object-method-calls-mutable-lambda.expect.md46 const posts = user.timeline.posts.edges.nodes.map((node) => {CODE
CRITICAL…ixtures/readonly-object-method-calls-mutable-lambda.js13 const posts = user.timeline.posts.edges.nodes.map(node => {CODE
CRITICAL…eact-compiler-fixtures/readonly-object-method-calls.js12 const posts = user.timeline.posts.edges.nodes.map(node => (CODE
CRITICALsrc/install/PackageManager/runTasks.rs1147 task.request.local_tarball.tarball.url.slice()CODE
CRITICALsrc/install/PackageManager/security_scanner.rs160 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();CODE
CRITICALsrc/install/PackageManager/security_scanner.rs191 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();CODE
CRITICALsrc/install/PackageManager/security_scanner.rs615 let resolutions = self.manager.lockfile.buffers.resolutions.as_slice();CODE
CRITICALsrc/install/PackageManager/security_scanner.rs719 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();CODE
CRITICALsrc/runtime/cli/pack_command.rs2046 if ctx.manager.options.publish_config.tag.is_empty() {CODE
CRITICALsrc/runtime/cli/pack_command.rs2051 if ctx.manager.options.publish_config.access.is_none() {CODE
CRITICALsrc/runtime/cli/test_command.rs1359 let report = this.jest.test_options.reporters.junit.then(|| {CODE
CRITICALsrc/runtime/cli/publish_command.rs871 bstr::BStr::new(if !ctx.manager.options.publish_config.tag.is_empty() {CODE
CRITICALsrc/runtime/cli/publish_command.rs902 if !ctx.manager.options.publish_config.otp.is_empty() {CODE
CRITICALsrc/runtime/cli/publish_command.rs1980 let tag: &[u8] = if !ctx.manager.options.publish_config.tag.is_empty() {CODE
CRITICALsrc/runtime/api/JSTranspiler.rs358 let Ok(Some(json)) = vm.transpiler.resolver.caches.json.parse_json(CODE
CRITICALsrc/sema/check/errors_collisions.rs315 let module = self.p.files.options.module.name();CODE
CRITICALsrc/sema/check/errors.rs1692 let types = self.p.files.options.types.as_ref();CODE
CRITICALsrc/js_parser/visit/visit_stmt.rs1143 let new_len = if !(data.is_export && p.options.features.replace_exports.entries.len() > 0) {CODE
Fake / Example Data156 hits · 184 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.js1929 .transform(new Response("<p>Lorem ipsum!</p>"))CODE
LOWtest/js/workerd/html-rewriter.test.js1944 .transform(new Response("<p>Lorem ipsum!<br></p><div />"))CODE
LOWtest/js/workerd/html-rewriter.test.js1962 .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.js4093 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.js4093 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.js4095 `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.js4095 `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.js285 "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.ts1842 "user@example.com",CODE
LOWtest/js/bun/http/serve-http3.test.ts1858 "user@example.com": "200 /index",CODE
LOWtest/js/bun/http/proxy.test.ts2722 () => ({ 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
96 more matches not shown…
Verbosity Indicators80 hits · 136 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/net/tls-low-prio-queue-fixture.ts368 // 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.ts674 // Step 1: Insert a row (succeeds)COMMENT
LOW⚡test/js/sql/sql.test.ts680 // Step 2: Try to insert conflicting row (throws expected error)COMMENT
LOW⚡test/js/sql/sql.test.ts689 // 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.h586 /* First of all we need to check if this socket was deleted due to upgrade */COMMENT
LOWpackages/bun-uws/src/HttpContext.h828 /* We need to check if we should close this socket here now */COMMENT
LOWpackages/bun-uws/src/HttpResponse.h308 /* We need to check if we should close this socket here now */COMMENT
LOWpackages/bun-uws/src/HttpResponse.h371 /* We need to check if we should close this socket here now */COMMENT
LOWsrc/install/npm.rs1607 // stability check - if the previous package is blocked from age, we need to check if the current packagCOMMENT
LOWsrc/install/npm.rs1774 // stability check - if the previous package is blocked from age, we need to check if the current package waCOMMENT
LOWsrc/js/internal/streams/readable.ts1076 // We need to check if there is someone still listening toCOMMENT
LOWsrc/js/internal/streams/readable.ts1095 // We need to check if there is someone still listening toCOMMENT
LOWsrc/js/internal/repl/completion.js725 // If a getter/proxy hasn't been found by the recursion call we need to check if maybe a getter/proxyCOMMENT
LOW⚡src/js/internal/sql/shared.ts1708 // Step 1: Determine the options object and initial URLCOMMENT
LOWsrc/js/internal/sql/shared.ts1761 // Step 3: Parse protocol and ensure URL format for non-SQLite databasesCOMMENT
LOW⚡src/js/internal/sql/shared.ts1792 // Step 4: Set adapter from environment if not already set, but ONLY if notCOMMENT
LOW⚡src/js/internal/sql/shared.ts1798 // Step 5: Return early if adapter is explicitly specifiedCOMMENT
LOWsrc/js/internal/sql/shared.ts1811 // Step 6: Infer adapter from protocolCOMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs116 // Step 1: Merge affected scopes to their canonical root.COMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs163 // Step 2: Repoint identifiers whose scopes were mergedCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs266 // Step 1: Collect rewritesCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs269 // Step 2: Apply rewrites by splitting blocksCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs333 // Step 3: Repoint phis when they refer to a rewritten blockCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs353 // Step 4: Fixup HIR to restore RPO, correct predecessors, renumber instructionsCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs358 // Step 5: Fix scope and identifier ranges to account for renumbered instructionsCOMMENT
LOW⚡…compiler/inference/propagate_scope_dependencies_hir.rs92 // Step 2: Calculate hoistable dependencies using the tree.COMMENT
LOW⚡…compiler/inference/propagate_scope_dependencies_hir.rs98 // Step 3: Reduce dependencies to a minimal set.COMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1018 // Step 1: Collect identifier to function expression mappingsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1046 // Step 2: Forward pass to analyze assumed function callsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1119 // Step 3: Propagate assumed-invoked status through mayInvoke chainsCOMMENT
20 more matches not shown…
Structural Annotation Overuse69 hits · 118 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/net/tls-low-prio-queue-fixture.ts368 // 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.ts674 // Step 1: Insert a row (succeeds)COMMENT
LOW⚡test/js/sql/sql.test.ts680 // Step 2: Try to insert conflicting row (throws expected error)COMMENT
LOW⚡test/js/sql/sql.test.ts689 // 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⚡src/js/internal/sql/shared.ts1708 // Step 1: Determine the options object and initial URLCOMMENT
LOWsrc/js/internal/sql/shared.ts1761 // Step 3: Parse protocol and ensure URL format for non-SQLite databasesCOMMENT
LOW⚡src/js/internal/sql/shared.ts1792 // Step 4: Set adapter from environment if not already set, but ONLY if notCOMMENT
LOW⚡src/js/internal/sql/shared.ts1798 // Step 5: Return early if adapter is explicitly specifiedCOMMENT
LOWsrc/js/internal/sql/shared.ts1811 // Step 6: Infer adapter from protocolCOMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs116 // Step 1: Merge affected scopes to their canonical root.COMMENT
LOW…react_compiler/inference/align_object_method_scopes.rs163 // Step 2: Repoint identifiers whose scopes were mergedCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs266 // Step 1: Collect rewritesCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs269 // Step 2: Apply rewrites by splitting blocksCOMMENT
LOW…mpiler/inference/build_reactive_scope_terminals_hir.rs333 // Step 3: Repoint phis when they refer to a rewritten blockCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs353 // Step 4: Fixup HIR to restore RPO, correct predecessors, renumber instructionsCOMMENT
LOW⚡…mpiler/inference/build_reactive_scope_terminals_hir.rs358 // Step 5: Fix scope and identifier ranges to account for renumbered instructionsCOMMENT
LOW⚡…compiler/inference/propagate_scope_dependencies_hir.rs92 // Step 2: Calculate hoistable dependencies using the tree.COMMENT
LOW⚡…compiler/inference/propagate_scope_dependencies_hir.rs98 // Step 3: Reduce dependencies to a minimal set.COMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1018 // Step 1: Collect identifier to function expression mappingsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1046 // Step 2: Forward pass to analyze assumed function callsCOMMENT
LOW…compiler/inference/propagate_scope_dependencies_hir.rs1119 // Step 3: Propagate assumed-invoked status through mayInvoke chainsCOMMENT
LOWsrc/runtime/server/StaticRoute.rs498 // Step 1: If-Match (strong comparison); step 2: If-Unmodified-SinceCOMMENT
LOW⚡src/runtime/server/StaticRoute.rs515 // Step 3: If-None-Match (weak comparison). Presence suppresses step 4.COMMENT
LOW⚡src/runtime/server/StaticRoute.rs521 // Step 4: If-Modified-Since (only when If-None-Match is absent).COMMENT
LOWsrc/runtime/webcore/Body.rs1831 // Step 1: If this is unusable, throw a TypeError.COMMENT
LOWsrc/runtime/webcore/Body.rs1846 // Step 2: null body → a new empty closed ReadableStream.COMMENT
LOWsrc/jsc/bindings/NodeVM.cpp1447 // Step 1: Argument validationCOMMENT
LOWsrc/jsc/bindings/NodeVM.cpp1490 // Step 3: Create a new functionCOMMENT
LOWsrc/jsc/bindings/BunHeapProfiler.cpp280 // Step 1: Build post-order indexes via DFS from root (node 0)COMMENT
9 more matches not shown…
AI Slop Vocabulary33 hits · 91 pts
SeverityFileLineSnippetContext
MEDIUMbench/react-hello-world/react-hello-world.workerd.js16var iC=Object.create;var{getPrototypeOf:tC,defineProperty:XE,getOwnPropertyNames:JC}=Object;var VC=Object.prototype.hasOCODE
MEDIUMbench/react-hello-world/react-hello-world.workerd.js16var iC=Object.create;var{getPrototypeOf:tC,defineProperty:XE,getOwnPropertyNames:JC}=Object;var VC=Object.prototype.hasOCODE
MEDIUMbench/react-hello-world/react-hello-world.workerd.js42$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(aCODE
MEDIUMbench/react-hello-world/react-hello-world.workerd.js42$RC=function(a,b){if(b=document.getElementById(b))(a=document.getElementById(a))?(a.previousSibling.data="$~",$RB.push(aCODE
MEDIUMbench/site/bench/bundler.sh2# rolldown/benchmarks harness on apps/10000 (10k React components / ~19k modules): vite, rsbuild, rspack, rollup, rolldoCOMMENT
MEDIUMbench/site/bench/bundler.sh3# The harness runs `bun build` via `bun` on PATH, so a shim dir pointing at $BUN goes first on PATH.COMMENT
MEDIUMtest/js/web/structured-clone-blob-file.test.ts379 // payload; keeps the test robust against wire-format header changes.COMMENT
MEDIUMtest/js/web/structured-clone-blob-file.test.ts728 // test stays robust against outer serializer framing changes.COMMENT
MEDIUM…js/bun/http/serve-response-stream-sink-leak-fixture.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/install/registry/verdaccio.yaml3# please read carefully the documentation and best practices toCOMMENT
MEDIUMtest/cli/install/registry/verdaccio.yaml9# Read about the best practicesCOMMENT
MEDIUMtest/regression/issue/29585.test.ts16// pattern) keeps the check robust against any future naming scheme.COMMENT
MEDIUMpackages/h3blast/src/h3blast.c790 // Rewind and erase the previous frame in one shot — robust to wrapped lines.COMMENT
MEDIUM.github/workflows/source-lints.yml84 # paths, or `harness` (resolved via test/tsconfig.json `paths`), so aCOMMENT
MEDIUMsrc/js/internal/repl/completion.js602 // upstream-todo(dario-piotrowicz): make this more robust, right now we only split by spacesCOMMENT
MEDIUMsrc/js/node/http2.ts2655 // 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.rs516 /// 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.rs436 // Definitely safe to prune since they are read-onlyCOMMENT
MEDIUMsrc/runtime/shell/interpreter.rs7//! performance reasons and also to leverage Bun's existing IO/FS codeCOMMENT
MEDIUMsrc/runtime/allocators/LinuxMemFdAllocator.rs2//! leverage copy-on-write memory to avoid actually copying the data. To do thatCOMMENT
MEDIUMsrc/runtime/bake/FrameworkRouter.rs1230 /// Fast enough for development to be seamless, but avoids building aCOMMENT
MEDIUMsrc/runtime/bake/dev_server/source_map_store.rs360 /// utilize the bottom 32 bits of their keys. This is because the bottomCOMMENT
MEDIUMsrc/runtime/bake/bun-framework-react/server.tsx195 // The RSC payload is provided so client-side can use this file for seamlessCOMMENT
MEDIUMsrc/runtime/socket/WindowsNamedPipe.rs6//! and Windows Named Pipe operations, enabling seamless cross-platformCOMMENT
MEDIUMsrc/ast/expr.rs2513 break 'brk left; // Definitely not null or undefinedCODE
MEDIUMsrc/ast/expr.rs2517 break 'brk PrimitiveType::Mixed; // Definitely some kind of primitiveCODE
MEDIUMsrc/crash_handler/lib.rs1977 // https://github.com/go-delve/delve/pull/1384COMMENT
MEDIUMsrc/jsc/bindings/js_classes.ts3 // tests if a value is an instanceof a native class in a robust cross-realm mannerCOMMENT
Modern AI Meta-Vocabulary11 hits · 40 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.rs152// ─── shared scaffold for Bun.{TOML,JSONC,JSON5,YAML}.parse ───────────────────COMMENT
MEDIUM⚡src/runtime/api.rs157// (c) parse-error class + Expr→JS tail — so this helper owns ONLY the scaffoldCOMMENT
MEDIUMsrc/runtime/test_runner/expect.rs1701 /// the matcher-scaffold family alongside [`Self::run_unary_predicate`] andCOMMENT
MEDIUM⚡src/runtime/test_runner/expect.rs1972// ─── unary-predicate matcher scaffold ────────────────────────────────────COMMENT
MEDIUM⚡src/runtime/test_runner/expect.rs1977 /// Shared scaffold for zero-arg `expect(v).toBeX()` matchers whose pass/failCOMMENT
MEDIUMsrc/runtime/test_runner/expect.rs2005 /// Shared scaffold for one-arg `expect(v).toStartWith/toEndWith/toInclude(expected)`COMMENT
MEDIUM⚡src/runtime/timer/mod.rs34// Shared scaffold for `TimeoutObject` / `ImmediateObject`: both are aCOMMENT
MEDIUMsrc/runtime/api/XMLObject.rs68 // The scaffold hands the string's code units over as bytes.COMMENT
Empty Error Handlers4 hits · 20 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
Slop Phrases10 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMtest/js/web/fetch/fixture.html1115 bun implements Node.js&#x27; module resolution algorithm, so you can use npm packages in Bun. ESM andCODE
MEDIUMtest/js/bun/toml/toml-test-suite.test.ts1579 '[fruit]\napple.color = "red"\napple.taste.sweet = true\n\n# [fruit.apple] # INVALID\n# [fruit.apple.taste] # INCODE
MEDIUMtest/js/bun/toml/toml-test-suite.test.ts1696 '# This makes the key "fruit" into a table.\nfruit.apple.smooth = true\n\n# So then you can add to the table "fruiCODE
MEDIUMtest/js/bun/toml/toml-test-suite.test.ts6546 '[fruit]\napple.color = "red"\napple.taste.sweet = true\n\n[fruit.apple] # INVALID\n# [fruit.apple.taste] # INVACODE
MEDIUMtest/js/bun/toml/toml-test-suite.test.ts6559 '[fruit]\napple.color = "red"\napple.taste.sweet = true\n\n# [fruit.apple] # INVALID\n[fruit.apple.taste] # INVACODE
LOWtest/js/bun/css/files/tachyons.css692 2. Don't forget to clearfix your floats with .cfCODE
LOWpackages/bun-usockets/src/internal/internal.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.rs2357 // explicit use switch without else so if new modes are added, we don't forget to check for duplicate fiCOMMENT
LOWsrc/jsc/bindings/sqlite/JSSQLStatement.cpp2461 // Don't forget to reset before releasing the exception.COMMENT
Cross-Language Confusion2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py87 # Extract the content and convert to JS array.toString() formatCOMMENT
HIGHtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py104 # JavaScript Object.toString() returns "[object Object]"COMMENT
Redundant / Tautological Comments13 hits · 14 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/shell/bunshell.test.ts2035 # 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 Padding9 hits · 11 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/js/thirdparty/ws.js1302 // TODO: implement this more properCOMMENT
LOWsrc/runtime/cli/run_command.rs391 let ipc_fd: Option<bun_sys::Fd> = None; // TODO: implement on WindowsCODE
LOWsrc/runtime/bake/DevServer.rs1950 // TODO: implement a proper solution hereCOMMENT
LOWsrc/runtime/bake/dev_server/mod.rs1392 // TODO: implement that. for now it ignores (BUN-10968)COMMENT
LOWsrc/runtime/webcore/Blob.rs4787 // 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.rs1964 // TODO: implement saveExprCommentsHere and use using_loc hereCOMMENT
Deep Nesting10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py12CODE
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py59CODE
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py124CODE
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py197CODE
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py437CODE
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py899CODE
LOWmisctools/lldb/lldb_webkit.py1179CODE
LOWmisctools/lldb/bun_pretty_printer.py70CODE
LOWmisctools/lldb/bun_pretty_printer.py167CODE
LOWmisctools/lldb/bun_pretty_printer.py247CODE
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtest/js/node/test/sequential/test-init.js52 // test-init-index is in fixtures dir as requested by ry, so go thereCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/zlib/lib.rs106 /// In this implementation, inflate() always flushes as much output as possible to the output buffer, and always useCOMMENT
Overly Generic Function Names7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtest/js/third_party/remix/remix-build/server/index.js8function handleRequest(request, responseStatusCode, responseHeaders, remixContext, loadContext) {CODE
LOW…st/js/node/test/parallel/test-http2-ip-address-host.js34 function handleRequest(url) {CODE
LOW…rallel/test-async-hooks-stack-overflow-nested-async.js31 function processData(data, depth = 0) {CODE
LOWtest/bake/dev/hot.test.ts70 export function doSomething() {CODE
LOWtest/bake/dev/server-sourcemap.test.ts125 "lib/utils.ts": `export function doSomething() {CODE
LOWtest/regression/issue/25648.test.ts15export function doSomething(fn: () => number) {CODE
LOWtest/bundler/bundler_edgecase.test.ts3390 export function getData() {CODE
Excessive Try-Catch Wrapping7 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py929 print("Error: yaml package is not installed. Please run: npm install yaml")STRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py431 except Exception as e:STRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py1025 except Exception as e:STRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py1072 except Exception as e:STRING
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py1117 except Exception as e:STRING
LOWmisctools/lldb/bun_pretty_printer.py302 except Exception as e:CODE
MEDIUMmisctools/lldb/bun_pretty_printer.py43def bun_BabyList_SummaryProvider(value, _=None):CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWscripts/sync-react-compiler.sh14# Usage:COMMENT
LOWscripts/update-sqlite-amalgamation.sh8# Usage:COMMENT
LOWmisctools/unicode-generator.ts119// Example usage:COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py384 # Create a temporary JavaScript file to parse the YAMLCOMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py6CODE
LOWtest/js/node/readline/run-with-pty.py5CODE
LOWmisctools/lldb/bun_pretty_printer.py3CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWmisctools/lldb/lldb_webkit.py648CODE