Repository Analysis

RPCS3/rpcs3

PlayStation 3 emulator and debugger

1.3 Likely human-written View on GitHub
1.3
Adjusted Score
1.3
Raw Score
100%
Time Factor
2026-05-30
Last Push
18,876
Stars
C++
Language
627,906
Lines of Code
1561
Files
1059
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 9LOW 1050

Pattern Findings

1059 matches across 4 categories. Click a row to expand file-level details.

Over-Commented Block1045 hits · 770 pts
SeverityFileLineSnippet
LOWobjdump.cpp1// objdump injection utility for Linux perf tools.
LOWUtilities/StrFmt.cpp1#include "StrFmt.h"
LOWUtilities/Thread.cpp1#include "stdafx.h"
LOWUtilities/Thread.cpp21
LOWUtilities/Thread.cpp41#include <mach/thread_policy.h>
LOWUtilities/Thread.cpp61#endif
LOWUtilities/Thread.cpp81# define KP_FLAGS kp_proc.p_flag
LOWUtilities/Thread.cpp1021#define XMMREG(context, reg) (reinterpret_cast<v128*>(&(context)->uc_mcontext.fpregs->_xmm[reg]))
LOWUtilities/lockless.h1#pragma once
LOWUtilities/sync.h1#pragma once
LOWUtilities/Config.h1#pragma once
LOWUtilities/rXml.h1#pragma once
LOWUtilities/CRC.h41#define crcpp_uint8 - Specifies the type used to store CRCs that have a width of 8 bits or l
LOWUtilities/CRC.h61
LOWUtilities/CRC.h81/// @brief Unsigned 8-bit integer definition, used primarily for parameter definitions.
LOWUtilities/CRC.h101/// @brief Unsigned 32-bit integer definition, used primarily for parameter definitions.
LOWUtilities/CRC.h121/// @brief Unsigned size definition, used for specifying data sizes.
LOWUtilities/File.h1#pragma once // No BOM and only basic ASCII in this header, or a neko will die
LOWUtilities/JITLLVM.cpp1#include "util/types.hpp"
LOWUtilities/JITLLVM.cpp21#ifdef LLVM_AVAILABLE
LOWUtilities/JITLLVM.cpp41#include "llvm/ExecutionEngine/ExecutionEngine.h"
LOWUtilities/JIT.h1#pragma once
LOWUtilities/JIT.h21#pragma GCC diagnostic ignored "-Wunused-parameter"
LOWUtilities/stack_trace.cpp1#include "stdafx.h"
LOWUtilities/File.cpp1#include "File.h"
LOWUtilities/File.cpp141
LOWUtilities/bin_patch.cpp1#include "bin_patch.h"
LOWUtilities/JITASM.cpp1#include "util/types.hpp"
LOWrpcs3/display_sleep_control.cpp1#include "display_sleep_control.h"
LOWrpcs3/stdafx.h1#pragma once // No BOM and only basic ASCII in this header, or a neko will die
LOWrpcs3/stdafx.h21#include <functional> // IWYU pragma: export
LOWrpcs3/headless_application.cpp1#include "headless_application.h"
LOWrpcs3/rpcs3.cpp1// Qt6 frontend implementation for rpcs3. Known to work on Windows, Linux, Mac
LOWrpcs3/rpcs3.cpp21#include "rpcs3qt/curl_handle.h"
LOWrpcs3/rpcs3.cpp41// Copied from ntdef.h
LOWrpcs3/rpcs3.cpp61#include <dispatch/dispatch.h>
LOWrpcs3/main_application.cpp1#include "stdafx.h"
LOWrpcs3/main_application.cpp21#include "Emu/Io/MouseHandler.h"
LOWrpcs3/module_verifier.cpp1#include "stdafx.h"
LOWrpcs3/resource.h1//{{NO_DEPENDENCIES}}
LOWrpcs3/rpcs3qt/debugger_add_bp_window.cpp1#include "debugger_add_bp_window.h"
LOWrpcs3/rpcs3qt/debugger_frame.h1#pragma once
LOWrpcs3/rpcs3qt/screenshot_manager_dialog.h1#pragma once
LOWrpcs3/rpcs3qt/pkg_install_dialog.cpp1#include "pkg_install_dialog.h"
LOWrpcs3/rpcs3qt/game_list_frame.cpp1#include "game_list_frame.h"
LOWrpcs3/rpcs3qt/game_list_frame.cpp21#include "util/types.hpp"
LOWrpcs3/rpcs3qt/cheat_manager.h1#pragma once
LOWrpcs3/rpcs3qt/camera_settings_dialog.h1#pragma once
LOWrpcs3/rpcs3qt/screenshot_manager_dialog.cpp1#include "stdafx.h"
LOWrpcs3/rpcs3qt/settings_dialog.cpp1#include <QButtonGroup>
LOWrpcs3/rpcs3qt/settings_dialog.cpp21#include "tooltips.h"
LOWrpcs3/rpcs3qt/gs_frame.h1#pragma once
LOWrpcs3/rpcs3qt/game_list_table.cpp1#include "stdafx.h"
LOWrpcs3/rpcs3qt/pad_motion_settings_dialog.h1#pragma once
LOWrpcs3/rpcs3qt/gui_application.h1#pragma once
LOWrpcs3/rpcs3qt/camera_settings_dialog.cpp1#include "stdafx.h"
LOWrpcs3/rpcs3qt/save_manager_dialog.cpp1#include "save_manager_dialog.h"
LOWrpcs3/rpcs3qt/trophy_manager_dialog.h1#pragma once
LOWrpcs3/rpcs3qt/pad_settings_dialog.h1#pragma once
LOWrpcs3/rpcs3qt/steam_utils.cpp1#include "stdafx.h"
985 more matches not shown…
AI Slop Vocabulary9 hits · 26 pts
SeverityFileLineSnippet
MEDIUMUtilities/JITLLVM.cpp315 // Allocating more than one region does not work for relocations, needs more robust solution
MEDIUMrpcs3/rpcs3qt/vfs_dialog_path_widget.cpp22 // Code made robust even in case the path was manually removed from the list stored in "CurrentSettings.ini" file
MEDIUMrpcs3/Emu/VFS.cpp199 // Just to make the code more robust.
MEDIUMrpcs3/Emu/VFS.cpp382 // Just to make the code more robust.
MEDIUMrpcs3/Emu/Cell/PPUThread.cpp1781 bool non_leaf = false; // Absolutely not a leaf
MEDIUMrpcs3/Emu/RSX/VK/VKCompute.cpp267 // Technically robust buffer access should keep the driver from crashing in OOB situations
MEDIUMrpcs3/Emu/RSX/GL/GLVertexProgram.cpp288 // ln = (clip * 2) - 1 to fully utilize the 0-1 range of the depth buffer
MEDIUMrpcs3/Emu/RSX/GL/GLCompute.cpp205 // Technically robust buffer access should keep the driver from crashing in OOB situations
MEDIUMrpcs3/util/atomic.cpp158 // Essentially a fat semaphore
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippet
LOW.ci/setup-windows.sh59 # Check if the file exists and the checksum is correct
LOW.ci/setup-llvm.sh34 # Check if the file exists and the checksum is correct
LOW3rdparty/version_check.sh117# Print results
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippet
LOWrpcs3/Crypto/unpkg.cpp1278 // Use a seperate map for each reader. We need to check if the target app version exists for each package in sequence.
LOWrpcs3/Emu/RSX/Overlays/overlay_controls.cpp614 // The line may be wrapped, so we need to check if the next glyph's position is below the current position.