Rofi: A window switcher, application launcher and dmenu replacement
This report summarizes scanner evidence for davatorium/rofi, a C project with 16,507 GitHub stars. SynthScan examined 45,506 lines of code across 138 source files, recording 49 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 1.1 (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? 48 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 49 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 49 distinct pattern matches across 3 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 | test/textbox-test.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | test/widget-test.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | test/helper-tokenize.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | test/helper-expand.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | test/helper-pidfile.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | test/helper-test.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | test/theme-parser-test.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | test/box-test.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | test/mode-test.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | test/scrollbar-test.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | test/helper-config-cmdline-parser.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | include/view-internal.h | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | include/input-codes.h | 41 | #define BTN_MIDDLE 0x112 | COMMENT |
| LOW | include/view.h | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | include/modes/modes.h | 41 | #include "modes/filebrowser.h" | COMMENT |
| LOW | source/rofi.c | 41 | #include <sys/types.h> | COMMENT |
| LOW | source/rofi.c | 61 | #include "helper.h" | COMMENT |
| LOW | source/history.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | source/rofi-icon-fetcher.c | 41 | #include "display.h" | COMMENT |
| LOW | source/theme.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | source/helper.c | 41 | #include <fcntl.h> | COMMENT |
| LOW | source/xrmoptions.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | source/view.c | 41 | #include <glib.h> | COMMENT |
| LOW | source/xcb/display.c | 41 | #include <math.h> | COMMENT |
| LOW | source/xcb/display.c | 61 | #define sn_launcher_context_set_application_id sn_launcher_set_application_id | COMMENT |
| LOW | source/xcb/view.c | 41 | #include <unistd.h> | COMMENT |
| LOW | source/xcb/view.c | 61 | COMMENT | |
| LOW | source/modes/ssh.c | 41 | #include <stdlib.h> | COMMENT |
| LOW | source/modes/drun.c | 41 | #include <limits.h> | COMMENT |
| LOW | source/modes/recursivebrowser.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | source/modes/recursivebrowser.c | 41 | #include <glib-unix.h> | COMMENT |
| LOW | source/modes/run.c | 41 | #include <errno.h> | COMMENT |
| LOW | source/modes/filebrowser.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | source/modes/filebrowser.c | 41 | #include "helper.h" | COMMENT |
| LOW | source/modes/wayland-window.c | 41 | #include "helper.h" | COMMENT |
| LOW | source/modes/dmenu.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | source/modes/dmenu.c | 41 | #include <ctype.h> | COMMENT |
| LOW | source/modes/window.c | 41 | #include <unistd.h> | COMMENT |
| LOW | source/modes/help-keys.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | source/wayland/display.c | 21 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | COMMENT |
| LOW | source/wayland/display.c | 41 | #include <glib.h> | COMMENT |
| LOW | source/wayland/display.c | 61 | #include "display.h" | COMMENT |
| LOW | source/wayland/view.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | source/wayland/view.c | 41 | COMMENT | |
| LOW | source/widgets/listview.c | 21 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | COMMENT |
| LOW | source/widgets/textbox.c | 21 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | COMMENT |
| LOW | source/widgets/widget.c | 281 | // | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Examples/rofi-file-browser.sh | 15 | # Create the directory for the files of the script | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | source/widgets/textbox.c | 246 | rofi_theme_get_string(WIDGET(tb), "placeholder", NULL); | CODE |