Repository Analysis

keepassxreboot/keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “KeePass Password Safe”.

0.3 Likely human-written View on GitHub
0.3
Adjusted Score
0.3
Raw Score
100%
Time Factor
2026-05-27
Last Push
27,399
Stars
C++
Language
628,759
Lines of Code
934
Files
174
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 2LOW 171

Pattern Findings

174 matches across 7 categories. Click a row to expand file-level details.

Over-Commented Block151 hits · 151 pts
SeverityFileLineSnippet
LOWCMakeLists.txt1# Copyright (C) 2026 KeePassXC Team <team@keepassxc.org>
LOWrelease-tool.py1#!/usr/bin/env python3
LOWrelease-tool.py41
LOWtests/CMakeLists.txt1# Copyright (C) 2026 KeePassXC Team <team@keepassxc.org>
LOWtests/TestKeys.cpp21#include <QBuffer>
LOWtests/TestCli.cpp21#include "core/Bootstrap.h"
LOWtests/TestCli.cpp41#include "cli/Edit.h"
LOWtests/TestKeePass1Reader.cpp21#include <QBuffer>
LOWtests/TestKdbx4.cpp21#include "core/Metadata.h"
LOWtests/TestEntryModel.cpp21#include <QSignalSpy>
LOWtests/TestAutoType.cpp21#include <QPluginLoader>
LOWtests/TestImports.cpp21#include "core/Group.h"
LOWtests/TestDatabase.cpp21#include <QRegularExpression>
LOWtests/TestPasskeys.cpp21#include "browser/BrowserPasskeysClient.h"
LOWtests/gui/TestGui.cpp21
LOWtests/gui/TestGui.cpp41#include "crypto/Crypto.h"
LOWtests/gui/TestGui.cpp61#include "gui/entry/EntryView.h"
LOWtests/gui/CMakeLists.txt1# Copyright (C) 2011 Felix Geyer <debfx@fobos.de>
LOWtests/gui/TestGuiBrowser.cpp21
LOWtests/gui/TestGuiFdoSecrets.cpp21#include "fdosecrets/FdoSecretsPlugin.h"
LOWtests/gui/attachments/TestTextAttachmentsWidget.cpp1#include "TestTextAttachmentsWidget.h"
LOWtests/gui/attachments/TestAttachmentsGui.cpp1#include <QtTest>
LOWutils/keepassxc-flatpak-wrapper.sh1#!/usr/bin/env bash
LOWutils/makeappicons.sh1#!/usr/bin/env bash
LOWutils/makeappicons.sh21# How to use: (assuming you check out stuff in ~/src)
LOWutils/keepassxc-snap-helper.sh1#!/usr/bin/env bash
LOWdocs/CMakeLists.txt1# Copyright (C) 2020 KeePassXC Team <team@keepassxc.org>
LOWdocs/styles/dark.css121.menuseq,.menuref{color:#000}
LOWdocs/styles/dark.css141#header .details br{display:none}
LOWdocs/styles/dark.css161#toc.toc2>ul{font-size:.9em;margin-bottom:0}
LOW.github/CONTRIBUTING.md141// Class includes
LOWshare/CMakeLists.txt1# Copyright (C) 2011 Felix Geyer <debfx@fobos.de>
LOWshare/translations/CMakeLists.txt1# Copyright (C) 2025 KeePassXC Team <team@keepassxc.org>
LOWsrc/CMakeLists.txt1# Copyright (C) 2026 KeePassXC Team <team@keepassxc.org>
LOWsrc/main.cpp21#include <QFile>
LOWsrc/core/Global.h21#ifndef KEEPASSX_GLOBAL_H
LOWsrc/core/EntryAttachments.cpp21#include "core/Global.h"
LOWsrc/core/Entry.cpp21#include "core/Config.h"
LOWsrc/core/Database.cpp21#include "core/AsyncTask.h"
LOWsrc/core/Alloc.cpp21#if defined(Q_OS_MACOS)
LOWsrc/core/Config.cpp21
LOWsrc/core/Database.h21
LOWsrc/core/Bootstrap.cpp21
LOWsrc/core/Bootstrap.cpp101#endif
LOWsrc/core/Tools.cpp21 * along with this program. If not, see <http://www.gnu.org/licenses/>.
LOWsrc/quickunlock/WindowsHello.cpp21#include <winrt/base.h>
LOWsrc/quickunlock/QuickUnlockInterface.cpp21#if defined(Q_OS_MACOS)
LOWsrc/quickunlock/TouchID.mm21#include "crypto/SymmetricCipher.h"
LOWsrc/quickunlock/TouchID.mm141
LOWsrc/proxy/CMakeLists.txt1# Copyright (C) 2025 KeePassXC Team <team@keepassxc.org>
LOWsrc/proxy/NativeMessagingProxy.cpp21#include <QCoreApplication>
LOWsrc/fdosecrets/objects/SessionCipher.cpp21
LOWsrc/fdosecrets/dbus/DBusTypes.cpp61 }
LOWsrc/cli/Utils.cpp21#include "core/Entry.h"
LOWsrc/cli/CMakeLists.txt1# Copyright (C) 2025 KeePassXC Team
LOWsrc/cli/Command.cpp21#include "AttachmentExport.h"
LOWsrc/cli/keepassxc-cli.cpp21#include "Command.h"
LOWsrc/qrcode/CMakeLists.txt1# Copyright (C) 2025 KeePassXC Team <team@keepassxc.org>
LOWsrc/keeshare/CMakeLists.txt1# Copyright (C) 2025 KeePassXC Team <team@keepassxc.org>
LOWsrc/keeshare/ShareExport.cpp21#include "crypto/Random.h"
91 more matches not shown…
Hyper-Verbose Identifiers8 hits · 8 pts
SeverityFileLineSnippet
LOWrelease-tool.py348def _macos_get_codesigning_identity(user_choice=None):
LOWrelease-tool.py377def _macos_validate_keychain_profile(keychain_profile):
LOWrelease-tool.py477 def check_release_does_not_exist(tag_name, cwd=None):
LOWrelease-tool.py507 def check_version_in_vcpkg_manifest(version, cwd=None):
LOWrelease-tool.py732 def _get_vcpkg_toolchain_file(path=None):
LOWrelease-tool.py837 def _download_tools_if_not_available(toolname, bin_dir, url, docker_args=None):
LOWrelease-tool.py1120 def check_transifex_cmd_exists():
LOWrelease-tool.py1126 def check_transifex_config_exists(src_dir):
Fake / Example Data6 hits · 6 pts
SeverityFileLineSnippet
LOWtests/TestKeePass1Reader.cpp69 QCOMPARE(entry11->notes(), QString("Lorem ipsum\ndolor sit amet"));
LOWtests/TestKeePass1Reader.cpp69 QCOMPARE(entry11->notes(), QString("Lorem ipsum\ndolor sit amet"));
LOWtests/TestImports.cpp266 QCOMPARE(attr->value("card_cardholderName"), QStringLiteral("Jane Doe"));
LOWtests/TestImports.cpp395 QCOMPARE(entry->username(), QStringLiteral("user@example.com"));
LOWtests/data/bitwarden_nested_export.json121 "username": "user@example.com",
LOWtests/data/bitwarden_export.json77 "cardholderName": "Jane Doe",
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMutils/keepassxc-snap-helper.sh102# --------------------------------
MEDIUMutils/keepassxc-snap-helper.sh104# --------------------------------
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippet
HIGHrelease-tool.py332 out = _run(f'cmd /c "{vs_cmd}" -arch={arch} -no_logo && set', cwd=None, text=True).stdout
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippet
LOWrelease-tool.py298
LOWrelease-tool.py348
LOWrelease-tool.py1038
LOWrelease-tool.py1140
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippet
LOWrelease-tool.py287 except Exception as e:
LOWrelease-tool.py1363 except Exception as e: