Repository Analysis

jarun/nnn

n³ The unorthodox terminal file manager

8.1 Low AI signal View on GitHub
8.1
Adjusted Score
8.1
Raw Score
100%
Time Factor
2026-05-28
Last Push
21,600
Stars
C
Language
18,156
Lines of Code
34
Files
226
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 2LOW 224

Pattern Findings

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

Over-Commented Block222 hits · 138 pts
SeverityFileLineSnippet
LOWmisc/musl/musl-static-ubuntu.sh1#!/usr/bin/env sh
LOWmisc/test/nnn_runner.sh1#!/bin/sh
LOWmisc/test/nnn_runner.sh21#
LOWmisc/test/nnn_runner.sh41# Left Send arrow left (\033[D)
LOWmisc/test/verify-du.sh1#!/bin/sh
LOWmisc/test/test-76ee5803.sh1#!/bin/sh
LOWmisc/packagecore/packagecore.yaml101# - libreadline7
LOWsrc/icons.h21 #define ICON_STR(I, N, E) N
LOWsrc/icons.h41#define ICON_PADDING_LEFT ""
LOWsrc/icons.h61#define ICON_CLOJURE ICON_STR(MFIZZ_CLOJURE, "", "")
LOWsrc/icons.h81#define ICON_MANUAL ICON_STR(FILE_MANPAGE, "󱓷", "❓")
LOWsrc/icons.h101#define ICON_TEX ICON_STR(FILE_TEX, "󰙩", ICON_DOCUMENT)
LOWsrc/nnn.c41#endif
LOWsrc/nnn.c61
LOWsrc/nnn.c81#ifndef NOLC
LOWsrc/nnn.c101#include <time.h>
LOWsrc/nnn.c121 * (-std=...) and not all standard libraries do or supply it, e.g.
LOWsrc/nnn.c141 * https://github.com/jarun/nnn/issues/1692
LOWsrc/nnn.c161#ifndef S_BLKSIZE
LOWsrc/nnn.c181#undef MAX
LOWsrc/nnn.c201#define NEWLINE_CHAR '\n'
LOWsrc/nnn.c221#define SIZE_8KB (8 * 1024) /* 8 KB in bytes */
LOWsrc/nnn.c241/* Large selection threshold */
LOWsrc/nnn.c261#define FILE_YOUNG 0x40
LOWsrc/nnn.c581#elif !defined(__sun) /* no MIME option for 'file' */
LOWsrc/nnn.c601#define UTIL_NTFY 15
LOWsrc/nnn.c661#define MSG_CP_MV_AS 7
LOWsrc/nnn.c681#define MSG_NOT_SET 27
LOWsrc/nnn.c741 "unchanged",
LOWsrc/nnn.c801#define NSEC_MTIME(sb) ((uint_t)(sb).st_mtimespec.tv_nsec)
LOWsrc/nnn.c841 "'%s' | tr '\\n' '\\0' | xargs -0 -n2 sh -c '%s \"$0\" \"$@\" < /dev/tty'",
LOWsrc/nnn.c881static bool haiku_nm_active = FALSE;
LOWsrc/nnn.c901#define xerror() perror(xitoa(__LINE__))
LOWsrc/icons-in-terminal.h1#ifndef ICONS_IN_TERMINAL
LOWsrc/icons-in-terminal.h21# define POWERLINE_EXTRA_FORWARDSLASH_SEPARATOR_REDUNDANT "\ue0bd"
LOWsrc/icons-in-terminal.h41# define POWERLINE_EXTRA_TRAPEZOID_TOP_BOTTOM_MIRRORED "\ue0d4"
LOWsrc/icons-in-terminal.h61# define OCT_FILE_PDF "\ue013"
LOWsrc/icons-in-terminal.h81# define OCT_TOOLS "\ue027"
LOWsrc/icons-in-terminal.h101# define OCT_CREDIT_CARD "\ue03b"
LOWsrc/icons-in-terminal.h121# define OCT_PLUS "\ue04f"
LOWsrc/icons-in-terminal.h141# define OCT_BOOKMARK "\ue063"
LOWsrc/icons-in-terminal.h161# define OCT_ELLIPSIS "\ue077"
LOWsrc/icons-in-terminal.h181# define OCT_TERMINAL "\ue08b"
LOWsrc/icons-in-terminal.h201# define OCT_BOLD "\ue09f"
LOWsrc/icons-in-terminal.h221# define FA_USER "\ue0e8"
LOWsrc/icons-in-terminal.h241# define FA_INBOX "\ue0fc"
LOWsrc/icons-in-terminal.h261# define FA_BOLD "\ue110"
LOWsrc/icons-in-terminal.h281# define FA_ARROWS "\ue124"
LOWsrc/icons-in-terminal.h301# define FA_TIMES_CIRCLE_O "\ue138"
LOWsrc/icons-in-terminal.h321# define FA_PLANE "\ue14c"
LOWsrc/icons-in-terminal.h341# define FA_THUMBS_O_UP "\ue160"
LOWsrc/icons-in-terminal.h361# define FA_UNLOCK "\ue174"
LOWsrc/icons-in-terminal.h381# define FA_ARROWS_ALT "\ue188"
LOWsrc/icons-in-terminal.h401# define FA_GOOGLE_PLUS_SQUARE "\ue19c"
LOWsrc/icons-in-terminal.h421# define FA_UMBRELLA "\ue1b0"
LOWsrc/icons-in-terminal.h441# define FA_PLUS_SQUARE "\ue1c4"
LOWsrc/icons-in-terminal.h461# define FA_FOLDER_O "\ue1d8"
LOWsrc/icons-in-terminal.h481# define FA_INFO "\ue1ec"
LOWsrc/icons-in-terminal.h501# define FA_UNLOCK_ALT "\ue200"
LOWsrc/icons-in-terminal.h521# define FA_GBP "\ue214"
162 more matches not shown…
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMmisc/test/nnn_runner.sh305# Create a FIFO for feeding input to nnn
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMsrc/nnn.c5808 // TODO: Find a more robust solution.
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWmisc/test/nnn_runner.sh11# Usage:
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippet
LOWmisc/test/benchmark.sh5# Don't forget to build nnn in benchmark mode: make O_BENCH=1