pierre’s open source code
This report summarizes scanner evidence for pierrecomputer/pierre, a TypeScript project with 6,391 GitHub stars. SynthScan examined 457,673 lines of code across 1557 source files, recording 929 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 2.4 (Low 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.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 816 finding(s).
Are imports declared and package/API names verified? 17 finding(s).
Are wrappers, guards, and repeated structures necessary? 746 finding(s).
Which changes need focused human review? 929 finding(s).
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.
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.
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.
The scanner identified 929 distinct pattern matches across 13 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/path-store/demo/main.js | 215 | function getFlattenEmptyDirectoriesEnabled() { | CODE |
| LOW | packages/path-store/demo/main.js | 225 | function warmPresortedFilesIfNeeded() { | CODE |
| LOW | packages/path-store/demo/main.js | 470 | function getSelectedWorkloadSummary() { | CODE |
| LOW | packages/path-store/demo/main.js | 661 | function requireCollapsibleVisibleFolder(store, view, actionId) { | CODE |
| LOW | packages/path-store/demo/main.js | 683 | function requireExpandableVisibleFolder(store, view, actionId) { | CODE |
| LOW | packages/path-store/demo/main.js | 723 | function findVisibleRowBeforeIndex(store, beforeIndex, predicate) { | CODE |
| LOW | packages/path-store/demo/main.js | 753 | function requireCollapsibleFolderAboveViewport(store, view, actionId) { | CODE |
| LOW | packages/path-store/demo/main.js | 778 | function requireVisibleFolderWithGrandparent(store, view, actionId) { | CODE |
| LOW | packages/path-store/demo/main.js | 816 | function requireVisibleLeafWithGrandparent(store, view, actionId) { | CODE |
| LOW | packages/path-store/demo/main.js | 921 | function ensureAsyncDemoDirectories(store, directoryPaths) { | CODE |
| LOW | packages/path-store/demo/main.js | 1642 | async function runPreparedActionWithBenchmark( | CODE |
| LOW | packages/path-store/demo/helpers.js | 31 | export function getMovedPathIntoDirectory(path, destinationDirectoryPath) { | CODE |
| LOW | packages/path-store/demo/helpers.js | 74 | export function getMoveVisibleFolderToParentPlan(store, path) { | CODE |
| LOW | packages/path-store/demo/helpers.js | 86 | export function findMoveVisibleFolderToParentCandidate(store, rows) { | CODE |
| LOW | packages/path-store/demo/helpers.js | 104 | export function findMoveVisibleLeafToParentCandidate(store, rows) { | CODE |
| LOW | …es/path-store/demo/profile/benchmarkInstrumentation.js | 47 | export function createBenchmarkInstrumentation() { | CODE |
| LOW | …ages/path-store/test/path-store-soa-node-store.test.ts | 145 | function assertIdenticalProjection(a: PathStore, b: PathStore): void { | CODE |
| LOW | packages/path-store/test/helpers/storeHarness.ts | 89 | export function createDeepChainWithSiblingDirectoryPaths( | CODE |
| LOW | packages/path-store/test/helpers/storeHarness.ts | 132 | export function getVisibleRowIdentitySnapshot( | CODE |
| LOW | packages/path-store/test/helpers/storeHarness.ts | 147 | export function getVisiblePathDepthSnapshot( | CODE |
| LOW | packages/path-store/test/helpers/storeHarness.ts | 157 | export function getVisiblePathDepthSnapshotViaSingleReads( | CODE |
| LOW | packages/path-store/test/helpers/storeHarness.ts | 173 | export function getExpandedDirectoryPaths(store: PathStore): string[] { | CODE |
| LOW | packages/path-store/test/helpers/storeHarness.ts | 260 | export function createStaticDemoSmallStore(): StaticPathStore { | CODE |
| LOW | …ages/path-store/scripts/visibleTreeProjectionShared.ts | 41 | export function createVisibleTreeProjectionWorkload( | CODE |
| LOW | …ages/path-store/scripts/visibleTreeProjectionShared.ts | 68 | export function createVisibleTreeProjectionScenarios( | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 515 | function createDefaultTraceOutputPath(): string { | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 833 | function createJsonAggregateSummary( | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 849 | function createProfileConfigSummary( | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 1005 | function normalizeWebSocketMessage( | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 1339 | function createUnavailableTraceSummary(): TraceSummary { | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 1525 | function isInternalCpuProfileFrame( | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 1533 | function createUnavailableCpuProfileSummary(): CpuProfileSummary { | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 1754 | async function collectProfilingArtifacts( | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 1830 | function createConfigureExpression( | CODE |
| LOW⚡ | packages/path-store/scripts/profileDemo.ts | 1842 | function createSetupRenderExpression(offset: number): string { | CODE |
| LOW⚡ | packages/path-store/scripts/profileDemo.ts | 1849 | function createPrepareActionExpression(actionId: string): string { | CODE |
| LOW⚡ | packages/path-store/scripts/profileDemo.ts | 1853 | function createProfileRenderExpression(): string { | CODE |
| LOW⚡ | packages/path-store/scripts/profileDemo.ts | 1857 | function createProfileActionExpression( | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 2449 | function printAggregateHumanSummary( | CODE |
| LOW | packages/path-store/scripts/profileDemo.ts | 2477 | function printScenarioHumanSummary( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 622 | function createStaticExpandedStore( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 638 | function createCooperativeBenchStore( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 652 | function createCleanupChurnedStore(workload: BenchmarkWorkload): PathStore { | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 701 | async function waitForSchedulerHandleStatus( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 739 | function getWindowBoundsForProjectionStore( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 782 | function getSequentialScrollBounds( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 831 | function readVisibleWindowFromProjectionStore( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 847 | function getWindowBoundsContainingIndex( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 895 | function findVisiblePathNearBounds( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 938 | function createPreservedViewportReadPlan( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 950 | function createRenderChangedWindowPlan( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 1025 | function requireVisibleDirectoryWithChildren( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 1042 | function requireVisibleDirectoryWithRoom( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 1122 | function getMovedPathIntoDirectory( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 1153 | function createUniqueMovedPathIntoDirectory( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 1168 | function resolveVisibleMoveDestination( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 1225 | function resolveRootMoveDestination( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 1294 | function getHumanBenchmarkFactoryNameWidth( | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 1312 | function getHumanBenchmarkNameWidth(names: readonly string[]): number { | CODE |
| LOW | packages/path-store/scripts/benchmark.ts | 1346 | function printHumanBenchmarkHeader( | CODE |
| 590 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/theme/test/cvd.test.ts | 117 | // ── Tier 1 — color is the only cue (ΔE ≥ 11) ────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/test/cvd.test.ts | 151 | // ── Tier 2 — color + a non-color cue (ΔE ≥ 8) ───────────────────────────── | COMMENT |
| MEDIUM | packages/theme/test/cvd.test.ts | 189 | // ── Tier 3 (advisory) ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/test/cvd.test.ts | 208 | // ── Theme registry ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/test/cvd.test.ts | 227 | // ── Tests ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/test/theme.test.ts | 42 | // ── Palette roles ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/test/theme.test.ts | 100 | // ── Theme generation ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/src/color/cvd.ts | 5 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/src/color/cvd.ts | 7 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/src/color/cvd.ts | 37 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/src/color/cvd.ts | 39 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/src/color/cvd.ts | 255 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/theme/src/color/cvd.ts | 257 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 551 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 553 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 558 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 560 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1234 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1236 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1244 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1246 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1251 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1253 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 124 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 126 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 145 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 147 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 162 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 164 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 201 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 203 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 216 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 218 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 255 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 257 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 276 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 278 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 446 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 448 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 470 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 472 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 495 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 497 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 538 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 540 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 946 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 948 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 967 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 969 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1006 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1008 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1027 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1029 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1147 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1149 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1173 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1175 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1195 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/ReactAPI/constants.ts | 1197 | // ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/docs/VanillaAPI/constants.ts | 363 | // ───────────────────────────────────────────────────────────── | COMMENT |
| 36 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | moon.yml | 1 | $schema: 'https://moonrepo.dev/schemas/project.json' | COMMENT |
| LOW | .moon/tasks/bun-common.yml | 1 | $schema: 'https://moonrepo.dev/schemas/tasks.json' | COMMENT |
| LOW | .moon/tasks/tag-publishable.yml | 1 | $schema: 'https://moonrepo.dev/schemas/tasks.json' | COMMENT |
| LOW | scripts/chrome-remote-debug.sh | 1 | #!/bin/bash | COMMENT |
| LOW | scripts/run-dev.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/wt.ts | 1 | #!/usr/bin/env bun | COMMENT |
| LOW | packages/path-store/moon.yml | 1 | $schema: 'https://moonrepo.dev/schemas/project.json' | COMMENT |
| LOW | packages/path-store/src/builder.ts | 1081 | // backward ensures each child's counts are finalized before its parent | COMMENT |
| LOW | packages/path-store/src/soa-node-store.ts | 1 | // Struct-of-Arrays (SoA) node store for the count-only DFS sweep. | COMMENT |
| LOW | packages/path-store/src/store.ts | 101 | // overrides. This keeps the presorted first-render path from paying for a | COMMENT |
| LOW | packages/path-store/src/store.ts | 221 | rootNode.subtreeNodeCount = 1 + rootTotalChildSubtreeNodeCount; | COMMENT |
| LOW | packages/trees/src/render/FileTreeView.tsx | 3441 | // is included, so a negative sticky inset lets the overscanned slice hang | COMMENT |
| LOW | …ges/trees/src/render/controllerSnapshotSubscription.ts | 1 | // The controller-subscription effect in FileTreeView re-subscribes whenever its | COMMENT |
| LOW | packages/trees/src/model/FileTreeController.ts | 241 | #focusedPath: string | null = null; | COMMENT |
| LOW | packages/trees/src/model/FileTreeController.ts | 261 | #searchCollapsedOverrides = new Set<string>(); | COMMENT |
| LOW | packages/pipes/src/flex.ts | 21 | // Flex pipes (FPIPE.CXX): tubes with an extruded cross-section ("XC") that | COMMENT |
| LOW | packages/theming/test/preq/dist-guards.test.ts | 181 | describe('dist import isolation', () => { | COMMENT |
| LOW | packages/theming/scripts/assert-core-clean.ts | 1 | // Build-time guard: asserts that the core @pierre/theming entry point | COMMENT |
| LOW | packages/theming/scripts/assert-core-clean.ts | 41 | // "${" (or the entire string if there is no interpolation). | COMMENT |
| LOW | packages/theming/src/modules/createThemeResolver.ts | 21 | /** Normalize loaded themes before caching. Seeded themes are already resolved. */ | COMMENT |
| LOW | packages/theme/test/cvd.test.ts | 241 | }); | COMMENT |
| LOW | packages/theme/src/color/cvd.ts | 1 | // CVD (Color Vision Deficiency) simulation — "what does this color look like to a | COMMENT |
| LOW | packages/theme/src/color/cvd.ts | 21 | // pass vs fail, error vs warning) on the axis that *survives* for that | COMMENT |
| LOW | packages/theme/src/color/cvd.ts | 41 | // matrix multiply. The authors published one matrix per deficiency at 11 severity | COMMENT |
| LOW | packages/theme/src/previews/cvd.ts | 1 | import { type CVDType, simulateCVD } from '../color'; | COMMENT |
| LOW | packages/diffs/test/editorApplyEdits.test.ts | 2301 | } | COMMENT |
| LOW | packages/diffs/test/editorSelection.test.ts | 4581 | expect([backward.start, backward.end]).toEqual([10, 13]); | COMMENT |
| LOW | packages/diffs/test/editorSelectionAction.test.ts | 341 | ); | COMMENT |
| LOW | …ges/diffs/test/DiffHunksRendererVirtualization.test.ts | 61 | return 'other'; | COMMENT |
| LOW | …kages/diffs/test/editorDiffActiveLineHighlight.test.ts | 141 | fileDiff.render({ | COMMENT |
| LOW | packages/diffs/test/editorEditStack.test.ts | 841 | // DESIGN MODEL (equivalence, implemented in TextDocument.applyResolvedEdits): | COMMENT |
| LOW | packages/diffs/test/editorDisplayOptionResync.test.ts | 61 | interface DisplayOptionFixture { | COMMENT |
| LOW | packages/diffs/src/renderers/DiffHunksRenderer.ts | 2621 | // or is the raw final line — so trimming it yields comparable content lines. | COMMENT |
| LOW | packages/diffs/src/utils/realignChangeContent.ts | 1 | import type { | COMMENT |
| LOW | …ages/diffs/src/utils/parseMergeConflictDiffFromFile.ts | 1 | // Parses a file containing git merge conflict markers (<<<<<<< / ======= / >>>>>>>) | COMMENT |
| LOW | …ages/diffs/src/utils/parseMergeConflictDiffFromFile.ts | 21 | // | COMMENT |
| LOW | …ages/diffs/src/utils/parseMergeConflictDiffFromFile.ts | 81 | // Which section of a conflict we're currently inside while scanning lines. | COMMENT |
| LOW | …ages/diffs/src/utils/parseMergeConflictDiffFromFile.ts | 141 | action: MergeConflictDiffAction; | COMMENT |
| LOW | …ages/diffs/src/utils/parseMergeConflictDiffFromFile.ts | 341 | // ├─ emitContextLine → ensureActiveHunk | COMMENT |
| LOW | packages/diffs/src/components/VirtualizedFile.ts | 641 | windowSpecs != null | COMMENT |
| LOW | packages/diffs/src/components/FileDiff.ts | 781 | } | COMMENT |
| LOW | packages/diffs/src/components/VirtualizedFileDiff.ts | 921 | ? this.computeRenderRangeFromWindow(fileDiff, this.top, windowSpecs) | COMMENT |
| LOW | packages/diffs/src/components/CodeView.ts | 821 | // will attempt to resolve it's position instantly or as part of a dynamic | COMMENT |
| LOW | packages/diffs/src/components/CodeView.ts | 1241 | COMMENT | |
| LOW | packages/diffs/src/components/CodeView.ts | 3661 | // item/line metrics, we should attempt to resolve any scroll anchors and | COMMENT |
| LOW | packages/diffs/src/components/CodeView.ts | 3721 | this.scrollAnimation = undefined; | COMMENT |
| LOW | packages/diffs/src/highlighter/shiki-editor.ts | 21 | export class ShikiEditorTokenizer implements DiffsEditorTokenizer { | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 461 | #detach?: () => void; | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 481 | wrapLine: number, | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 521 | readonly #editStateKey?: string; | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 541 | // native range without selecting editor text. Gutter gestures only enable | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 561 | #selectionStart: EditorSelection | undefined; | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 581 | #editPredictionRevealed = false; | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 2281 | COMMENT | |
| LOW | packages/diffs/src/editor/editor.ts | 3241 | this.focus(); | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 4621 | this.#fileInstance?.setEditorActiveLine(lineNumber, { | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 6921 | // same. | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 6981 | // #renderCaret/#isLineVisible read it to decide whether to draw the caret. | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 7001 | this.#viewportWindowLines === Infinity | COMMENT |
| LOW | packages/diffs/src/editor/editor.ts | 7401 | // wrapping is enabled. | COMMENT |
| 92 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | apps/docs/app/(diffs)/highlights/languageExamples.ts | 217 | print("hello\\n") | CODE |
| HIGH | apps/docs/app/(diffs)/highlights/languageExamples.ts | 784 | print('\${a.distanceTo(const Point(3, 4))}'); | CODE |
| HIGH | apps/docs/app/(diffs)/highlights/languageExamples.ts | 1737 | print(io, "Point($(p.x), $(p.y)) $MAX_ITER") | CODE |
| HIGH | apps/docs/app/(diffs)/highlights/languageExamples.ts | 1995 | print(index, message) | STRING |
| HIGH | apps/docs/app/(diffs)/highlights/languageExamples.ts | 2032 | print(label, "tab\\there", nil, true, MAX_ITEMS)`, | STRING |
| HIGH | apps/docs/app/(diffs)/highlights/languageExamples.ts | 2764 | print(f"distance² = {distance_squared(Point(0, 0), Point(3, 4))}")`, | STRING |
| HIGH | apps/docs/app/(diffs)/highlights/languageExamples.ts | 2914 | print("hello\\n") | STRING |
| HIGH | apps/docs/app/(diffs)/highlights/languageExamples.ts | 3263 | print("distance² = \\(origin.distanceSquared(to: Point(x: 3, y: 4)))")`, | CODE |
| HIGH | …ps/docs/app/(diffs)/_examples/Annotations/constants.ts | 34 | return None | CODE |
| HIGH | …ps/docs/app/(diffs)/_examples/Annotations/constants.ts | 37 | return None | CODE |
| HIGH | …ps/docs/app/(diffs)/_examples/Annotations/constants.ts | 60 | return None | CODE |
| HIGH | …ps/docs/app/(diffs)/_examples/Annotations/constants.ts | 63 | return None | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/diffs/test/iterateOverDiff.test.ts | 14 | // NOTE(amadeus): These tests were written by an AI and they are probably | COMMENT |
| HIGH | packages/diffs/src/utils/parsePatchFiles.ts | 407 | // things and continue... It's possible an AI generated diff might have | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/diffs/src/components/CodeView.ts | 3526 | // root scrollTop is derived later only if the scaffold needs to move. | COMMENT |
| MEDIUM | packages/diffs/src/components/CodeView.ts | 3551 | // scaffold before mutating rendered items. | COMMENT |
| MEDIUM | packages/diffs/src/components/CodeView.ts | 3884 | // No rendered slice means no sticky scaffold: clear the spacer so an | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/diffs/src/components/VirtualizedFileDiff.ts | 411 | // Definitely need to optimize this in cases where there aren't any custom | COMMENT |
| MEDIUM | packages/diffs/src/components/VirtualizedFileDiff.ts | 822 | // need to figure out how to anchor on different regions, or utilize | COMMENT |
| MEDIUM | packages/highlights/test/stata_test.ts | 114 | '* note\nsum x // tail\nreg y x, ///\n robust\n\n gen\n/* a\n/* b */ c */ list\n' + | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/highlights/test/_samples.ts | 1160 | '### Create a user', | CODE |
| MEDIUM | apps/docs/app/(trees)/_lib/treeAppDemoData.ts | 1905 | ## Creating a new token | COMMENT |
| MEDIUM | apps/docs/app/(diffs)/highlights/languageExamples.ts | 1508 | ### Create a user | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | apps/docs/app/(trees)/_lib/treeAppDemoData.ts | 43 | contents: `CODE_STORAGE_API_KEY=your-api-key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/diffs/test/hydration.test.ts | 233 | element instanceof HTMLElement && 'placeholder' in element.dataset | CODE |
| LOW | packages/highlights/test/groq_test.ts | 434 | '*[_type == "book" && author._ref in *[_type=="author" && name=="John Doe"]._id ]{...}' | CODE |
| LOW | packages/highlights/test/groq_test.ts | 474 | '"John Doe"': 'string', | CODE |
| LOW | packages/highlights/test/markdown_test.ts | 804 | '"See ":none "<":punctuation.bracket "https://example.com/a?b=1":link_uri ">":punctuation.bracket " and ":none "<":p | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/diffs/src/renderers/DiffHunksRenderer.ts | 1733 | // NOTE: This function gets extended so don't remove | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/docs/app/(diffs)/docs/CoreTypes/constants.ts | 35 | // Example usage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/docs/app/(diffs)/docs/TokenHooks/constants.ts | 61 | // Just don't forget to zero out the styles on leave | COMMENT |