rTorrent BitTorrent client
This report summarizes scanner evidence for rakshasa/rtorrent, a C++ project with 4,879 GitHub stars. SynthScan examined 39,352 lines of code across 153 source files, recording 229 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 4.0 (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? 229 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? 229 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 229 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 | test/helpers/mock_function.h | 1 | #ifndef LIBTORRENT_HELPERS_MOCK_FUNCTION_H | COMMENT |
| LOW | .github/workflows/static-analysis.yml | 81 | # clang_tidy_fixes: clang-tidy-result/fixes.yml | COMMENT |
| LOW | doc/scripts/init/rtorrentInitScreen.sh | 1 | #!/bin/sh | COMMENT |
| LOW | doc/scripts/init/rtorrentInitScreen.sh | 21 | # (so that it is saved with upgrades, saved in your home directory, | COMMENT |
| LOW | doc/scripts/init/rtorrentInitScreen.bash | 1 | #!/bin/bash | COMMENT |
| LOW | doc/scripts/init/rtorrentInitScreen.bash | 21 | # (so that it is saved with upgrades, saved in your home directory, | COMMENT |
| LOW | doc/scripts/init/rtorrentInitScreen.bash | 41 | # must keep parentheses around the entire statement, quotations around each config file | COMMENT |
| LOW | doc/scripts/init/rtorrentInitTmux.bash | 1 | #!/bin/bash | COMMENT |
| LOW | doc/scripts/init/rtorrentInitTmux.bash | 21 | # - provides examples how to script tmux windows | COMMENT |
| LOW | doc/scripts/init/rtorrentInitTmux.bash | 41 | # by commenting out/deleting the configuration lines and placing them | COMMENT |
| LOW | src/command_helpers.h | 21 | } | COMMENT |
| LOW | src/command_helpers.h | 61 | #define CMD2_ANY_VALUE(key, slot) CMD2_A_FUNCTION(key, command_base_call_value<rpc::target_type>, slot, "i:i", "") | COMMENT |
| LOW | src/command_helpers.h | 81 | #define CMD2_FILE(key, slot) CMD2_A_FUNCTION(key, command_base_call<torrent::File*>, slot, "i:", "") | COMMENT |
| LOW | src/ui/element_transfer_list.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/ui/element_transfer_list.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/ui/element_text.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/ui/element_text.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/ui/element_tracker_list.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/ui/element_tracker_list.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/ui/element_peer_list.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/ui/element_peer_list.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/ui/element_chunks_seen.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/ui/element_chunks_seen.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/ui/element_menu.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/ui/element_menu.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/ui/element_string_list.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/ui/element_string_list.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/core/view.h | 1 | // Provides a filtered and sorted list of downloads that can be | COMMENT |
| LOW | src/core/download.h | 1 | #ifndef RTORRENT_CORE_DOWNLOAD_H | COMMENT |
| LOW | src/input/text_input.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/input/text_input.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/input/path_input.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/input/path_input.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/input/bindings.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/input/bindings.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/display/curses_stub.h | 1 | // Dummy ncurses stub header for building rtorrent without ncurses. | COMMENT |
| LOW | src/display/curses_stub.h | 21 | extern WINDOW* stdscr; | COMMENT |
| LOW | src/display/curses_stub.h | 41 | #define A_BOLD (1U << 13) | COMMENT |
| LOW | src/display/attributes.h | 1 | #ifndef RTORRENT_DISPLAY_ATTRIBUTES_H | COMMENT |
| LOW | src/display/text_element_list.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/display/text_element_list.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/display/window_string_list.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/display/window_string_list.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/display/text_element.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/display/text_element.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/rpc/command_map.h | 1 | #ifndef RTORRENT_RPC_COMMAND_MAP_H | COMMENT |
| LOW | src/rpc/parse.h | 1 | #ifndef RTORRENT_RPC_PARSE_H | COMMENT |
| LOW | src/rpc/ip_table_list.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/rpc/ip_table_list.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/rpc/parse_commands.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/rpc/parse_commands.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/rpc/rpc_manager.h | 1 | #ifndef RTORRENT_RPC_MANAGER_H | COMMENT |
| LOW | src/rpc/parse_options.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/rpc/parse_options.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/rpc/fixed_key.h | 1 | // rTorrent - BitTorrent client | COMMENT |
| LOW | src/rpc/fixed_key.h | 21 | // individual source file, and distribute linked combinations | COMMENT |
| LOW | src/rpc/object_storage.h | 1 | // The object_storage type is responsible for storing variables, | COMMENT |
| LOW | src/rpc/nlohmann/json.h | 21 | #include <algorithm> // all_of, find, for_each | COMMENT |
| LOW | src/rpc/nlohmann/json.h | 41 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | src/rpc/nlohmann/json.h | 61 | #if defined(NLOHMANN_JSON_VERSION_MAJOR) && defined(NLOHMANN_JSON_VERSION_MINOR) && defined(NLOHMANN_JSON_VERSION_PA | COMMENT |
| 168 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doc/rtorrent_fast_resume.pl | 5 | # Usage: | COMMENT |