Repository Analysis

FreeRDP/FreeRDP

FreeRDP is a free remote desktop protocol library and clients

2.0 Likely human-written View on GitHub
2.0
Adjusted Score
2.0
Raw Score
100%
Time Factor
2026-05-29
Last Push
13,233
Stars
C
Language
701,587
Lines of Code
2313
Files
1553
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 2LOW 1551

Pattern Findings

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

Over-Commented Block1538 hits · 1406 pts
SeverityFileLineSnippet
LOWCMakeLists.txt1# FreeRDP: A Remote Desktop Protocol Implementation
LOWtools/smartcard-interpreter.py1#!/usr/bin/env python3
LOWinclude/CMakeLists.txt1# FreeRDP: A Remote Desktop Protocol Implementation
LOWinclude/freerdp/settings_types.h21 * limitations under the License.
LOWinclude/freerdp/settings_types.h41#endif
LOWinclude/freerdp/settings_types.h61
LOWinclude/freerdp/settings_types.h81#define CONNECTION_TYPE_SATELLITE 0x03
LOWinclude/freerdp/settings_types.h141#define RNS_UD_15BPP_SUPPORT 0x0004
LOWinclude/freerdp/settings_types.h161#define RNS_UD_CS_SUPPORT_SKIP_CHANNELJOIN 0x0800
LOWinclude/freerdp/settings_types.h181
LOWinclude/freerdp/settings_types.h201#define TRANSPORT_TYPE_UDP_PREFERRED 0x00000100
LOWinclude/freerdp/settings_types.h301
LOWinclude/freerdp/error.h21#define FREERDP_ERROR_H
LOWinclude/freerdp/error.h41#define CAT_ADMIN "administrative"
LOWinclude/freerdp/error.h61#define ERRINFO_CLOSE_STACK_ON_DRIVER_FAILURE 0x00000011
LOWinclude/freerdp/error.h81#define ERRINFO_CB_LOADING_DESTINATION 0x0000402
LOWinclude/freerdp/error.h101#define ERRINFO_CREATE_USER_DATA_FAILED 0x000010D2
LOWinclude/freerdp/error.h121#define ERRINFO_INVALID_VC_COMPRESSION_TYPE 0x000010ED
LOWinclude/freerdp/error.h141#define ERRINFO_SECURITY_DATA_TOO_SHORT13 0x0000111C
LOWinclude/freerdp/error.h161#define ERRINFO_DYNAMIC_DST_DISABLED_FIELD_MISSING 0x00001132
LOWinclude/freerdp/error.h221#define FREERDP_ERROR_ERRINFO_CLASS (FREERDP_ERROR_BASE + 1)
LOWinclude/freerdp/error.h241#define FREERDP_ERROR_CLOSE_STACK_ON_DRIVER_NOT_READY \
LOWinclude/freerdp/error.h261#define ERRCONNECT_AUTHENTICATION_FAILED 0x00000009
LOWinclude/freerdp/peer.h21#define FREERDP_PEER_H
LOWinclude/freerdp/input.h21#define FREERDP_INPUT_H
LOWinclude/freerdp/secondary.h21#define FREERDP_UPDATE_SECONDARY_H
LOWinclude/freerdp/secondary.h41#define BITMAP_CACHE_WAITING_LIST_INDEX 0x7FFF
LOWinclude/freerdp/secondary.h61#define HS_FDIAGONAL 0x02
LOWinclude/freerdp/client.h21#ifndef FREERDP_CLIENT_H
LOWinclude/freerdp/altsec.h21#define FREERDP_UPDATE_ALTSEC_H
LOWinclude/freerdp/settings.h21 * limitations under the License.
LOWinclude/freerdp/addin.h21#define FREERDP_COMMON_ADDIN_H
LOWinclude/freerdp/types.h21#ifndef FREERDP_TYPES_H
LOWinclude/freerdp/freerdp.h21
LOWinclude/freerdp/freerdp.h61
LOWinclude/freerdp/window.h21#define FREERDP_UPDATE_WINDOW_H
LOWinclude/freerdp/window.h41#define WINDOW_ORDER_FIELD_RESIZE_MARGIN_X 0x00000080
LOWinclude/freerdp/window.h61#define WINDOW_ORDER_FIELD_ICON_BIG 0x00002000
LOWinclude/freerdp/window.h81/* Window Styles */
LOWinclude/freerdp/window.h101 (WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX)
LOWinclude/freerdp/window.h121#define WS_EX_CONTEXTHELP 0x00000400
LOWinclude/freerdp/message.h41
LOWinclude/freerdp/message.h61#define FREERDP_UPDATE_SET_BOUNDS MakeMessageId(Update, SetBounds)
LOWinclude/freerdp/message.h81#define PrimaryUpdate_ScrBlt 3
LOWinclude/freerdp/message.h101
LOWinclude/freerdp/message.h121#define FREERDP_PRIMARY_UPDATE_POLYGON_CB MakeMessageId(PrimaryUpdate, PolygonCB)
LOWinclude/freerdp/message.h141#define FREERDP_SECONDARY_UPDATE_CACHE_GLYPH MakeMessageId(SecondaryUpdate, CacheGlyph)
LOWinclude/freerdp/message.h161
LOWinclude/freerdp/message.h181
LOWinclude/freerdp/message.h201#define FREERDP_WINDOW_UPDATE_NOTIFY_ICON_UPDATE MakeMessageId(WindowUpdate, NotifyIconUpdate)
LOWinclude/freerdp/message.h241#define Input_FocusInEvent 6
LOWinclude/freerdp/message.h261 * Debug Channel
LOWinclude/freerdp/message.h281#define CliprdrChannel_TemporaryDirectory 10
LOWinclude/freerdp/message.h301/**
LOWinclude/freerdp/message.h321#define RailChannel_ClientLanguageBarInfo 15
LOWinclude/freerdp/message.h361#define RdpeiChannel_ServerReady 1
LOWinclude/freerdp/svc.h21
LOWinclude/freerdp/api.h21#define FREERDP_API_H
LOWinclude/freerdp/api.h41#ifdef FREERDP_EXPORTS
LOWinclude/freerdp/api.h61#define FREERDP_API __attribute__((visibility("default")))
1478 more matches not shown…
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippet
LOWtools/smartcard-interpreter.py235
LOWtools/smartcard-interpreter.py276
LOWtools/smartcard-interpreter.py316
LOWtools/smartcard-interpreter.py416
LOWtools/smartcard-interpreter.py446
LOWscripts/fetch_language_identifiers.py23
LOWscripts/fetch_language_identifiers.py58
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMpackaging/scripts/create_rpm.sh3# Create a RPM package
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM.github/workflows/codeql-analysis.yml50 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippet
LOWwinpr/libwinpr/crypto/test/TestCryptoCipher.c17 const char plaintext[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "
LOWwinpr/libwinpr/crypto/test/TestCryptoCipher.c17 const char plaintext[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "
Unused Imports2 hits · 2 pts
SeverityFileLineSnippet
LOWscripts/fetch_language_identifiers.py6
LOWscripts/fetch_language_identifiers.py9
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippet
LOWclient/X11/xf_event.c978 * This section handles sending the appropriate commands to the rail server
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippet
LOWscripts/update-windows-zones.py39except Exception as e: