Repository Analysis

krisk/Fuse

Lightweight fuzzy-search, in JavaScript

2.6 Likely human-written View on GitHub
2.6
Adjusted Score
2.6
Raw Score
100%
Time Factor
2026-05-25
Last Push
20,286
Stars
JavaScript
Language
26,061
Lines of Code
116
Files
26
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 18LOW 8

Pattern Findings

26 matches across 5 categories. Click a row to expand file-level details.

Decorative Section Separators18 hits · 60 pts
SeverityFileLineSnippet
MEDIUMtest/token-search-scenarios.test.js3// ────────────────────────────────────────────────────────────
MEDIUMtest/token-search-scenarios.test.js6// ────────────────────────────────────────────────────────────
MEDIUMsrc/types.ts1// ── Range / indices ────────────────────────────────────────────────
MEDIUMsrc/types.ts5// ── Search internals ───────────────────────────────────────────────
MEDIUMsrc/types.ts34// ── Key types ──────────────────────────────────────────────────────
MEDIUMsrc/types.ts54// ── Get function ───────────────────────────────────────────────────
MEDIUMsrc/types.ts63// ── Tokenize function (token search) ───────────────────────────────
MEDIUMsrc/types.ts73// ── Norm ───────────────────────────────────────────────────────────
MEDIUMsrc/types.ts80// ── Index records ──────────────────────────────────────────────────
MEDIUMsrc/types.ts129// ── Sort function types ────────────────────────────────────────────
MEDIUMsrc/types.ts158// ── Match score (internal) ─────────────────────────────────────────
MEDIUMsrc/types.ts183// ── Options ────────────────────────────────────────────────────────
MEDIUMsrc/types.ts247// ── Search options ─────────────────────────────────────────────────
MEDIUMsrc/types.ts253// ── Result types ───────────────────────────────────────────────────
MEDIUMsrc/types.ts269// ── Expression (logical search) ────────────────────────────────────
MEDIUMsrc/search/extended/matchers.ts5// ── Matcher interface ─────────────────────────────────────────────
MEDIUMsrc/search/extended/matchers.ts16// ── Matcher definition ────────────────────────────────────────────
MEDIUMsrc/search/extended/matchers.ts37// ── Matcher definitions ───────────────────────────────────────────
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippet
LOWbench/parallel-browser/index.html92 const companies = ['Acme Corp','Globex Inc','Initech','Umbrella Co','Stark Industries','Wayne Enterprises','XYZ Corp
LOWtest/token-search-scenarios.test.js333 name: 'Jane Doe',
LOWtest/extended-search.test.js220 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m
LOWtest/extended-search.test.js220 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m
LOWdocs/.vitepress/theme/components/WorkerDemo.vue99const companies = ['Acme Corp','Globex Inc','Initech','Umbrella Co','Stark Industries','Wayne Enterprises','XYZ Corp','Q
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippet
LOWdocs/.vitepress/theme/components/PerfDemo.vue101 // Step 1: Generate data and measure index creation
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippet
LOWsrc/search/token/InvertedIndex.ts134export function removeAndShiftInvertedIndex(
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippet
LOWsrc/search/token/InvertedIndex.ts1import type { Analyzer } from './analyzer'