Repository Analysis

oven-sh/bun

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

7.5 Low AI signal View on GitHub
7.5
Adjusted Score
7.5
Raw Score
100%
Time Factor
2026-05-30
Last Push
92,650
Stars
Rust
Language
2,464,079
Lines of Code
9660
Files
11171
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 14HIGH 29MEDIUM 4094LOW 7034

Pattern Findings

11171 matches across 18 categories. Click a row to expand file-level details.

Decorative Section Separators4057 hits · 11733 pts
SeverityFileLineSnippet
MEDIUMCargo.toml118# ─── Release optimization ───────────────────────────────────────────────────
MEDIUMtest/js/web/fetch/fetch-http3-client.test.ts455 // ───── streaming uploads (pull-driven request bodies) ─────
MEDIUMtest/js/web/fetch/fetch-http3-client.test.ts499 // ───── bidirectional ─────
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts32// ─── raw server with full preface control ────────────────────────────────────
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts106// ─────────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts328 // ───────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts330 // ───────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/web/fetch/fetch-http2-adversarial.test.ts441// ─── session-key regressions ─────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts71 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts73 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts123 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts125 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts149 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts151 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts198 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts200 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts250 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts252 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts300 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/terminal/terminal-platform-gaps.test.ts302 // ──────────────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts27// this file should be runnable standalone) ────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts146// ─── 1. format confusion / lying magic bytes ─────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts181// ─── 2. truncation at every boundary ─────────────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts310// ─── 3. lying / overflowing header fields ────────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts389// ─── 4. malformed PNG chunk structure ────────────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts435// ─── 5. malformed JPEG / EXIF ────────────────────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts471// ─── 6. lossless roundtrip parity ────────────────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts535// ─── 7. memory hygiene under repetition ──────────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts590// ─── 8. hostile JS option objects ────────────────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts709// ─── 9. concurrency / re-use ─────────────────────────────────────────────────
MEDIUMtest/js/bun/image/image-adversarial.test.ts744// ─── 10. random-byte fuzz (cheap, bounded) ───────────────────────────────────
MEDIUMtest/js/bun/image/image-kernels.test.ts10// ─── plumbing (PNG build/read; same shape as image.test.ts) ─────────────────
MEDIUMtest/js/bun/image/image-kernels.test.ts110// ─── resize filters ─────────────────────────────────────────────────────────
MEDIUMtest/js/bun/image/image-kernels.test.ts233// ─── Floyd–Steinberg dither ─────────────────────────────────────────────────
MEDIUMtest/js/bun/image/image-vs-sharp.test.ts34// failure modes; small so the fixture stays a few-hundred KB) ────────────
MEDIUMtest/js/bun/image/image-vs-sharp.test.ts73// ─── PNG plumbing (same hand-roller as the other suites) ────────────────────
MEDIUMtest/js/bun/image/image-vs-sharp.test.ts165// back, in the same iteration order the test uses. ─────────────────────────
MEDIUMtest/js/bun/image/image.test.ts6// ─── Fixture builders ───────────────────────────────────────────────────────
MEDIUMtest/js/bun/image/image.test.ts142// ─── Tests ──────────────────────────────────────────────────────────────────
MEDIUMtest/js/bun/image/image.test.ts1218 // ── LZW pack ──────────────────────────────────────────────────────────
MEDIUMtest/js/bun/image/image.test.ts1266 // ── container ─────────────────────────────────────────────────────────
MEDIUMtest/js/bun/yaml/yaml.test.ts1670 // ── Nesting depth / structural variation ──────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts46// ─── PARALLEL: BASIC ──────────────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts110// ─── PARALLEL: FILE SCRIPTS ───────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts158// ─── PARALLEL: ERROR HANDLING ─────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts243// ─── PARALLEL: OUTPUT FORMATTING ──────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts406// ─── STDOUT / STDERR SEPARATION ──────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts467// ─── SEQUENTIAL: BASIC ───────────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts566// ─── PRE/POST SCRIPTS ────────────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts742// ─── VALIDATION & ERROR MESSAGES ──────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts780// ─── MIXED STDOUT / STDERR ────────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts813// ─── SCRIPTS WITH SHELL FEATURES ──────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts871// ─── SCRIPT NAMES WITH SPECIAL CHARACTERS ─────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts920// ─── RAPID EXIT / TIMING ─────────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts963// ─── EXIT CODE PROPAGATION ───────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts1012// ─── CWD / WORKING DIRECTORY ────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts1034// ─── EXPLICIT RUN COMMAND ───────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts1053// ─── LARGE OUTPUT / STRESS ──────────────────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts1087// ─── RAW COMMANDS (NOT IN PACKAGE.JSON) ─────────────────────────────────────
MEDIUMtest/cli/run/multi-run.test.ts1124// ─── SEQUENTIAL: SIDE EFFECTS ORDERING ──────────────────────────────────────
3997 more matches not shown…
Over-Commented Block6258 hits · 5524 pts
SeverityFileLineSnippet
LOWCargo.toml121# CGUs ≈ 1680 separately-optimized units with NO cross-crate inlining beyond
LOWCargo.toml161strip = "none"
LOWCargo.toml181strip = "symbols"
LOWrustfmt.toml1# rustfmt config for the Cargo workspace. Formatting is the toolchain default
LOWbunfig.toml1[test]
LOWrust-toolchain.toml1[toolchain]
LOWbench/snippets/buffer.js21// time("DataView.getBigInt64 (BE)", () => view.getBigInt64(0, false));
LOWbench/snippets/buffer.js41time("Buffer.readFloatLE ", () => buf.readFloatLE(0));
LOWbench/snippets/buffer.js61// console.log("");
LOWbench/snippets/buffer.js81time("Buffer.writeBigUInt64BE", () => buf.writeBigUInt64BE(BigInt(0), 0));
LOWbench/snippets/buffer.js101// console.log("");
LOWbench/snippets/deep-equals.js341 // get foo() {
LOWbench/install/next-env.d.ts1/// <reference types="next" />
LOWtest/v8/v8-module/main.cpp1#include <node.h>
LOWtest/v8/v8-module/main.cpp441}
LOWtest/snippets/lodash-regexp.js21// export function test() {
LOWtest/js/workerd/html-rewriter-leak.test.ts1import { expect, test } from "bun:test";
LOWtest/js/web/structured-clone-blob-file.test.ts361 });
LOW…/js/web/abort/abort-signal-event-listener-leak.test.ts1import { estimateShallowMemoryUsageOf } from "bun:jsc";
LOW…bsocket/websocket-proxy-tunnel-upgrade-leak-fixture.ts1// Repro for HTTPUpgradeClient leak on wss:// through an HTTP CONNECT proxy
LOW…b/websocket/websocket-proxy-tunnel-client-leak.test.ts1import { expect, test } from "bun:test";
LOWtest/js/web/websocket/websocket-utf16-headers.test.ts1// Regression test for WebSocket upgrade request crash on non-ASCII inputs.
LOW…ebsocket/websocket-proxy-tunnel-client-leak-fixture.ts1// Repro for NewWebSocketClient(false) leak on wss:// through an HTTP CONNECT
LOWtest/js/web/intl/intl.test.ts1// ECMA-402 Intl coverage. Doubles as the regression net for the per-item zstd
LOWtest/js/web/intl/intl.test.ts241// ---------------------------------------------------------------------------
LOWtest/js/web/timers/timers-fixture-unref.js81// See https://github.com/nodejs/node/issues/9561
LOW…t/js/web/html/FormData-multipart-serialization.test.ts101 expect(new Uint8Array(await payload.arrayBuffer())).toEqual(bytes);
LOWtest/js/web/html/FormData-file-error-leak.test.ts1import { expect, test } from "bun:test";
LOWtest/js/web/html/FormData-file-error-leak-fixture.ts1// Fixture for FormData → multipart body memory leak on readFile failure.
LOW…/js/web/broadcastchannel/message-event-init-gc.test.ts1import { expect, test } from "bun:test";
LOW…b/broadcastchannel/broadcast-channel-worker-gc.test.ts101);
LOWtest/js/web/fetch/http-chunked-server.c1// Simple HTTP server that reproduces a streaming response body bug.
LOWtest/js/web/fetch/fetch-tcp-keepalive.test.ts1// Verifies that fetch() enables TCP keepalive (SO_KEEPALIVE + TCP_KEEPIDLE)
LOWtest/js/web/fetch/fetch-tcp-keepalive.test.ts41 // Parse /proc/self/net/tcp: find ESTABLISHED (state 01) socket with
LOW…st/js/web/fetch/fetch-proxy-tls-intern-race-fixture.ts1// Subprocess fixture for fetch-proxy-tls-intern-race.test.ts.
LOWtest/js/web/fetch/fetch-abort-queued.test.ts1// When `active_requests_count >= max_simultaneous_requests`, new fetch()
LOWtest/js/web/fetch/blob.test.ts261});
LOWtest/js/web/fetch/fetch-http3-client.test.ts341
LOWtest/js/web/fetch/headers.test.ts581
LOWtest/js/web/fetch/fetch-http3-adversarial.test.ts221 }
LOWtest/js/web/fetch/wasm-streaming.test.ts21// (module
LOWtest/js/web/fetch/fetch-stream-cancel-leak.test.ts1import { heapStats } from "bun:jsc";
LOWtest/js/web/fetch/fetch-redirect.test.ts101 // (~21 MiB each). Without it, allocator growth plateaus after warmup so
LOWtest/js/web/fetch/fetch-leak.test.ts301 });
LOWtest/js/web/fetch/fetch-proxy-tls-intern-race.test.ts1// Regression test: SSLConfig intern/deref race (UAF) — see PR #27838, #27863
LOWtest/js/web/fetch/fetch.test.ts2181
LOWtest/js/web/fetch/cookies.test.ts61 // "content-type": "text/plain; charset=utf-8",
LOWtest/js/web/fetch/cookies.test.ts81 // dispatcher: client,
LOWtest/js/web/workers/worker-postmessage-transfer.test.ts1// Worker-side self.postMessage(message, transfer) overload resolution.
LOWtest/js/web/workers/performance-observer-leak.test.ts1import { expect, test } from "bun:test";
LOW…/web/workers/message-port-context-destroy-leak.test.ts1import { expect, test } from "bun:test";
LOWtest/js/valkey/test-utils.ts401
LOWtest/js/valkey/test-utils.ts421 // await context.redisReadOnly.send("PING", []);
LOWtest/js/valkey/reliability/recovery.test.ts1import { RedisClient } from "bun";
LOWtest/js/valkey/reliability/recovery.test.ts41 // closes, the client moves to disconnected, and `flags.failed` is
LOWtest/js/first_party/undici/undici.test.ts141 const json = (await body.json()) as { headers: { "x-foo": string } };
LOWtest/js/bun/symbols.test.ts81To fix this, figure out which C math symbol is being used that causes it, and wrap it in workaround-missing-symbols.cpp.
LOWtest/js/bun/empty-file.test.ts1// See https://github.com/oven-sh/bun/pull/7695
LOWtest/js/bun/crypto/wpt-webcrypto.generateKey.test.ts21 run_test_failure([name]);
LOWtest/js/bun/crypto/cipheriv-decipheriv.test.ts141 ciphertext: "8497dba3f7f3252e7f5f3cf2c49c5e16cd83da98a942532537a77283afb875ec5a865020ced4242615edb7ec2eaf7e6c",
6198 more matches not shown…
Hyper-Verbose Identifiers577 hits · 588 pts
SeverityFileLineSnippet
LOWtest/harness.ts215export function makeTreeSyncFromDirectoryTree(base: string, tree: DirectoryTree) {
LOWtest/harness.ts369export function randomInvalidSurrogatePair() {
LOWtest/harness.ts1049function failTestsOnBlockingWriteCall() {
LOWtest/harness.ts1523export function fileDescriptorLeakChecker() {
LOWtest/_util/numeric.ts93 export function computePearsonCorrelation(xs: number[], ys: number[]): number {
LOWtest/_util/numeric.ts160 export function computeAverageAbsoluteDeviation(xs: number[]): number {
LOWtest/js/deno/crypto/random.test.ts51test(function getRandomValuesReturnValue() {
LOWtest/js/deno/crypto/webcrypto.test.ts506test(async function subtleCryptoHmacImportExport() {
LOWtest/js/deno/crypto/webcrypto.test.ts755test(async function testHkdfDeriveBitsWithLargeKeySize() {
LOWtest/js/deno/crypto/webcrypto.test.ts768test(async function testEcdhDeriveBitsWithShorterLength() {
LOWtest/js/deno/crypto/webcrypto.test.ts782test(async function testEcdhDeriveBitsWithLongerLength() {
LOWtest/js/deno/crypto/webcrypto.test.ts795test(async function testEcdhDeriveBitsWithNullLength() {
LOWtest/js/deno/crypto/webcrypto.test.ts1063test(async function testDecryptWithInvalidIntializationVector() {
LOWtest/js/deno/crypto/webcrypto.test.ts2559test(async function ecPrivateKeyMaterialExportSpki() {
LOWtest/js/deno/crypto/webcrypto.test.ts2603test(async function testImportLeadingZeroesKey() {
LOWtest/js/deno/abort/abort-controller.test.ts52test(function controllerHasProperToString() {
LOWtest/js/deno/encoding/encoding.test.ts285test(function toStringShouldBeWebCompatibility() {
LOWtest/js/deno/encoding/encoding.test.ts291test(function textEncoderShouldCoerceToString() {
LOWtest/js/deno/url/urlsearchparams.test.ts6test(function urlSearchParamsWithMultipleSpaces() {
LOWtest/js/deno/url/urlsearchparams.test.ts13test(function urlSearchParamsWithExclamation() {
LOWtest/js/deno/url/urlsearchparams.test.ts23test(function urlSearchParamsWithQuotes() {
LOWtest/js/deno/url/urlsearchparams.test.ts33test(function urlSearchParamsWithBraket() {
LOWtest/js/deno/url/urlsearchparams.test.ts53test(function urlSearchParamsInitString() {
LOWtest/js/deno/url/urlsearchparams.test.ts58test(function urlSearchParamsInitStringWithPlusCharacter() {
LOWtest/js/deno/url/urlsearchparams.test.ts66test(function urlSearchParamsInitStringWithMalformedParams() {
LOWtest/js/deno/url/urlsearchparams.test.ts114test(function urlSearchParamsAppendSuccess() {
LOWtest/js/deno/url/urlsearchparams.test.ts119test(function urlSearchParamsDeleteSuccess() {
LOWtest/js/deno/url/urlsearchparams.test.ts125test(function urlSearchParamsGetAllSuccess() {
LOWtest/js/deno/url/urlsearchparams.test.ts137test(function urlSearchParamsGetSuccess() {
LOWtest/js/deno/url/urlsearchparams.test.ts144test(function urlSearchParamsHasSuccess() {
LOWtest/js/deno/url/urlsearchparams.test.ts151test(function urlSearchParamsSetReplaceFirstAndRemoveOthers() {
LOWtest/js/deno/url/urlsearchparams.test.ts157test(function urlSearchParamsSetAppendNew() {
LOWtest/js/deno/url/urlsearchparams.test.ts163test(function urlSearchParamsSortSuccess() {
LOWtest/js/deno/url/urlsearchparams.test.ts169test(function urlSearchParamsForEachSuccess() {
LOWtest/js/deno/url/urlsearchparams.test.ts190test(function urlSearchParamsMissingName() {
LOWtest/js/deno/url/urlsearchparams.test.ts196test(function urlSearchParamsMissingValue() {
LOWtest/js/deno/url/urlsearchparams.test.ts202test(function urlSearchParamsMissingEqualSign() {
LOWtest/js/deno/url/urlsearchparams.test.ts208test(function urlSearchParamsMissingPair() {
LOWtest/js/deno/url/urlsearchparams.test.ts213test(function urlSearchParamsForShortEncodedChar() {
LOWtest/js/deno/url/urlsearchparams.test.ts221test(function urlSearchParamsShouldThrowTypeError() {
LOWtest/js/deno/url/urlsearchparams.test.ts86test(function urlSearchParamsInitIterable() {
LOWtest/js/deno/url/urlsearchparams.test.ts100test(function urlSearchParamsInitRecord() {
LOWtest/js/deno/url/urlsearchparams.test.ts256test(function urlSearchParamsAppendArgumentsCheck() {
LOWtest/js/deno/url/urlsearchparams.test.ts299test(function urlSearchParamsDeletingAppendedMultiple() {
LOWtest/js/deno/url/urlsearchparams.test.ts311test(function urlSearchParamsCustomSymbolIterator() {
LOWtest/js/deno/url/urlsearchparams.test.ts322test(function urlSearchParamsCustomSymbolIteratorWithNonStringParams() {
LOWtest/js/deno/url/urlsearchparams.test.ts333test(function urlSearchParamsOverridingAppendNotChangeConstructorAndSet() {
LOWtest/js/deno/url/urlsearchparams.test.ts354test(function urlSearchParamsOverridingEntriesNotChangeForEach() {
LOWtest/js/deno/url/url.test.ts267test(function deletingAllParamsRemovesQuestionMarkFromURL() {
LOWtest/js/deno/url/url.test.ts274test(function removingNonExistentParamRemovesQuestionMarkFromURL() {
LOWtest/js/deno/url/url.test.ts281test(function sortingNonExistentParamRemovesQuestionMarkFromURL() {
LOWtest/js/deno/url/url.test.ts294test(function throwForInvalidPortConstructor() {
LOWtest/js/deno/url/url.test.ts308test(function doNotOverridePortIfInvalid() {
LOWtest/js/deno/url/url.test.ts314test(function emptyPortForSchemeDefaultPort() {
LOWtest/js/deno/url/url.test.ts333test(function assigningPortPropertyAffectsReceiverOnly() {
LOWtest/js/deno/url/url.test.ts340test(function urlSearchParamsIdentityPreserved() {
LOWtest/js/deno/url/url.test.ts347test(function urlTakeURLObjectAsParameter() {
LOWtest/js/deno/fetch/blob.test.ts111test(function blobConstructorNameIsBlob() {
LOWtest/js/deno/fetch/blob.test.ts115test.ignore(function blobCustomInspectFunction() {
LOWtest/js/deno/fetch/headers.test.ts7test(function headersHasCorrectNameProp() {
517 more matches not shown…
Hallucination Indicators14 hits · 165 pts
SeverityFileLineSnippet
CRITICALsrc/install/PackageManager/runTasks.rs1117 task.request.local_tarball.tarball.url.slice()
CRITICALsrc/install/PackageManager/security_scanner.rs176 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();
CRITICALsrc/install/PackageManager/security_scanner.rs207 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();
CRITICALsrc/install/PackageManager/security_scanner.rs731 let string_buf = self.manager.lockfile.buffers.string_bytes.as_slice();
CRITICALsrc/js_printer/lib.rs8482 // TODO(port): printer.source_map_builder.source_map.ctx.data.deinit() — Drop handles.
CRITICALsrc/runtime/cli/publish_command.rs920 bstr::BStr::new(if !ctx.manager.options.publish_config.tag.is_empty() {
CRITICALsrc/runtime/cli/publish_command.rs952 if !ctx.manager.options.publish_config.otp.is_empty() {
CRITICALsrc/runtime/cli/publish_command.rs2046 let tag: &[u8] = if !ctx.manager.options.publish_config.tag.is_empty() {
CRITICALsrc/runtime/api/JSTranspiler.rs385 let Ok(Some(json)) = vm.transpiler.resolver.caches.json.parse_json(
CRITICALsrc/runtime/api/bun/subprocess/Writable.rs325 // Zig: `pipe.writer.handle.poll.flags.insert(.socket);`
CRITICALsrc/sys/windows/mod.rs4658 // TODO(port): comptime bun.assert(builtin.target.os.version_range.windows.min.isAtLeast(.win10_rs5));
CRITICALsrc/sys/windows/mod.rs4704 // TODO(port): comptime bun.assert(builtin.target.os.version_range.windows.min.isAtLeast(.win10_rs5));
CRITICALsrc/js_parser/visit/visit_stmt.rs1174 let new_len = if !(data.is_export && p.options.features.replace_exports.entries.len() > 0) {
CRITICALsrc/jsc/AsyncModule.rs870 // result.version.value.npm.version.isExact()`. The Rust
Cross-Language Confusion (JS/TS)23 hits · 142 pts
SeverityFileLineSnippet
HIGHtest/js/bun/test/printing/diffexample.fixture.ts228 print("Hello, world!");
HIGHtest/js/bun/test/printing/diffexample.fixture.ts229 print("Goodbye, world!");
HIGHtest/js/bun/test/printing/diffexample.fixture.ts233 print("Hello, world!");
HIGHtest/js/bun/test/printing/diffexample.fixture.ts234 print("Goodbye, world!");
HIGHtest/js/bun/shell/bunshell.test.ts2069elif echo baz;then echo qux;fi`
HIGHtest/bundler/bundler_jsx.test.ts151 print(<div>Hello World</div>)
HIGHtest/bundler/bundler_jsx.test.ts152 print(<div className="container"><Component prop={2}><h1 onClick={() => 1}>hello</h1></Component></div>)
HIGHtest/bundler/bundler_jsx.test.ts173 print(<div>Hello World</div>)
HIGHtest/bundler/bundler_jsx.test.ts174 print(<div className="container"><Component prop={2}><h1 onClick={() => 1}>hello</h1></Component></div>)
HIGHtest/bundler/bundler_jsx.test.ts175 print(<>Fragment</>)
HIGHtest/bundler/bundler_jsx.test.ts196 print([typeof F, typeof el])
HIGHtest/bundler/bundler_jsx.test.ts209 print([<div props={123}>Hello World</div>, <>Fragment</>])
HIGHtest/bundler/bundler_jsx.test.ts230 print([<div props={123}>Hello World</div>, <>Fragment</>])
HIGHtest/bundler/bundler_jsx.test.ts252 print([<div props={123}>Hello World</div>, <>Fragment</>])
HIGHtest/bundler/bundler_jsx.test.ts281 print(['classic.jsx',<div props={123}>Hello World</div>, <>Fragment</>])
HIGHtest/bundler/bundler_jsx.test.ts289 print(['classic-renamed.jsx',<div props={123}>Hello World</div>, <>Fragment</>])
HIGHtest/bundler/bundler_jsx.test.ts293 print(['automatic.jsx',<div props={123}>Hello World</div>, process.env.NODE_ENV === 'production' ? '' : <>Fragme
HIGHtest/bundler/bundler_jsx.test.ts298 print(['automatic-source2.jsx',<div props={123}>Hello World</div>, <>Fragment</>])
HIGHtest/bundler/bundler_jsx.test.ts324 print([<div props={123}>Hello World</div>, <>Fragment</>])
HIGHtest/bundler/bundler_jsx.test.ts346 print([<div props={123}>Hello World</div>, <>Fragment</>])
HIGHtest/bundler/bundler_jsx.test.ts374 print([<div props={123}>Hello World</div>, <>Fragment</>])
HIGHtest/bundler/bundler_jsx.test.ts394 print([<div props={123}>Hello World</div>, <>Fragment</>])
HIGHscripts/glob-sources.ts196 print(sources[arg as keyof Sources]);
Fake / Example Data109 hits · 132 pts
SeverityFileLineSnippet
LOWbench/snippets/buffer-includes.js2 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a
LOWbench/snippets/buffer-includes.js2 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a
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,
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,
LOWbench/snippets/_fixture.txt1339 <td id="LC135" class="blob-code blob-code-inner js-file-line"> let string_long_escaped = &quot;\n Lorem ip
LOWbench/snippets/_fixture.txt1339 <td id="LC135" class="blob-code blob-code-inner js-file-line"> let string_long_escaped = &quot;\n Lorem ip
LOWbench/snippets/_fixture.txt1343 <td id="LC136" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">let</span> string_short <sp
LOWbench/snippets/_fixture.txt1343 <td id="LC136" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">let</span> string_short <sp
LOWbench/snippets/_fixture.txt1351 <td id="LC138" class="blob-code blob-code-inner js-file-line"> <span class="pl-s">&quot;Lorem ipsum dolor
LOWbench/snippets/_fixture.txt1351 <td id="LC138" class="blob-code blob-code-inner js-file-line"> <span class="pl-s">&quot;Lorem ipsum dolor
LOWbench/snippets/_fixture.txt1355 <td id="LC139" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">let</span> no_escape <span
LOWbench/snippets/_fixture.txt1355 <td id="LC139" class="blob-code blob-code-inner js-file-line"> <span class="pl-k">let</span> no_escape <span
LOWbench/snippets/_fixture.txt1363 <td id="LC141" class="blob-code blob-code-inner js-file-line"><span class="pl-s">Lorem ipsum dolor sit amet, con
LOWbench/snippets/_fixture.txt1363 <td id="LC141" class="blob-code blob-code-inner js-file-line"><span class="pl-s">Lorem ipsum dolor sit amet, con
LOWtest/js/workerd/html-rewriter.test.js490 .transform(new Response("<p>Lorem ipsum!</p>"))
LOWtest/js/workerd/html-rewriter.test.js505 .transform(new Response("<p>Lorem ipsum!<br></p><div />"))
LOWtest/js/workerd/html-rewriter.test.js523 .transform(new Response("<p>Lorem ipsum!<br></p><div /><svg><circle /></svg>"))
LOWtest/js/valkey/integration/complex-operations.test.ts191 await ctx.redis.set(`${baseKey}:name`, "John Doe");
LOWtest/js/valkey/integration/complex-operations.test.ts219 expect(nameValue).toBe("John Doe");
LOWtest/js/bun/test/expect.test.js3939 expect(`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a n
LOWtest/js/bun/test/expect.test.js3939 expect(`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a n
LOWtest/js/bun/test/expect.test.js3941 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nunc h
LOWtest/js/bun/test/expect.test.js3941 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nunc h
LOWtest/js/bun/test/jest-extended.test.js650 expect(`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a n
LOWtest/js/bun/test/jest-extended.test.js650 expect(`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a n
LOWtest/js/bun/test/jest-extended.test.js652 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nunc h
LOWtest/js/bun/test/jest-extended.test.js652 `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec nec posuere felis. Aliquam tincidunt elit a nunc h
LOWtest/js/bun/test/fake-timers/sinonjs/issue-437.test.ts17 return "Lorem ipsum";
LOWtest/js/bun/test/fake-timers/sinonjs/issue-437.test.ts24 assert.equals(dateTime.foo(), "Lorem ipsum");
LOWtest/js/bun/http/bun-serve-routes.test.ts58 id: "user@example.com",
LOWtest/js/bun/http/decodeURIComponentSIMD.test.ts21 "user@example.com",
LOWtest/js/bun/md/spec-tables.txt142Lorem ipsum dolor sit amet.
LOWtest/js/bun/md/spec-tables.txt142Lorem ipsum dolor sit amet.
LOWtest/js/bun/md/spec-tables.txt149<p>Lorem ipsum dolor sit amet.</p>
LOWtest/js/bun/md/spec-tables.txt149<p>Lorem ipsum dolor sit amet.</p>
LOWtest/js/bun/md/spec-tables.txt170Lorem ipsum dolor sit amet.
LOWtest/js/bun/md/spec-tables.txt170Lorem ipsum dolor sit amet.
LOWtest/js/bun/md/spec-tables.txt180<tr><td>Lorem ipsum dolor sit amet.</td><td></td></tr>
LOWtest/js/bun/md/spec-tables.txt180<tr><td>Lorem ipsum dolor sit amet.</td><td></td></tr>
LOWtest/js/bun/md/spec.txt9453 "Lorem ipsum dolor\nsit amet."
LOWtest/js/bun/md/spec.txt9512> Lorem ipsum dolor
LOWtest/js/bun/md/spec.txt9527> Lorem ipsum dolor
LOWtest/js/bun/md/spec.txt9539 "Lorem ipsum dolor"
LOWtest/js/bun/md/spec.txt9555 "Lorem ipsum dolor\nsit amet."
LOWtest/js/bun/md/spec.txt9573 "Lorem ipsum dolor\nsit amet."
LOWtest/js/bun/md/spec.txt9595 "Lorem ipsum dolor\nsit amet."
LOWtest/js/bun/md/spec.txt9618 str "Lorem ipsum dolor"
LOWtest/js/third_party/next-auth/fixture/src/auth.ts44 if (credentials?.email === "user@example.com" && credentials?.password === "password") {
LOWtest/js/third_party/next-auth/fixture/src/auth.ts47 email: "user@example.com",
LOW…ird_party/body-parser/express-body-parser-test.test.ts82 expect(req.body).toEqual({ "name": "John Doe", "email": "john.doe@example.com" });
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" }));
LOWtest/js/third_party/astro/astro-post.test.js74 formData.append("name", "John Doe");
LOWtest/js/third_party/astro/astro-post.test.js87 name: "John Doe",
LOW…/js/node/test/parallel/test-zlib-brotli-from-string.js8const inputString = 'ΩΩLorem ipsum dolor sit amet, consectetur adipiscing eli' +
LOW…/js/node/test/parallel/test-zlib-brotli-from-string.js8const inputString = 'ΩΩLorem ipsum dolor sit amet, consectetur adipiscing eli' +
LOWtest/js/node/test/parallel/test-zlib-truncated.js8const inputString = 'ΩΩLorem ipsum dolor sit amet, consectetur adipiscing eli' +
LOWtest/js/node/test/parallel/test-zlib-truncated.js8const inputString = 'ΩΩLorem ipsum dolor sit amet, consectetur adipiscing eli' +
LOWtest/js/node/test/parallel/test-zlib-from-string.js29const inputString = 'ΩΩLorem ipsum dolor sit amet, consectetur adipiscing eli' +
LOWtest/js/node/test/parallel/test-zlib-from-string.js29const inputString = 'ΩΩLorem ipsum dolor sit amet, consectetur adipiscing eli' +
LOW…st/js/node/test/parallel/test-zlib-zstd-from-string.js8const inputString = 'ΩΩLorem ipsum dolor sit amet, consectetur adipiscing eli' +
49 more matches not shown…
AI Slop Vocabulary32 hits · 96 pts
SeverityFileLineSnippet
MEDIUMbench/react-hello-world/react-hello-world.workerd.js16var iC=Object.create;var{getPrototypeOf:tC,defineProperty:XE,getOwnPropertyNames:JC}=Object;var VC=Object.prototype.hasO
MEDIUMbench/react-hello-world/react-hello-world.workerd.js16var iC=Object.create;var{getPrototypeOf:tC,defineProperty:XE,getOwnPropertyNames:JC}=Object;var VC=Object.prototype.hasO
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(a
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(a
MEDIUMtest/js/web/structured-clone-blob-file.test.ts379 // payload; keeps the test robust against wire-format header changes.
MEDIUMtest/js/web/structured-clone-blob-file.test.ts526 // test stays robust against outer serializer framing changes.
MEDIUM…/node/test/parallel/test-timers-unrefed-in-callback.js14// robust is that:
MEDIUM…st/js/node/test/parallel/test-http2-session-timeout.js50 // connection as the timeout should be robust. Double it anyway for good
MEDIUMtest/cli/install/registry/verdaccio.yaml3# please read carefully the documentation and best practices to
MEDIUMtest/cli/install/registry/verdaccio.yaml9# Read about the best practices
MEDIUMpackages/h3blast/src/h3blast.c790 // Rewind and erase the previous frame in one shot — robust to wrapped lines.
MEDIUMsrc/js/internal/http.ts149// TODO: make this more robust.
MEDIUMsrc/js/node/http2.ts2186 // seamless compatibility with http1
MEDIUMsrc/bun_core/env_var.rs13//! but environment variables are not meant to be a robust configuration mechanism. If you do think
MEDIUMsrc/bun_core/env_var.rs462 /// Note that deserialization errors cannot panic. If you need more robust means of
MEDIUMsrc/runtime/shell/interpreter.rs7//! performance reasons and also to leverage Bun's existing IO/FS code
MEDIUMsrc/runtime/allocators/LinuxMemFdAllocator.rs2//! leverage copy-on-write memory to avoid actually copying the data. To do that
MEDIUMsrc/runtime/bake/FrameworkRouter.rs1288 /// Fast enough for development to be seamless, but avoids building a
MEDIUMsrc/runtime/bake/dev_server/source_map_store.rs396 /// utilize the bottom 32 bits of their keys. This is because the bottom
MEDIUMsrc/runtime/bake/bun-framework-react/server.tsx194 // The RSC payload is provided so client-side can use this file for seamless
MEDIUMsrc/runtime/socket/WindowsNamedPipe.rs6//! and Windows Named Pipe operations, enabling seamless cross-platform
MEDIUMsrc/sys/windows/mod.rs1975 /// The Kerberos protocol encountered an error while attempting to utilize the smartcard subsystem.
MEDIUMsrc/ast/expr.rs2903 break 'brk left; // Definitely not null or undefined
MEDIUMsrc/ast/expr.rs2907 break 'brk PrimitiveType::Mixed; // Definitely some kind of primitive
MEDIUMsrc/crash_handler/lib.rs2053 // https://github.com/go-delve/delve/pull/1384
MEDIUMsrc/jsc/bindings/js_classes.ts3 // tests if a value is an instanceof a native class in a robust cross-realm manner
MEDIUMsrc/jsc/bindings/ScriptExecutionContext.h85 // used for things that utilize the same structure clone algorithm, for example, message passing between
MEDIUMsrc/router/Cargo.toml37# Test harness (Test::make / Test::make_routes) needs the AST stores.
MEDIUMsrc/router/lib.rs2499 #[ignore = "TODO(port): depends on Test::make filesystem fixture harness"]
MEDIUMsrc/router/lib.rs2505 #[ignore = "TODO(port): depends on Test::make filesystem fixture harness"]
MEDIUMsrc/router/lib.rs2511 #[ignore = "TODO(port): depends on Test::make filesystem fixture harness"]
MEDIUMsrc/router/lib.rs2517 #[ignore = "TODO(port): depends on Test::make filesystem fixture harness"]
Verbosity Indicators44 hits · 76 pts
SeverityFileLineSnippet
LOWtest/js/sql/sql.test.ts667 // Step 1: Insert a row (succeeds)
LOWtest/js/sql/sql.test.ts673 // Step 2: Try to insert conflicting row (throws expected error)
LOWtest/js/sql/sql.test.ts682 // Step 3: Try another query - THIS WILL HANG
LOWtest/regression/issue/tui-app-tty-pattern.test.ts25 // Step 1: Check if stdin is piped
LOWtest/regression/issue/tui-app-tty-pattern.test.ts34 // Step 2: After stdin EOF, try to reopen /dev/tty
LOWtest/bundler/bundler_compile.test.ts946 // Step 2: Run bun build with compile, minify, sourcemap, and bytecode
LOWscripts/packer/windows-x64.pkr.hcl94 // Step 1: Run bootstrap — installs all build dependencies
LOWscripts/packer/windows-x64.pkr.hcl101 // Step 2: Upload agent.mjs
LOWscripts/packer/windows-x64.pkr.hcl107 // Step 3: Install agent service via nssm
LOWscripts/packer/windows-x64.pkr.hcl115 // Step 4: Reboot to clear pending updates (VS Build Tools, Windows Updates)
LOWscripts/packer/windows-x64.pkr.hcl120 // Step 5: Sysprep — MUST be last provisioner
LOWscripts/packer/windows-arm64.pkr.hcl93 // Step 1: Run bootstrap — installs all build dependencies
LOWscripts/packer/windows-arm64.pkr.hcl100 // Step 2: Upload agent.mjs
LOWscripts/packer/windows-arm64.pkr.hcl106 // Step 3: Install agent service via nssm
LOWscripts/packer/windows-arm64.pkr.hcl114 // Step 4: Reboot to clear pending updates (VS Build Tools, Windows Updates)
LOWscripts/packer/windows-arm64.pkr.hcl119 // Step 5: Sysprep — MUST be last provisioner
LOWpackages/bun-uws/src/HttpContext.h328 /* First of all we need to check if this socket was deleted due to upgrade */
LOWpackages/bun-uws/src/HttpContext.h433 /* We need to check if we should close this socket here now */
LOWpackages/bun-uws/src/HttpResponse.h147 /* We need to check if we should close this socket here now */
LOWpackages/bun-uws/src/HttpResponse.h213 /* We need to check if we should close this socket here now */
LOWsrc/install/npm.rs1584 // stability check - if the previous package is blocked from age, we need to check if the current packag
LOWsrc/install/npm.rs1751 // stability check - if the previous package is blocked from age, we need to check if the current package wa
LOWsrc/js/internal/streams/readable.ts1069 // We need to check if there is someone still listening to
LOWsrc/js/internal/streams/readable.ts1088 // We need to check if there is someone still listening to
LOWsrc/js/internal/sql/shared.ts436 // Step 1: Determine the options object and initial URL
LOWsrc/js/internal/sql/shared.ts487 // Step 3: Parse protocol and ensure URL format for non-SQLite databases
LOWsrc/js/internal/sql/shared.ts517 // Step 4: Set adapter from environment if not already set, but ONLY if not
LOWsrc/js/internal/sql/shared.ts523 // Step 5: Return early if adapter is explicitly specified
LOWsrc/js/internal/sql/shared.ts535 // Step 6: Infer adapter from protocol
LOWsrc/runtime/api/bun/js_bun_spawn_bindings.rs356 // Since the event loop is recursively called, we need to check if it's safe to recurse.
LOWsrc/runtime/valkey_jsc/js_valkey.rs1832 // If we're disconnected, we need to check if we have any pending activity.
LOWsrc/threading/channel.rs219 // we need to check if the buffer is empty before trying to read an item.
LOWsrc/jsc/bindings/NodeVM.cpp1242 // Step 1: Argument validation
LOWsrc/jsc/bindings/NodeVM.cpp1283 // Step 3: Create a new function
LOWsrc/jsc/bindings/BunHeapProfiler.cpp281 // Step 1: Build post-order indexes via DFS from root (node 0)
LOWsrc/jsc/bindings/BunHeapProfiler.cpp363 // Step 2: Build dominator tree using Cooper-Harvey-Kennedy algorithm
LOWsrc/jsc/bindings/BunHeapProfiler.cpp481 // Step 3: Calculate retained sizes by attributing size up the dominator tree
LOWsrc/bundler/linker_context/scanImportsAndExports.rs138 // Step 1: Figure out what modules must be CommonJS
LOWsrc/bundler/linker_context/scanImportsAndExports.rs298 // Step 2: Propagate dynamic export status for export star statements that
LOWsrc/bundler/linker_context/scanImportsAndExports.rs360 // Step 3: Resolve "export * from" statements. This must be done after we
LOWsrc/bundler/linker_context/scanImportsAndExports.rs417 // Step 4: Match imports with exports. This must be done after we process all
LOWsrc/bundler/linker_context/scanImportsAndExports.rs489 // Step 5: Create namespace exports for every file. This is always necessary
LOWsrc/bundler/linker_context/scanImportsAndExports.rs542 // Step 6: Bind imports to exports. This adds non-local dependencies on the
LOWsrc/bundler/linker_context/doStep5.rs32 /// Step 5: Create namespace exports for every file. This is always necessary
Cross-Language Confusion4 hits · 25 pts
SeverityFileLineSnippet
HIGHtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py87 # Extract the content and convert to JS array.toString() format
HIGHtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py104 # JavaScript Object.toString() returns "[object Object]"
HIGHmisctools/lldb/lldb_pretty_printers.py563 'null': lambda payload: '@TypeOf(null)',
HIGHmisctools/lldb/lldb_pretty_printers.py564 'undefined': lambda payload: '@TypeOf(undefined)',
Redundant / Tautological Comments14 hits · 16 pts
SeverityFileLineSnippet
LOWtest/js/bun/shell/bunshell.test.ts1681 # Check if we got a non-empty, non-null version string
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py83 # Check if this is a stringified collection from yaml package
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py168 # Check if this is a simple object
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py837 # Check if it's in an array context
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py841 # Check if it's in mapping values (not keys)
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py465 # Check if this is an error test (has 'error' file)
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py699 # Check if YAML has anchors/aliases
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py914 # Check if yaml package is installed (for getting expected values)
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py939 # Check if this is a test directory (has in.yaml)
LOWscripts/lldb-inline.sh11# Check if we need to rebuild
LOWpackages/bun-types/test.d.ts73 * ## Set Date to a specific time
LOWmisctools/lldb/bun_pretty_printer.py75 # Check if it's a pointer type and dereference if needed
LOWmisctools/lldb/bun_pretty_printer.py85 # Check if it's 8-bit (latin1) or 16-bit (utf16) string
LOW.buildkite/Dockerfile-bootstrap.sh4# Check if running as root
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippet
HIGHtest/js/node/test/sequential/test-init.js52 // test-init-index is in fixtures dir as requested by ry, so go there
HIGHsrc/jsc/bindings/DecodeEscapeSequences.h172 // Strings are encoded as requested.
Deep Nesting12 hits · 12 pts
SeverityFileLineSnippet
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py12
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py59
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py124
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py197
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py437
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py899
LOWmisctools/lldb/lldb_webkit.py1179
LOWmisctools/lldb/bun_pretty_printer.py70
LOWmisctools/lldb/bun_pretty_printer.py167
LOWmisctools/lldb/bun_pretty_printer.py247
LOWmisctools/lldb/lldb_pretty_printers.py507
LOWmisctools/lldb/lldb_pretty_printers.py436
Slop Phrases6 hits · 9 pts
SeverityFileLineSnippet
MEDIUMtest/js/web/fetch/fixture.html1115 bun implements Node.js&#x27; module resolution algorithm, so you can use npm packages in Bun. ESM and
LOWtest/js/bun/css/files/tachyons.css692 2. Don't forget to clearfix your floats with .cf
LOWpackages/bun-usockets/src/internal/internal.h97#define POLL_TYPE_BITSIZE 5 // make sure to update epoll_kqueue.h if you change this
LOWpackages/bun-usockets/src/internal/loop_data.h35// IMPORTANT: When changing this, don't forget to update the zig version in uws.zig as well!
LOWsrc/sql_jsc/postgres/PostgresSQLConnection.rs2427 // explicit use switch without else so if new modes are added, we don't forget to check for duplicate fi
LOWsrc/jsc/bindings/sqlite/JSSQLStatement.cpp2352 // Don't forget to reset before releasing the exception.
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py384 # Create a temporary JavaScript file to parse the YAML
MEDIUMscripts/generate-perf-trace-events.sh2# This file is not run often, so we don't need to make it part of the build system.
Excessive Try-Catch Wrapping7 hits · 5 pts
SeverityFileLineSnippet
MEDIUMtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py929 print("Error: yaml package is not installed. Please run: npm install yaml")
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py431 except Exception as e:
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py1025 except Exception as e:
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py1072 except Exception as e:
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py1117 except Exception as e:
LOWmisctools/lldb/bun_pretty_printer.py302 except Exception as e:
MEDIUMmisctools/lldb/bun_pretty_printer.py43def bun_BabyList_SummaryProvider(value, _=None):
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippet
LOWscripts/update-sqlite-amalgamation.sh8# Usage:
LOWmisctools/unicode-generator.ts119// Example usage:
LOWsrc/codegen/generate-compact-string-table.ts19 * ## Usage:
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippet
LOWtest/js/third_party/remix/remix-build/server/index.js8function handleRequest(request, responseStatusCode, responseHeaders, remixContext, loadContext) {
LOWtest/bake/dev/hot.test.ts70 export function doSomething() {
LOWtest/bake/dev/server-sourcemap.test.ts124 "lib/utils.ts": `export function doSomething() {
LOWtest/regression/issue/25648.test.ts15export function doSomething(fn: () => number) {
Unused Imports3 hits · 3 pts
SeverityFileLineSnippet
LOWtest/js/bun/yaml/translate_yaml_test_suite_to_bun.py6
LOWtest/js/node/readline/run-with-pty.py5
LOWmisctools/lldb/bun_pretty_printer.py3