Repository Analysis

qbittorrent/qBittorrent

qBittorrent BitTorrent client

0.3 Likely human-written View on GitHub
0.3
Adjusted Score
0.3
Raw Score
100%
Time Factor
2026-05-30
Last Push
37,855
Stars
C++
Language
1,302,734
Lines of Code
815
Files
156
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 16HIGH 0MEDIUM 10LOW 130

Pattern Findings

156 matches across 8 categories. Click a row to expand file-level details.

Hallucination Indicators16 hits · 175 pts
SeverityFileLineSnippet
CRITICALsrc/webui/www/private/newcategory.html64 const pref = window.parent.qBittorrent.Cache.preferences.get();
CRITICALsrc/webui/www/private/newcategory.html65 const categoryData = window.parent.qBittorrent.Client.categoryMap.get(uriCategoryName);
CRITICALsrc/webui/www/private/scripts/addtorrent.js54 for (const name of window.parent.qBittorrent.Client.categoryMap.keys()) {
CRITICALsrc/webui/www/private/scripts/addtorrent.js68 for (const tag of window.parent.qBittorrent.Client.tagMap.keys()) {
CRITICALsrc/webui/www/private/scripts/addtorrent.js87 const pref = window.parent.qBittorrent.Cache.preferences.get();
CRITICALsrc/webui/www/private/scripts/addtorrent.js121 const category = window.parent.qBittorrent.Client.categoryMap.get(categoryName);
CRITICALsrc/webui/www/private/scripts/addtorrent.js126 const category = window.parent.qBittorrent.Client.categoryMap.get(categoryName);
CRITICALsrc/webui/www/private/scripts/addtorrent.js135 const category = window.parent.qBittorrent.Client.categoryMap.get(categoryName);
CRITICALsrc/webui/www/private/scripts/dynamicTable.js2028 const searchTerms = window.qBittorrent.Search.searchText.pattern.toLowerCase().split(" ");
CRITICALsrc/webui/www/private/scripts/dynamicTable.js2029 const filterTerms = window.qBittorrent.Search.searchText.filterPattern.toLowerCase().split(" ");
CRITICALsrc/webui/www/private/views/preferences.html2332 window.parent.qBittorrent.Cache.preferences.init()
CRITICALsrc/webui/www/private/views/preferences.html3321 window.parent.qBittorrent.Cache.preferences.set(settings)
CRITICALsrc/webui/www/private/views/rssDownloader.html363 const pref = window.parent.qBittorrent.Cache.preferences.get();
CRITICALsrc/webui/www/private/views/about.html855 const qbtVersion = window.parent.qBittorrent.Cache.qbtVersion.get();
CRITICALsrc/webui/www/private/views/about.html856 const buildInfo = window.parent.qBittorrent.Cache.buildInfo.get();
CRITICALsrc/webui/www/private/views/rss.html237 const pref = window.parent.qBittorrent.Cache.preferences.get();
Over-Commented Block112 hits · 112 pts
SeverityFileLineSnippet
LOWCODING_GUIDELINES.md321One exception is the header containing the library version (for example, QtVersionChecks), this particular header isn't
LOWCODING_GUIDELINES.md341#endif
LOWCODING_GUIDELINES.md361
LOW…b/workflows/helper/pre-commit/check_translation_tag.py1#!/usr/bin/env python3
LOW…/workflows/helper/pre-commit/check_grid_items_order.py1#!/usr/bin/env python3
LOWsrc/app/application.h41#ifndef DISABLE_GUI
LOWsrc/app/cmdoptions.cpp41#include <QStringView>
LOWsrc/app/signalhandler.cpp41#include <io.h>
LOWsrc/app/application.cpp41#include <shellapi.h>
LOWsrc/app/application.cpp61#include <QSessionManager>
LOWsrc/app/application.cpp81#include "base/preferences.h"
LOWsrc/app/application.cpp101#include "gui/uithememanager.h"
LOWsrc/app/application.cpp1221 setLayoutDirection(Qt::LeftToRight);
LOWsrc/app/main.cpp41#ifndef Q_OS_HAIKU
LOWsrc/app/main.cpp61#ifdef QBT_STATIC_QT
LOWsrc/searchengine/nova3/novaprinter.py1# VERSION: 1.54
LOWsrc/searchengine/nova3/nova2dl.py1# VERSION: 1.26
LOWsrc/searchengine/nova3/nova2dl.py21# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
LOWsrc/searchengine/nova3/nova2.py1# VERSION: 1.53
LOWsrc/searchengine/nova3/nova2.py21#
LOWsrc/searchengine/nova3/helpers.py1# VERSION: 1.57
LOWsrc/gui/transferlistfilterswidget.cpp41#include "base/preferences.h"
LOWsrc/gui/utils.cpp41#include <QDesktopServices>
LOWsrc/gui/transferlistwidget.cpp41#include <QMimeData>
LOWsrc/gui/transferlistwidget.cpp61#include "interfaces/iguiapplication.h"
LOWsrc/gui/torrentcontentmodel.cpp41#include <QUrl>
LOWsrc/gui/addnewtorrentdialog.cpp41#include <QFileDialog>
LOWsrc/gui/addnewtorrentdialog.cpp61#include "base/global.h"
LOWsrc/gui/torrentcreatordialog.cpp41#include <QThread>
LOWsrc/gui/torrentcontentwidget.cpp41#include <QShortcut>
LOWsrc/gui/mainwindow.cpp41#include <QCloseEvent>
LOWsrc/gui/mainwindow.cpp61#include <QCryptographicHash>
LOWsrc/gui/mainwindow.cpp81#include "desktopintegration.h"
LOWsrc/gui/mainwindow.cpp101#include "transferlistwidget.h"
LOWsrc/gui/advancedsettings.cpp221#endif
LOWsrc/gui/advancedsettings.cpp241 // Disk queue size
LOWsrc/gui/optionsdialog.cpp41#include <QDialogButtonBox>
LOWsrc/gui/optionsdialog.cpp61#include "base/torrentfileswatcher.h"
LOWsrc/gui/trackerlist/trackerlistmodel.cpp41#include <boost/multi_index/tag.hpp>
LOWsrc/gui/trackerlist/trackerlistwidget.cpp41#include <QMessageBox>
LOWsrc/gui/rss/rsswidget.cpp41
LOWsrc/gui/rss/automatedrssdownloader.cpp41
LOWsrc/gui/search/pluginselectdialog.cpp41#include "base/global.h"
LOWsrc/gui/search/searchwidget.cpp41#include <QJsonDocument>
LOWsrc/gui/search/searchwidget.cpp61#include "base/search/searchhandler.h"
LOWsrc/gui/search/searchjobwidget.cpp41#include <QUrl>
LOWsrc/gui/properties/peerlistwidget.cpp41#include <QMessageBox>
LOWsrc/gui/properties/propertieswidget.cpp41#include <QShortcut>
LOWsrc/webui/webapplication.cpp41#include <QRegularExpression>
LOWsrc/webui/webapplication.cpp61#include "api/apierror.h"
LOWsrc/webui/webui.cpp21 * modified versions of it that use the same license as the "OpenSSL" library),
LOWsrc/webui/webapplication.h41#include <QMap>
LOWsrc/webui/www/tstool.py1#!/usr/bin/env python3
LOWsrc/webui/api/appcontroller.cpp41#include <QJsonArray>
LOWsrc/webui/api/appcontroller.cpp61#include "base/rss/rss_session.h"
LOWsrc/webui/api/torrentscontroller.cpp41#include <QRegularExpression>
LOWsrc/webui/api/torrentscontroller.cpp61#include "base/search/searchdownloadhandler.h"
LOWsrc/webui/api/torrentscontroller.cpp581// - "dlspeed": Torrent download speed
LOWsrc/webui/api/torrentscontroller.cpp701 torrentList = torrentList.mid(offset, limit);
LOWsrc/webui/api/torrentscontroller.cpp721// - "up_speed_avg": Torrent average upload speed
52 more matches not shown…
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippet
MEDIUMsrc/app/CMakeLists.txt14# -----------------------------------------------------------------------------
MEDIUMsrc/app/CMakeLists.txt15# -----------------------------------------------------------------------------
MEDIUMsrc/app/CMakeLists.txt31# -----------------------------------------------------------------------------
MEDIUMsrc/app/CMakeLists.txt32# -----------------------------------------------------------------------------
MEDIUMsrc/app/CMakeLists.txt76# -----------------------------------------------------------------------------
MEDIUMsrc/app/CMakeLists.txt77# -----------------------------------------------------------------------------
MEDIUMsrc/app/CMakeLists.txt130# -----------------------------------------------------------------------------
MEDIUMsrc/app/CMakeLists.txt131# -----------------------------------------------------------------------------
MEDIUMsrc/app/CMakeLists.txt179# -----------------------------------------------------------------------------
MEDIUMsrc/app/CMakeLists.txt180# -----------------------------------------------------------------------------
Excessive Try-Catch Wrapping6 hits · 6 pts
SeverityFileLineSnippet
LOWsrc/searchengine/nova3/socks.py82 except Exception as e:
LOWsrc/searchengine/nova3/nova2dl.py59 except Exception as e:
LOWsrc/searchengine/nova3/nova2.py140 except Exception:
LOWsrc/searchengine/nova3/nova2.py205 except Exception:
LOWsrc/webui/www/tstool.py64 except Exception:
LOWsrc/webui/www/tstool.py142 except Exception:
Deep Nesting5 hits · 5 pts
SeverityFileLineSnippet
LOW…b/workflows/helper/pre-commit/check_translation_tag.py36
LOWsrc/searchengine/nova3/socks.py187
LOWsrc/searchengine/nova3/socks.py480
LOWsrc/searchengine/nova3/helpers.py70
LOWsrc/webui/www/tstool.py59
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippet
LOWsrc/searchengine/nova3/socks.py645 # Check if the destination address provided is an IP address
LOWsrc/searchengine/nova3/helpers.py103 # Check if it is gzipped
LOWsrc/searchengine/nova3/helpers.py135 # Check if it is gzipped
Hyper-Verbose Identifiers3 hits · 3 pts
SeverityFileLineSnippet
LOWsrc/base/http/connection.h41 class IRequestHandler;
LOWsrc/base/http/irequesthandler.h37 class IRequestHandler
LOWsrc/base/http/server.h39 class IRequestHandler;
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWsrc/searchengine/nova3/socks.py55