htop - an interactive process viewer
This report summarizes scanner evidence for htop-dev/htop, a C project with 8,434 GitHub stars. SynthScan examined 51,742 lines of code across 305 source files, recording 89 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 1.8 (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? 89 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 89 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 89 distinct pattern matches across 2 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 | ProvideCurses.h | 21 | #elif defined(HAVE_NCURSES_NCURSES_H) | COMMENT |
| LOW | ProvideTerm.h | 1 | #ifndef HEADER_ProvideTerm | COMMENT |
| LOW | Debug.h | 21 | # define _Static_assert(expr, msg) \ | COMMENT |
| LOW | BacktraceScreen.c | 21 | #include "FunctionBar.h" | COMMENT |
| LOW | Process.c | 21 | #include <sys/resource.h> | COMMENT |
| LOW | CRT.c | 1 | /* | COMMENT |
| LOW | CRT.c | 21 | #include <unistd.h> | COMMENT |
| LOW | CRT.c | 41 | # define PRINT_BACKTRACE | COMMENT |
| LOW | Machine.h | 1 | #ifndef HEADER_Machine | COMMENT |
| LOW | CategoriesPanel.c | 21 | #include "HeaderLayout.h" | COMMENT |
| LOW | ScreensPanel.h | 1 | #ifndef HEADER_ScreensPanel | COMMENT |
| LOW | CommandLine.c | 21 | #include <stdlib.h> | COMMENT |
| LOW | RichString.h | 21 | (this).chptr = (this).chstr; \ | COMMENT |
| LOW | XUtils.h | 1 | #ifndef HEADER_XUtils | COMMENT |
| LOW | TasksMeter.c | 1 | /* | COMMENT |
| LOW | Meter.h | 1 | #ifndef HEADER_Meter | COMMENT |
| LOW | Meter.h | 81 | /* Specifies how the meter is rendered in bar or graph mode: | COMMENT |
| LOW | Macros.h | 21 | #define MAXIMUM(a, b) ((a) > (b) ? (a) : (b)) | COMMENT |
| LOW | Macros.h | 41 | #define SPACESHIP_NULLSTR(a, b) strcmp((a) ? (a) : "", (b) ? (b) : "") | COMMENT |
| LOW | Macros.h | 61 | COMMENT | |
| LOW | Macros.h | 81 | COMMENT | |
| LOW | Macros.h | 101 | #define ATTR_ACCESS3(mode, ref, size) __attribute__((access (mode, ref, size))) | COMMENT |
| LOW | Macros.h | 121 | // const char *[2]' -> char *const * | COMMENT |
| LOW | Settings.c | 1 | /* | COMMENT |
| LOW | Settings.c | 21 | #include <unistd.h> | COMMENT |
| LOW | CRT.h | 181 | #define KEY_ALT(x) (KEY_F(64 - 26) + ((x) - 'A')) | COMMENT |
| LOW | XUtils.c | 1 | /* | COMMENT |
| LOW | Action.c | 21 | #include "CommandScreen.h" | COMMENT |
| LOW | Action.c | 41 | #include "Scheduling.h" | COMMENT |
| LOW | OpenFilesScreen.c | 1 | /* | COMMENT |
| LOW | TraceScreen.c | 1 | /* | COMMENT |
| LOW | Row.h | 101 | #define Row_isHighlighted(r_) (As_Row(r_)->isHighlighted ? (As_Row(r_)->isHighlighted(r_)) : false) | COMMENT |
| LOW | Meter.c | 21 | #include "Object.h" | COMMENT |
| LOW | dragonflybsd/Platform.c | 21 | #include <sys/time.h> | COMMENT |
| LOW | dragonflybsd/DragonFlyBSDMachine.c | 1 | /* | COMMENT |
| LOW | dragonflybsd/DragonFlyBSDProcessTable.c | 1 | /* | COMMENT |
| LOW | dragonflybsd/DragonFlyBSDProcessTable.c | 41 | DragonFlyBSDProcessTable* this = (DragonFlyBSDProcessTable*) cast; | COMMENT |
| LOW | dragonflybsd/Platform.h | 1 | #ifndef HEADER_Platform | COMMENT |
| LOW | dragonflybsd/DragonFlyBSDMachine.h | 1 | #ifndef HEADER_DragonFlyBSDMachine | COMMENT |
| LOW | netbsd/NetBSDMachine.c | 21 | #include <sys/mount.h> | COMMENT |
| LOW | netbsd/NetBSDProcessTable.c | 21 | #include <sys/mount.h> | COMMENT |
| LOW | netbsd/Platform.c | 21 | #include <kvm.h> | COMMENT |
| LOW | netbsd/Platform.c | 41 | #include "FileDescriptorMeter.h" | COMMENT |
| LOW | netbsd/Platform.h | 21 | #include "DiskIOMeter.h" | COMMENT |
| LOW | unsupported/Platform.h | 1 | #ifndef HEADER_Platform | COMMENT |
| LOW | pcp/Platform.c | 21 | #include "CPUMeter.h" | COMMENT |
| LOW | pcp/Platform.c | 41 | #include "XUtils.h" | COMMENT |
| LOW | pcp/PCPProcessTable.c | 21 | #include "Machine.h" | COMMENT |
| LOW | pcp/Platform.h | 21 | #undef PACKAGE_NAME | COMMENT |
| LOW | freebsd/Platform.c | 1 | /* | COMMENT |
| LOW | freebsd/Platform.c | 21 | #include <sys/param.h> | COMMENT |
| LOW | freebsd/FreeBSDProcessTable.c | 1 | /* | COMMENT |
| LOW | freebsd/FreeBSDProcessTable.c | 21 | #include <sys/jail.h> | COMMENT |
| LOW | freebsd/FreeBSDMachine.c | 1 | /* | COMMENT |
| LOW | freebsd/FreeBSDMachine.c | 21 | #include <sys/priority.h> | COMMENT |
| LOW | freebsd/Platform.h | 1 | #ifndef HEADER_Platform | COMMENT |
| LOW | linux/LinuxMachine.h | 101 | ZswapStats zswap; | COMMENT |
| LOW | linux/LinuxMachine.h | 121 | #define PROCARCSTATSFILE PROCDIR "/spl/kstat/zfs/arcstats" | COMMENT |
| LOW | linux/LinuxProcess.c | 21 | COMMENT | |
| LOW | linux/LinuxProcessTable.c | 21 | #include <stddef.h> | COMMENT |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | check-pcp-style.sh | 41 | # Define the required names | COMMENT |