qBittorrent BitTorrent client
This report summarizes scanner evidence for qbittorrent/qBittorrent, a C++ project with 41,254 GitHub stars. SynthScan examined 1,441,568 lines of code across 960 source files, recording 234 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 0.3 (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? 199 finding(s).
Are imports declared and package/API names verified? 18 finding(s).
Are wrappers, guards, and repeated structures necessary? 28 finding(s).
Which changes need focused human review? 234 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 234 distinct pattern matches across 10 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 |
|---|---|---|---|---|
| CRITICAL | src/webui/www/private/newcategory.html | 173 | const pref = window.parent.qBittorrent.Cache.preferences.get(); | CODE |
| CRITICAL | src/webui/www/private/newcategory.html | 174 | const categoryData = window.parent.qBittorrent.Client.categoryMap.get(uriCategoryName); | CODE |
| CRITICAL | src/webui/www/private/newcategory.html | 198 | const own = window.parent.qBittorrent.Client.categoryMap.get(categoryName) ?? {}; | CODE |
| CRITICAL | src/webui/www/private/scripts/addtorrent.js | 57 | for (const name of window.parent.qBittorrent.Client.categoryMap.keys()) { | CODE |
| CRITICAL | src/webui/www/private/scripts/addtorrent.js | 71 | for (const tag of window.parent.qBittorrent.Client.tagMap.keys()) { | CODE |
| CRITICAL | src/webui/www/private/scripts/addtorrent.js | 90 | const pref = window.parent.qBittorrent.Cache.preferences.get(); | CODE |
| CRITICAL⚡ | src/webui/www/private/scripts/addtorrent.js | 124 | const category = window.parent.qBittorrent.Client.categoryMap.get(categoryName); | CODE |
| CRITICAL⚡ | src/webui/www/private/scripts/addtorrent.js | 129 | const category = window.parent.qBittorrent.Client.categoryMap.get(categoryName); | CODE |
| CRITICAL⚡ | src/webui/www/private/scripts/addtorrent.js | 138 | const category = window.parent.qBittorrent.Client.categoryMap.get(categoryName); | CODE |
| CRITICAL | src/webui/www/private/scripts/dynamicTable.js | 2081 | const searchTerms = window.qBittorrent.Search.searchText.pattern.toLowerCase().split(" "); | CODE |
| CRITICAL | src/webui/www/private/scripts/dynamicTable.js | 2082 | const filterTerms = window.qBittorrent.Search.searchText.filterPattern.toLowerCase().split(" "); | CODE |
| CRITICAL | src/webui/www/private/views/preferences.html | 2492 | window.parent.qBittorrent.Cache.preferences.init() | CODE |
| CRITICAL | src/webui/www/private/views/preferences.html | 3526 | window.parent.qBittorrent.Cache.preferences.set(settings) | CODE |
| CRITICAL | src/webui/www/private/views/rssDownloader.html | 409 | const pref = window.parent.qBittorrent.Cache.preferences.get(); | CODE |
| CRITICAL | src/webui/www/private/views/about.html | 855 | const qbtVersion = window.parent.qBittorrent.Cache.qbtVersion.get(); | CODE |
| CRITICAL | src/webui/www/private/views/about.html | 856 | const buildInfo = window.parent.qBittorrent.Cache.buildInfo.get(); | CODE |
| CRITICAL | src/webui/www/private/views/rss.html | 242 | const pref = window.parent.qBittorrent.Cache.preferences.get(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CODING_GUIDELINES.md | 321 | Example: | COMMENT |
| LOW | CODING_GUIDELINES.md | 341 | // System headers | COMMENT |
| LOW | CODING_GUIDELINES.md | 361 | #if LIBTORRENT_VERSION_NUM >= 10100 | COMMENT |
| LOW | …flows/helper/pre-commit/check_webui_translation_tag.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | …b/workflows/helper/pre-commit/check_translation_tag.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | …/workflows/helper/pre-commit/check_grid_items_order.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | src/app/application.h | 41 | #ifndef DISABLE_GUI | COMMENT |
| LOW | src/app/cmdoptions.cpp | 41 | #include <QStringView> | COMMENT |
| LOW | src/app/signalhandler.cpp | 41 | #include <io.h> | COMMENT |
| LOW | src/app/application.cpp | 41 | #include <shellapi.h> | COMMENT |
| LOW | src/app/application.cpp | 61 | #include <QSessionManager> | COMMENT |
| LOW | src/app/application.cpp | 81 | #include "base/net/smtpclient.h" | COMMENT |
| LOW | src/app/application.cpp | 101 | #include "gui/shutdownconfirmdialog.h" | COMMENT |
| LOW | src/app/application.cpp | 1221 | setLayoutDirection(Qt::LeftToRight); | COMMENT |
| LOW | src/app/application.cpp | 1441 | // On macOS, widget destruction triggers accessibility notifications via | COMMENT |
| LOW | src/app/application.cpp | 1461 | #ifdef Q_OS_WIN | COMMENT |
| LOW | src/app/application.cpp | 1541 | #include "application.moc" | COMMENT |
| LOW | src/app/main.cpp | 41 | #ifndef Q_OS_HAIKU | COMMENT |
| LOW | src/app/main.cpp | 61 | #ifdef QBT_STATIC_QT | COMMENT |
| LOW | src/searchengine/nova3/novaprinter.py | 1 | # VERSION: 1.56 | COMMENT |
| LOW | src/searchengine/nova3/nova2dl.py | 1 | # VERSION: 1.28 | COMMENT |
| LOW | src/searchengine/nova3/nova2dl.py | 21 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | COMMENT |
| LOW | src/searchengine/nova3/nova2.py | 1 | # VERSION: 1.55 | COMMENT |
| LOW | src/searchengine/nova3/nova2.py | 21 | # | COMMENT |
| LOW | src/searchengine/nova3/helpers.py | 1 | # VERSION: 1.61 | COMMENT |
| LOW | src/gui/transferlistfilterswidget.cpp | 41 | #include "base/preferences.h" | COMMENT |
| LOW | src/gui/utils.cpp | 41 | #include <QDesktopServices> | COMMENT |
| LOW | src/gui/transferlistwidget.cpp | 41 | #include <QMimeData> | COMMENT |
| LOW | src/gui/transferlistwidget.cpp | 61 | #include "interfaces/iguiapplication.h" | COMMENT |
| LOW | src/gui/torrentcontentmodel.cpp | 41 | #include <QSet> | COMMENT |
| LOW | src/gui/addnewtorrentdialog.cpp | 41 | #include <QFileDialog> | COMMENT |
| LOW | src/gui/addnewtorrentdialog.cpp | 61 | #include "base/bittorrent/torrentdescriptor.h" | COMMENT |
| LOW | src/gui/torrentcreatordialog.cpp | 41 | #include <QThread> | COMMENT |
| LOW | src/gui/torrentcontentwidget.cpp | 41 | #include <QOverload> | COMMENT |
| LOW | src/gui/mainwindow.cpp | 41 | #include <QCloseEvent> | COMMENT |
| LOW | src/gui/mainwindow.cpp | 61 | #ifdef Q_OS_WIN | COMMENT |
| LOW | src/gui/mainwindow.cpp | 81 | #include "autoexpandabledialog.h" | COMMENT |
| LOW | src/gui/mainwindow.cpp | 101 | #include "transferlistfilterswidget.h" | COMMENT |
| LOW | src/gui/advancedsettings.cpp | 241 | // Bdecode depth limit | COMMENT |
| LOW | src/gui/advancedsettings.cpp | 301 | session->setUPnPLeaseDuration(m_spinBoxUPnPLeaseDuration.value()); | COMMENT |
| LOW | src/gui/optionsdialog.cpp | 41 | #include <QDialogButtonBox> | COMMENT |
| LOW | src/gui/optionsdialog.cpp | 61 | #include "base/profile.h" | COMMENT |
| LOW | src/gui/optionsdialog.cpp | 81 | #include "uithememanager.h" | COMMENT |
| LOW | src/gui/trackerlist/trackerlistmodel.cpp | 41 | COMMENT | |
| LOW | src/gui/trackerlist/trackerlistwidget.cpp | 41 | #include <QMessageBox> | COMMENT |
| LOW | src/gui/rss/rsswidget.cpp | 41 | #include <QString> | COMMENT |
| LOW | src/gui/rss/automatedrssdownloader.cpp | 41 | COMMENT | |
| LOW | src/gui/search/searchpluginselectdialog.cpp | 41 | #include "base/global.h" | COMMENT |
| LOW | src/gui/search/searchwidget.cpp | 41 | #include <QJsonDocument> | COMMENT |
| LOW | src/gui/search/searchwidget.cpp | 61 | #include "base/search/searchhandler.h" | COMMENT |
| LOW | src/gui/search/searchjobwidget.cpp | 41 | #include <QUrl> | COMMENT |
| LOW | src/gui/properties/peerlistwidget.cpp | 41 | #include <QMessageBox> | COMMENT |
| LOW | src/gui/properties/propertieswidget.cpp | 41 | #include <QShortcut> | COMMENT |
| LOW | src/webui/webapplication.cpp | 41 | #include <QRegularExpression> | COMMENT |
| LOW | src/webui/webapplication.cpp | 61 | #include "api/apierror.h" | COMMENT |
| LOW | src/webui/webui.cpp | 21 | * modified versions of it that use the same license as the "OpenSSL" library), | COMMENT |
| LOW | src/webui/webapplication.h | 41 | #include <QMap> | COMMENT |
| LOW | src/webui/www/tstool.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | src/webui/api/appcontroller.cpp | 41 | #include <QJsonArray> | COMMENT |
| LOW | src/webui/api/appcontroller.cpp | 61 | #include "base/torrentfileguard.h" | COMMENT |
| 117 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/app/CMakeLists.txt | 14 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/app/CMakeLists.txt | 15 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/app/CMakeLists.txt | 31 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/app/CMakeLists.txt | 32 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/app/CMakeLists.txt | 76 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/app/CMakeLists.txt | 77 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/app/CMakeLists.txt | 132 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/app/CMakeLists.txt | 133 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/app/CMakeLists.txt | 181 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/app/CMakeLists.txt | 182 | # ----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/plugins/RunExternalProgram.lua | 13 | function onTorrentAboutToBeRemoved(torrent) | CODE |
| LOW | examples/plugins/EventHandler.lua | 67 | function onTorrentSavingModeChanged(torrent) | CODE |
| LOW⚡ | examples/plugins/EventHandler.lua | 86 | function onTorrentContentFileRenamed(torrent, fileIndex, oldPath) | CODE |
| LOW⚡ | examples/plugins/EventHandler.lua | 91 | function onTorrentContentFolderRenamed(torrent, newPath, oldPath, renamedFiles) | CODE |
| LOW⚡ | examples/plugins/EventHandler.lua | 96 | function onTorrentContentFolderRenamingFailed(torrent, newPath, oldPath, renamedFiles, failedFileIndexes) | CODE |
| LOW⚡ | examples/plugins/EventHandler.lua | 106 | function onTorrentAboutToBeRemoved(torrent) | CODE |
| LOW | examples/plugins/EventHandler.lua | 142 | function onTorrentTrackerStatusesUpdated(torrent, updatedTrackers) | CODE |
| LOW | src/base/http/connection.h | 41 | class IRequestHandler; | CODE |
| LOW | src/base/http/irequesthandler.h | 37 | class IRequestHandler | CODE |
| LOW | src/base/http/server.h | 39 | class IRequestHandler; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/searchengine/nova3/socks.py | 322 | except socket.error: | CODE |
| HIGH | src/searchengine/nova3/helpers.py | 118 | except IndexError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …flows/helper/pre-commit/check_webui_translation_tag.py | 97 | CODE | |
| LOW | …flows/helper/pre-commit/check_webui_translation_tag.py | 124 | CODE | |
| LOW | …b/workflows/helper/pre-commit/check_translation_tag.py | 36 | CODE | |
| LOW | src/searchengine/nova3/socks.py | 187 | CODE | |
| LOW | src/searchengine/nova3/socks.py | 480 | CODE | |
| LOW | src/searchengine/nova3/nova2.py | 154 | CODE | |
| LOW | src/searchengine/nova3/helpers.py | 73 | CODE | |
| LOW | src/webui/www/tstool.py | 59 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/searchengine/nova3/socks.py | 82 | except Exception as e: | CODE |
| LOW | src/searchengine/nova3/nova2.py | 147 | except Exception: | CODE |
| LOW | src/searchengine/nova3/nova2.py | 215 | except Exception: | CODE |
| LOW | src/webui/www/tstool.py | 64 | except Exception: | CODE |
| LOW | src/webui/www/tstool.py | 138 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/searchengine/nova3/socks.py | 645 | # Check if the destination address provided is an IP address | COMMENT |
| LOW | src/searchengine/nova3/helpers.py | 109 | # Check if it is gzipped | COMMENT |
| LOW | src/searchengine/nova3/helpers.py | 143 | # Check if it is gzipped | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/searchengine/nova3/socks.py | 187 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/searchengine/nova3/socks.py | 55 | CODE |