Repository Analysis

ValveSoftware/Proton

Compatibility tool for Steam Play based on Wine and additional components

8.7 Low AI signal View on GitHub
8.7
Adjusted Score
8.7
Raw Score
100%
Time Factor
2026-05-30
Last Push
31,692
Stars
C++
Language
1,554,072
Lines of Code
3395
Files
13294
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 532LOW 12762

Pattern Findings

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

Over-Commented Block12743 hits · 12142 pts
SeverityFileLineSnippet
LOWuser_settings.sample.py21 #vkd3d debug logging
LOWuser_settings.sample.py41 #Enable DXVK's HUD
LOWfilelock.py1# This is free and unencumbered software released into the public domain.
LOWvrclient_x64/json_converter.cpp1#include <stdarg.h>
LOWvrclient_x64/vrclient_structs.h1#include <stdarg.h>
LOWvrclient_x64/vkd3d-proton-interop.h1/*** Partially copied from autogenerated header by WIDL 6.4 from ../src-vkd3d-proton/include/vkd3d_device_vkd3d_ext.idl
LOWvrclient_x64/dxvk-interop.h1/*** Autogenerated by WIDL 3.5 from /home/yorha-2b/Valve/Proton/wine/include/wine/dxvk-interop.idl - Do not edit ***/
LOWvrclient_x64/dxvk-interop.h21#define __IDXGIVkInteropSurface_FWD_DEFINED__
LOWvrclient_x64/dxvk-interop.h221};
LOWvrclient_x64/unixlib.h1#ifndef __VRCLIENT_UNIXLIB_H
LOWvrclient_x64/unix_private.h1#ifndef __VRCLIENT_UNIX_PRIVATE_H
LOWvrclient_x64/vrclient_main.c1#include <stdarg.h>
LOWvrclient_x64/vrclient_private.h1#ifndef __VRCLIENT_PRIVATE_H
LOWvrclient_x64/jsoncpp.cpp181
LOWvrclient_x64/jsoncpp.cpp201#include <cstring>
LOWvrclient_x64/jsoncpp.cpp2421
LOWvrclient_x64/jsoncpp.cpp2441#include <math.h>
LOWvrclient_x64/jsoncpp.cpp3661 ObjectValues::const_iterator it = value_.map_->begin();
LOWvrclient_x64/jsoncpp.cpp3681//}
LOWvrclient_x64/jsoncpp.cpp4041// //////////////////////////////////////////////////////////////////////
LOWvrclient_x64/jsoncpp.cpp4061#if defined(_MSC_VER) && _MSC_VER >= 1200 && _MSC_VER < 1800 // Between VC++ 6.0 and VC++ 11.0
LOWvrclient_x64/jsoncpp.cpp4081#define isfinite finite
LOWvrclient_x64/jsoncpp.cpp4101#elif __cplusplus >= 201103L
LOWvrclient_x64/openvr_v1.0.14/openvr.h1361#pragma pack( pop )
LOWvrclient_x64/openvr_v1.0.14/openvr.h1381#error "Unsupported Platform."
LOWvrclient_x64/openvr_v1.0.14/openvr.h1401#endif
LOWvrclient_x64/openvr_v1.0.2/openvr.h21 // The 32-bit version of gcc has the alignment requirement for uint64 and double set to
LOWvrclient_x64/openvr_v1.0.2/openvr.h1001// figure out how to import from the VR API dll
LOWvrclient_x64/openvr_v1.0.2/openvr.h1021
LOWvrclient_x64/openvr_v1.0.2/openvr.h1041#define VR_METHOD_DESC(DESC) VR_CLANG_ATTR( "desc:" #DESC ";" )
LOWvrclient_x64/openvr_v1.0.2/openvr.h1881
LOWvrclient_x64/openvr_v1.0.2/openvr.h2121
LOWvrclient_x64/openvr_v0.9.20/openvr.h21 // The 32-bit version of gcc has the alignment requirement for uint64 and double set to
LOWvrclient_x64/openvr_v0.9.20/openvr.h881#elif defined(GNUC) || defined(COMPILER_GCC) || defined(__APPLE__)
LOWvrclient_x64/openvr_v0.9.20/openvr.h901
LOWvrclient_x64/openvr_v0.9.20/openvr.h1721}
LOWvrclient_x64/openvr_v0.9.20/openvr.h1921// ivrnotifications.h
LOWvrclient_x64/openvr_v1.14.15/openvr.h1961 #define VR_INTERFACE extern "C"
LOWvrclient_x64/openvr_v1.14.15/openvr.h1981#endif
LOWvrclient_x64/openvr_v0.9.18/openvr.h21 // The 32-bit version of gcc has the alignment requirement for uint64 and double set to
LOWvrclient_x64/openvr_v0.9.18/openvr.h861#ifdef VR_API_EXPORT
LOWvrclient_x64/openvr_v0.9.18/openvr.h881#define VR_CALLTYPE __cdecl
LOWvrclient_x64/openvr_v0.9.18/openvr.h901#define VR_OUT_STRING() VR_CLANG_ATTR( "out_string: ;" )
LOWvrclient_x64/openvr_v0.9.18/openvr.h1501 static const char * const k_pch_audio_VIVEHDMIGain = "viveHDMIGain";
LOWvrclient_x64/openvr_v0.9.18/openvr.h1861
LOWvrclient_x64/openvr_v1.0.13/openvr.h1341#define VR_INTERFACE extern "C" __declspec( dllimport )
LOWvrclient_x64/openvr_v1.0.13/openvr.h1361#endif
LOWvrclient_x64/openvr_v1.0.5/openvr.h1081#define VR_INTERFACE extern "C" __declspec( dllimport )
LOWvrclient_x64/openvr_v1.0.5/openvr.h1101#endif
LOWvrclient_x64/openvr_v1.0.5/openvr.h1981}
LOWvrclient_x64/openvr_v1.0.5/openvr.h2261
LOWvrclient_x64/openvr_v0.9.11/openvr.h21 // The 32-bit version of gcc has the alignment requirement for uint64 and double set to
LOWvrclient_x64/openvr_v0.9.11/openvr.h721
LOWvrclient_x64/openvr_v0.9.11/openvr.h741#endif // _INCLUDE_VRTYPES_H
LOWvrclient_x64/openvr_v0.9.11/openvr.h761#define VR_OUT_STRING_COUNT(COUNTER) VR_CLANG_ATTR( "out_string_count:" #COUNTER ";" )
LOWvrclient_x64/openvr_v0.9.11/openvr.h1361 VR_INTERFACE vr::IVRSettings *VR_CALLTYPE VRSettings();
LOWvrclient_x64/openvr_v0.9.11/openvr.h1461
LOWvrclient_x64/openvr_v0.9.11/openvr.h2241#endif
LOWvrclient_x64/openvr_v0.9.16/openvr.h21 // The 32-bit version of gcc has the alignment requirement for uint64 and double set to
LOWvrclient_x64/openvr_v0.9.16/openvr.h841
12683 more matches not shown…
AI Slop Vocabulary529 hits · 1300 pts
SeverityFileLineSnippet
LOWfilelock.py110# If we would simply return *self*, the lock would be acquired again
MEDIUMvrclient_x64/json/json-forwards.h97/// If defined, indicates that json may leverage CppTL library
MEDIUMvrclient_x64/json/json.h123/// If defined, indicates that json may leverage CppTL library
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h62// Inline, unversioned accessor to get the current version. Essentially the same as SteamUser(), but using this ensures
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h102// Inline, unversioned accessor to get the current version. Essentially the same as SteamFriends(), but using this ensu
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h189// Inline, unversioned accessor to get the current version. Essentially the same as SteamUtils(), but using this ensure
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h194// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerUtils(), but using t
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h237// Inline, unversioned accessor to get the current version. Essentially the same as SteamMatchmaking(), but using this
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h301// Inline, unversioned accessor to get the current version. Essentially the same as SteamMatchmakingServers(), but usin
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h325// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameSearch(), but using this e
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h346// Inline, unversioned accessor to get the current version. Essentially the same as SteamParties(), but using this ensu
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h365// Inline, unversioned accessor to get the current version. Essentially the same as SteamRemoteStorage(), but using thi
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h431// Inline, unversioned accessor to get the current version. Essentially the same as SteamUserStats(), but using this en
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h483// Inline, unversioned accessor to get the current version. Essentially the same as SteamApps(), but using this ensures
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h520// Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworking(), but using this e
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h525// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerNetworking(), but us
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h554// Inline, unversioned accessor to get the current version. Essentially the same as SteamScreenshots(), but using this
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h570// Inline, unversioned accessor to get the current version. Essentially the same as SteamMusic(), but using this ensure
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h586// Inline, unversioned accessor to get the current version. Essentially the same as SteamMusicRemote(), but using this
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h625// Inline, unversioned accessor to get the current version. Essentially the same as SteamHTTP(), but using this ensures
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h630// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerHTTP(), but using th
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h662// Inline, unversioned accessor to get the current version. Essentially the same as SteamInput(), but using this ensure
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h717// Inline, unversioned accessor to get the current version. Essentially the same as SteamController(), but using this e
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h758// Inline, unversioned accessor to get the current version. Essentially the same as SteamUGC(), but using this ensures
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h763// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerUGC(), but using thi
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h860// Inline, unversioned accessor to get the current version. Essentially the same as SteamAppList(), but using this ensu
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h872// Inline, unversioned accessor to get the current version. Essentially the same as SteamHTMLSurface(), but using this
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h916// Inline, unversioned accessor to get the current version. Essentially the same as SteamInventory(), but using this en
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h921// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerInventory(), but usi
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h966// Inline, unversioned accessor to get the current version. Essentially the same as SteamVideo(), but using this ensure
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h982// Inline, unversioned accessor to get the current version. Essentially the same as SteamParentalSettings(), but using
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h995// Inline, unversioned accessor to get the current version. Essentially the same as SteamRemotePlay(), but using this e
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h1010// Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworkingMessages_SteamAPI(),
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h1015// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerNetworkingMessages_S
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h1028// Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworkingSockets_SteamAPI(),
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h1033// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerNetworkingSockets_St
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h1087// Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworkingUtils_SteamAPI(), bu
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h1135// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServer(), but using this e
MEDIUMlsteamclient/steamworks_sdk_158/steam_api_flat.h1183// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerStats(), but using t
MEDIUM…eamclient/steamworks_sdk_158/isteamnetworkingsockets.h586 /// here. The reason is to make reconnection to a gameserver robust, even if the client computer loses
MEDIUMlsteamclient/steamworks_sdk_158/steamnetworkingtypes.h450 /// read it back. Typically this is not a problem, as application protocols that utilize
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h61// Inline, unversioned accessor to get the current version. Essentially the same as SteamUser(), but using this ensures
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h101// Inline, unversioned accessor to get the current version. Essentially the same as SteamFriends(), but using this ensu
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h188// Inline, unversioned accessor to get the current version. Essentially the same as SteamUtils(), but using this ensure
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h193// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerUtils(), but using t
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h237// Inline, unversioned accessor to get the current version. Essentially the same as SteamMatchmaking(), but using this
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h301// Inline, unversioned accessor to get the current version. Essentially the same as SteamMatchmakingServers(), but usin
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h325// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameSearch(), but using this e
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h346// Inline, unversioned accessor to get the current version. Essentially the same as SteamParties(), but using this ensu
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h365// Inline, unversioned accessor to get the current version. Essentially the same as SteamRemoteStorage(), but using thi
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h431// Inline, unversioned accessor to get the current version. Essentially the same as SteamUserStats(), but using this en
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h483// Inline, unversioned accessor to get the current version. Essentially the same as SteamApps(), but using this ensures
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h523// Inline, unversioned accessor to get the current version. Essentially the same as SteamNetworking(), but using this e
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h528// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerNetworking(), but us
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h557// Inline, unversioned accessor to get the current version. Essentially the same as SteamScreenshots(), but using this
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h573// Inline, unversioned accessor to get the current version. Essentially the same as SteamMusic(), but using this ensure
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h589// Inline, unversioned accessor to get the current version. Essentially the same as SteamMusicRemote(), but using this
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h628// Inline, unversioned accessor to get the current version. Essentially the same as SteamHTTP(), but using this ensures
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h633// Inline, unversioned accessor to get the current version. Essentially the same as SteamGameServerHTTP(), but using th
MEDIUMlsteamclient/steamworks_sdk_160/steam_api_flat.h665// Inline, unversioned accessor to get the current version. Essentially the same as SteamInput(), but using this ensure
469 more matches not shown…
Decorative Section Separators7 hits · 21 pts
SeverityFileLineSnippet
MEDIUMfilelock.py32# ------------------------------------------------
MEDIUMfilelock.py54# ------------------------------------------------
MEDIUMfilelock.py62# ------------------------------------------------
MEDIUMfilelock.py84# ------------------------------------------------
MEDIUMfilelock.py105# ------------------------------------------------
MEDIUMfilelock.py189 # --------------------------------------------
MEDIUMfilelock.py206 # --------------------------------------------
Example Usage Blocks7 hits · 10 pts
SeverityFileLineSnippet
LOWlsteamclient/steamworks_sdk_158/steam_api.h70// Example usage:
LOWlsteamclient/steamworks_sdk_160/steam_api.h88// Example usage:
LOWlsteamclient/steamworks_sdk_161/steam_api.h88// Example usage:
LOWlsteamclient/steamworks_sdk_159/steam_api.h87// Example usage:
LOWlsteamclient/steamworks_sdk_163/steam_api.h87// Example usage:
LOWlsteamclient/steamworks_sdk_164/steam_api.h87// Example usage:
LOWlsteamclient/steamworks_sdk_162/steam_api.h88// Example usage:
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippet
LOWfilelock.py219
LOWdefault_pfx.py53
LOWdefault_pfx.py78
LOWvrclient_x64/gen_wrapper.py1324
LOWlsteamclient/gen_wrapper.py1174
LOWfonts/scripts/merge.py245
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWconfigure.sh268 # Check if this arg used the value and shouldn't have or vice-versa
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippet
LOWdefault_pfx.py22def little_endian_bytes_to_uint(b):