AI Slop Code Risk Monitor

jarun/nnn

SlopCodeMonitor badge for jarun/nnn Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

n³ The unorthodox terminal file manager

9.0 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for jarun/nnn, a C project with 22,101 GitHub stars. SynthScan examined 19,049 lines of code across 36 source files, recording 240 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 9.0 (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.

9.0
Adjusted Signal
9.0
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
22.1K
Stars
C
Language
19.0K
Lines of Code
36
Files
240
Pattern Hits
2026-10-31
Scan Date
0.08
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 33.5/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 3.9/100 · LOW

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

Agent Over-Engineering Ratio 2.5/100 · LOW

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

PR Review Velocity Impact 49.3/100 · MEDIUM

Which changes need focused human review? 240 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 0HIGH 3MEDIUM 2LOW 235

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 240 distinct pattern matches across 7 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.

Over-Commented Block221 hits · 137 pts
SeverityFileLineSnippetContext
LOWmisc/musl/musl-static-ubuntu.sh1#!/usr/bin/env shCOMMENT
LOWmisc/test/nnn_runner.sh1#!/bin/shCOMMENT
LOWmisc/test/nnn_runner.sh21#COMMENT
LOWmisc/test/nnn_runner.sh41# Left Send arrow left (\033[D)COMMENT
LOWmisc/test/verify-du.sh1#!/bin/shCOMMENT
LOWmisc/test/test-76ee5803.sh1#!/bin/shCOMMENT
LOWmisc/packagecore/packagecore.yaml101# - libreadline7COMMENT
LOWsrc/icons.h21 #define ICON_STR(I, N, E) NCOMMENT
LOWsrc/icons.h41#define ICON_PADDING_LEFT ""COMMENT
LOWsrc/icons.h61#define ICON_CLOJURE ICON_STR(MFIZZ_CLOJURE, "", "")COMMENT
LOWsrc/icons.h81#define ICON_MANUAL ICON_STR(FILE_MANPAGE, "󱓷", "❓")COMMENT
LOWsrc/icons.h101#define ICON_TEX ICON_STR(FILE_TEX, "󰙩", ICON_DOCUMENT)COMMENT
LOWsrc/nnn.c41#endifCOMMENT
LOWsrc/nnn.c61COMMENT
LOWsrc/nnn.c81#include <locale.h>COMMENT
LOWsrc/nnn.c101#include <time.h>COMMENT
LOWsrc/nnn.c121 * (-std=...) and not all standard libraries do or supply it, e.g.COMMENT
LOWsrc/nnn.c141 * https://github.com/jarun/nnn/issues/1692COMMENT
LOWsrc/nnn.c161#ifndef S_BLKSIZECOMMENT
LOWsrc/nnn.c181#undef MAXCOMMENT
LOWsrc/nnn.c201#define NEWLINE_CHAR '\n'COMMENT
LOWsrc/nnn.c221#define SIZE_8KB (8 * 1024) /* 8 KB in bytes */COMMENT
LOWsrc/nnn.c241COMMENT
LOWsrc/nnn.c261#define FILE_SCANNED 0x20COMMENT
LOWsrc/nnn.c581alignas(max_align_t) static char g_pipepath[TMP_LEN_MAX];COMMENT
LOWsrc/nnn.c601#define UTIL_SH_EXEC 7COMMENT
LOWsrc/nnn.c661/* Common strings */COMMENT
LOWsrc/nnn.c681#define MSG_NEW_PATH 19COMMENT
LOWsrc/nnn.c801 "nnn",COMMENT
LOWsrc/nnn.c861#define C_HRD (C_FIL + 1) /* Hard link: Plum4 */COMMENT
LOWsrc/nnn.c881#define NUM_EVENT_SLOTS 1COMMENT
LOWsrc/nnn.c901#define setdirwatch() (cfg.filtermode ? (presel = FILTER) : (watch = TRUE))COMMENT
LOWsrc/icons-in-terminal.h1#ifndef ICONS_IN_TERMINALCOMMENT
LOWsrc/icons-in-terminal.h21# define POWERLINE_EXTRA_FORWARDSLASH_SEPARATOR_REDUNDANT "\ue0bd"COMMENT
LOWsrc/icons-in-terminal.h41# define POWERLINE_EXTRA_TRAPEZOID_TOP_BOTTOM_MIRRORED "\ue0d4"COMMENT
LOWsrc/icons-in-terminal.h61# define OCT_FILE_PDF "\ue013"COMMENT
LOWsrc/icons-in-terminal.h81# define OCT_TOOLS "\ue027"COMMENT
LOWsrc/icons-in-terminal.h101# define OCT_CREDIT_CARD "\ue03b"COMMENT
LOWsrc/icons-in-terminal.h121# define OCT_PLUS "\ue04f"COMMENT
LOWsrc/icons-in-terminal.h141# define OCT_BOOKMARK "\ue063"COMMENT
LOWsrc/icons-in-terminal.h161# define OCT_ELLIPSIS "\ue077"COMMENT
LOWsrc/icons-in-terminal.h181# define OCT_TERMINAL "\ue08b"COMMENT
LOWsrc/icons-in-terminal.h201# define OCT_BOLD "\ue09f"COMMENT
LOWsrc/icons-in-terminal.h221# define FA_USER "\ue0e8"COMMENT
LOWsrc/icons-in-terminal.h241# define FA_INBOX "\ue0fc"COMMENT
LOWsrc/icons-in-terminal.h261# define FA_BOLD "\ue110"COMMENT
LOWsrc/icons-in-terminal.h281# define FA_ARROWS "\ue124"COMMENT
LOWsrc/icons-in-terminal.h301# define FA_TIMES_CIRCLE_O "\ue138"COMMENT
LOWsrc/icons-in-terminal.h321# define FA_PLANE "\ue14c"COMMENT
LOWsrc/icons-in-terminal.h341# define FA_THUMBS_O_UP "\ue160"COMMENT
LOWsrc/icons-in-terminal.h361# define FA_UNLOCK "\ue174"COMMENT
LOWsrc/icons-in-terminal.h381# define FA_ARROWS_ALT "\ue188"COMMENT
LOWsrc/icons-in-terminal.h401# define FA_GOOGLE_PLUS_SQUARE "\ue19c"COMMENT
LOWsrc/icons-in-terminal.h421# define FA_UMBRELLA "\ue1b0"COMMENT
LOWsrc/icons-in-terminal.h441# define FA_PLUS_SQUARE "\ue1c4"COMMENT
LOWsrc/icons-in-terminal.h461# define FA_FOLDER_O "\ue1d8"COMMENT
LOWsrc/icons-in-terminal.h481# define FA_INFO "\ue1ec"COMMENT
LOWsrc/icons-in-terminal.h501# define FA_UNLOCK_ALT "\ue200"COMMENT
LOWsrc/icons-in-terminal.h521# define FA_GBP "\ue214"COMMENT
LOWsrc/icons-in-terminal.h541# define FA_XING_SQUARE "\ue228"COMMENT
161 more matches not shown…
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHmisc/test/test-listing-selection.py24 if (argc != 6 || fstat(STDIN_FILENO, &sb) || sb.st_size <= 0 || sb.st_size > UINT_MAX)CODE
HIGHmisc/test/test-listing-selection.py28 if (!pselbuf || fread(pselbuf, 1, selbuflen, stdin) != selbuflen || pselbuf[selbufpos - 1])CODE
HIGHmisc/test/test-listing-selection.py41 if (nselected != selected || g_state.selmode != !atoi(argv[4]) || selbufpos > selbuflen)CODE
Hyper-Verbose Identifiers12 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡misc/test/test-listing-selection.py90 def test_literal_directory_names(self):STRING
LOW⚡misc/test/test-listing-selection.py98 def test_multiple_and_nested_paths(self):STRING
LOW⚡misc/test/test-listing-selection.py102 def test_newline_followed_by_slash_is_not_a_separator(self):STRING
LOW⚡misc/test/test-listing-selection.py106 def test_expansion_beyond_original_allocation(self):STRING
LOW⚡misc/test/test-listing-selection.py111 def test_repeated_normalization(self):STRING
LOW⚡misc/test/test-listing-selection.py115 def test_sibling_prefix_is_unchanged(self):STRING
LOW⚡misc/test/test-listing-selection.py118 def test_listing_directory_itself(self):STRING
LOW⚡misc/test/test-listing-selection.py121 def test_root_prefix_preserves_existing_serialization(self):STRING
LOW⚡misc/test/test-listing-selection.py124 def test_selection_mode_is_preserved_when_requested(self):STRING
LOW⚡misc/test/test-listing-selection.py127 def test_non_listing_selection_is_unchanged(self):STRING
LOWmisc/test/test-quitcd-fish.py68 def test_missing_directory_does_not_change_directory(self):CODE
LOWmisc/test/test-quitcd-fish.py74 def test_no_lastd_does_not_change_directory(self):CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMmisc/test/nnn_runner.sh305# Create a FIFO for feeding input to nnnCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMsrc/nnn.c5964 // TODO: Find a more robust solution.COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmisc/test/nnn_runner.sh11# Usage:COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWmisc/test/benchmark.sh5# Don't forget to build nnn in benchmark mode: make O_BENCH=1COMMENT