Repository Analysis

valeriansaliou/sonic

🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM.

0.7 Likely human-written View on GitHub
0.7
Adjusted Score
0.7
Raw Score
100%
Time Factor
2026-05-27
Last Push
21,232
Stars
Rust
Language
35,103
Lines of Code
150
Files
23
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 23

Pattern Findings

23 matches across 2 categories. Click a row to expand file-level details.

Over-Commented Block18 hits · 18 pts
SeverityFileLineSnippet
LOWtests/integration/scripts/run.sh1#!/usr/bin/env bash
LOWsrc/stopwords/amh.rs1// Sonic
LOWsrc/stopwords/tuk.rs1// Sonic
LOWsrc/stopwords/ori.rs1// Sonic
LOWsrc/stopwords/bel.rs1// Sonic
LOWsrc/stopwords/jav.rs1// Sonic
LOWsrc/stopwords/uzb.rs1// Sonic
LOWsrc/stopwords/aka.rs1// Sonic
LOWsrc/stopwords/sin.rs1// Sonic
LOWsrc/stopwords/mkd.rs1// Sonic
LOWsrc/stopwords/sna.rs1// Sonic
LOWsrc/stopwords/tel.rs1// Sonic
LOWsrc/stopwords/cym.rs1// Sonic
LOWsrc/util/mod.rs1// Sonic
LOWsrc/server/mod.rs1// Sonic
LOWsrc/executor/flushc.rs1// Sonic
LOWsrc/store/fst.rs601
LOWsrc/tasker/mod.rs1// Sonic
Verbosity Indicators5 hits · 8 pts
SeverityFileLineSnippet
LOWsrc/store/kv.rs205 // Step 1: List keys to be flushed
LOWsrc/store/kv.rs259 // Step 2: Flush KVs, one-by-one (sequential locking; this avoids global locks)
LOWsrc/store/fst.rs215 // Step 1: List keys to be consolidated
LOWsrc/store/fst.rs276 // Step 2: Clear keys to be consolidated from register
LOWsrc/store/fst.rs291 // Step 3: Consolidate FSTs, one-by-one (sequential locking; this avoids global locks)