Sioyek is a PDF viewer with a focus on textbooks and research papers
This report summarizes scanner evidence for ahrm/sioyek, a C project with 9,975 GitHub stars. SynthScan examined 113,237 lines of code across 131 source files, recording 164 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.6 (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? 157 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 24 finding(s).
Which changes need focused human review? 164 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 164 distinct pattern matches across 9 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 | pdf_viewer/fts_fuzzy_match.h | 1 | // LICENSE | COMMENT |
| LOW | pdf_viewer/fts_fuzzy_match.h | 21 | // fuzzy_match(...) | COMMENT |
| LOW | pdf_viewer/fts_fuzzy_match.h | 221 | #endif // FTS_FUZZY_MATCH_IMPLEMENTATION | COMMENT |
| LOW | pdf_viewer/utils.h | 1 | #pragma once | COMMENT |
| LOW | pdf_viewer/document_view.h | 1 | #pragma once | COMMENT |
| LOW | pdf_viewer/ui.cpp | 1 | #include "ui.h" | COMMENT |
| LOW | pdf_viewer/ui.cpp | 161 | // goto_page_button = new QPushButton("Goto Page", this); | COMMENT |
| LOW | pdf_viewer/ui.cpp | 181 | // layout->addWidget(open_document_button); | COMMENT |
| LOW | pdf_viewer/ui.cpp | 321 | // main_widget->handle_command_types(std::move(command), 0); | COMMENT |
| LOW | pdf_viewer/ui.cpp | 401 | // QObject::connect(ruler_mode_bounds_config_button, &QPushButton::pressed, [&](){ | COMMENT |
| LOW | pdf_viewer/ui.cpp | 421 | main_widget->show_current_widget(); | COMMENT |
| LOW | pdf_viewer/ui.cpp | 461 | move((parent_width - w) / 2, (parent_height - h) / 2); | COMMENT |
| LOW | pdf_viewer/ui.cpp | 481 | // }); | COMMENT |
| LOW | pdf_viewer/ui.cpp | 701 | SearchButtons::SearchButtons(MainWidget* parent) : QWidget(parent) { | COMMENT |
| LOW | pdf_viewer/ui.cpp | 801 | // QFile source_file("qrc:/pdf_viewer/qml/MyColorPicker.qml"); | COMMENT |
| LOW | pdf_viewer/ui.cpp | 1161 | COMMENT | |
| LOW | pdf_viewer/book.h | 1 | #pragma once | COMMENT |
| LOW | pdf_viewer/input.h | 1 | #pragma once | COMMENT |
| LOW | pdf_viewer/utils.cpp | 1 | //#include <Windows.h> | COMMENT |
| LOW | pdf_viewer/utils.cpp | 21 | #include <qurl.h> | COMMENT |
| LOW | pdf_viewer/utils.cpp | 661 | // } | COMMENT |
| LOW | pdf_viewer/utils.cpp | 2101 | //QString url = "https://github.com/ahrm/sioyek/releases/latest"; | COMMENT |
| LOW | pdf_viewer/utils.cpp | 3441 | // bool was_last_character_space = true; | COMMENT |
| LOW | pdf_viewer/utils.cpp | 3461 | // } | COMMENT |
| LOW | pdf_viewer/main_widget.h | 1 | #pragma once | COMMENT |
| LOW | pdf_viewer/input.cpp | 1 | #include <QtCore/qcontainerfwd.h> | COMMENT |
| LOW | pdf_viewer/input.cpp | 1901 | //public: | COMMENT |
| LOW | pdf_viewer/input.cpp | 6981 | // while ((index < str.size()) && ch() == ' ') { | COMMENT |
| LOW | pdf_viewer/input.cpp | 7001 | // if (next_command_name.size()) { | COMMENT |
| LOW | pdf_viewer/input.cpp | 7021 | // if (next_invocation) { | COMMENT |
| LOW | pdf_viewer/input.cpp | 7041 | // } | COMMENT |
| LOW | pdf_viewer/input.cpp | 7061 | // bool is_next_non_whitespace_character_a_single_quote() { | COMMENT |
| LOW | pdf_viewer/input.cpp | 7081 | // QStringList res; | COMMENT |
| LOW | pdf_viewer/input.cpp | 7101 | // break; | COMMENT |
| LOW | pdf_viewer/input.cpp | 7121 | // } | COMMENT |
| LOW | pdf_viewer/ui.h | 1 | #pragma once | COMMENT |
| LOW | pdf_viewer/ui.h | 21 | #include <qinputmethod.h> | COMMENT |
| LOW | pdf_viewer/ui.h | 41 | #include <qcheckbox.h> | COMMENT |
| LOW | pdf_viewer/ui.h | 761 | // QPushButton* fullscreen_button; | COMMENT |
| LOW | pdf_viewer/ui.h | 781 | COMMENT | |
| LOW | pdf_viewer/config.h | 1 | #pragma once | COMMENT |
| LOW | pdf_viewer/pdf_renderer.h | 1 | #pragma once | COMMENT |
| LOW | pdf_viewer/shell.c | 41 | #if defined(_MSC_VER) | COMMENT |
| LOW | pdf_viewer/shell.c | 61 | */ | COMMENT |
| LOW | pdf_viewer/shell.c | 81 | #include "sqlite3.h" | COMMENT |
| LOW | pdf_viewer/shell.c | 101 | # if defined(__MINGW32__) | COMMENT |
| LOW | pdf_viewer/shell.c | 121 | COMMENT | |
| LOW | pdf_viewer/shell.c | 141 | # define shell_read_history(X) | COMMENT |
| LOW | pdf_viewer/shell.c | 161 | # endif | COMMENT |
| LOW | pdf_viewer/shell.c | 1401 | 0x0000000080008009ULL, 0x000000008000000aULL, | COMMENT |
| LOW | pdf_viewer/shell.c | 1421 | # define a22 (p->u.s[12]) | COMMENT |
| LOW | pdf_viewer/shell.c | 2121 | # include <sys/time.h> | COMMENT |
| LOW | pdf_viewer/shell.c | 3101 | int ePhase; /* Current phase */ | COMMENT |
| LOW | pdf_viewer/shell.c | 4261 | COMMENT | |
| LOW | pdf_viewer/shell.c | 9641 | COMMENT | |
| LOW | pdf_viewer/shell.c | 9681 | #define ShellClearFlag(P,X) ((P)->shellFlgs&=(~(X))) | COMMENT |
| LOW | pdf_viewer/database.cpp | 1 | #include "database.h" | COMMENT |
| LOW | pdf_viewer/database.cpp | 441 | // return std::stoi(inp); | COMMENT |
| LOW | pdf_viewer/database.cpp | 461 | // return *inp; | COMMENT |
| LOW | pdf_viewer/database.cpp | 661 | } | COMMENT |
| 70 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/paper_downloader.py | 61 | def is_file_a_paper_with_name(file_name, paper_name): | CODE |
| LOW | scripts/paper_downloader.py | 157 | def get_paper_file_name_with_doi_and_name(doi, paper_name): | CODE |
| LOW | scripts/sioyek.py | 122 | def goto_page_with_page_number(self, text, focus=False): | CODE |
| LOW | scripts/sioyek.py | 290 | def open_document_embedded_from_current_path(self, focus=False): | CODE |
| LOW | scripts/sioyek.py | 422 | def toggle_horizontal_scroll_lock(self, focus=False): | CODE |
| LOW | scripts/sioyek.py | 434 | def execute_predefined_command(self, symbol, focus=False): | CODE |
| LOW | scripts/sioyek.py | 450 | def set_select_highlight_type(self, symbol, focus=False): | CODE |
| LOW | scripts/sioyek.py | 458 | def toggle_window_configuration(self, focus=False): | CODE |
| LOW⚡ | scripts/sioyek.py | 534 | def goto_next_highlight_of_type(self, focus=False): | CODE |
| LOW⚡ | scripts/sioyek.py | 538 | def goto_prev_highlight_of_type(self, focus=False): | CODE |
| LOW⚡ | scripts/sioyek.py | 542 | def add_highlight_with_current_type(self, focus=False): | CODE |
| LOW | scripts/sioyek.py | 758 | def get_non_embedded_highlights(self): | CODE |
| LOW | scripts/sioyek.py | 775 | def get_non_embedded_bookmarks(self): | CODE |
| LOW | scripts/sioyek.py | 867 | def get_text_selection_begin_and_end(self, page_number, text, num_errors=0): | CODE |
| LOW | scripts/sioyek.py | 890 | def highlight_page_text_fault_tolerant(self, page_number, text, focus=False): | CODE |
| LOW | scripts/tools/extract_command_docs.py | 47 | def get_undocumented_commands(documented_command_names, all_command_names): | CODE |
| LOW | scripts/tts/manager_server.py | 70 | def convert_text_to_appropriate_format_for_tts(text): | CODE |
| LOW | scripts/tts/manager_server.py | 151 | def create_files_or_wait_for_background(self, path, page_number, fast): | CODE |
| LOW | scripts/tts/manager_server.py | 263 | def better_audio_is_available(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/paper_downloader.py | 49 | except ValueError as e: | CODE |
| HIGH | scripts/tts/manager_server.py | 298 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | build_mac.sh | 42 | # Define the path to the Info.plist file inside the app bundle | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pdf_viewer/synctex/synctex_parser_utils.c | 320 | dest = NULL;/* Don't forget to reinitialize. */ | CODE |
| MEDIUM | data/config_docs.json | 1 | {"background_color": "<div class=\"document\" id=\"background-color\">\n<h1 class=\"title\"><code>background_color</code | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pdf_viewer/synctex/synctex_parser.c | 4161 | /* The purpose of this function is to read a string. | COMMENT |
| LOW | fzf/fzf.c | 1213 | // If we have an inverse term we need to check if we have a match, but | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/paper_downloader.py | 138 | except Exception as e: | CODE |
| LOW | scripts/paper_downloader.py | 184 | except Exception as e: | CODE |
| LOW | scripts/tts/manager_server.py | 298 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/paper_downloader.py | 124 | CODE | |
| LOW | scripts/tts/manager_server.py | 53 | CODE | |
| LOW | scripts/tts/manager_server.py | 287 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/tools/extract_command_docs.py | 4 | CODE | |
| LOW | scripts/tts/manager_server.py | 35 | CODE |