Repository Analysis

hoffstadt/DearPyGui

Dear PyGui: A fast and powerful Graphical User Interface Toolkit for Python with minimal dependencies

14.5 Low AI signal View on GitHub
14.5
Adjusted Score
14.5
Raw Score
100%
Time Factor
2026-05-13
Last Push
15,460
Stars
C++
Language
126,900
Lines of Code
184
Files
1100
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 257MEDIUM 1LOW 842

Pattern Findings

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

Cross-File Repetition257 hits · 1285 pts
SeverityFileLineSnippet
HIGHdearpygui/_deprecated.py0deprecated function args: **label (str): overrides 'name' as label. **user_data (any): user data for callbacks. **use_in
HIGHdearpygui/dearpygui.py0deprecated function args: **label (str): overrides 'name' as label. **user_data (any): user data for callbacks. **use_in
HIGHdearpygui/_dearpygui_RTD.py0deprecated function args: **label (str): overrides 'name' as label. **user_data (any): user data for callbacks. **use_in
HIGHdearpygui/_deprecated.py0(deprecated function) adds vertical spacing. args: label (str, optional): overrides 'name' as label. user_data (any, opt
HIGHdearpygui/dearpygui.py0(deprecated function) adds vertical spacing. args: label (str, optional): overrides 'name' as label. user_data (any, opt
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) adds vertical spacing. args: label (str, optional): overrides 'name' as label. user_data (any, opt
HIGHdearpygui/_deprecated.py0(deprecated function) adds a spacer or 'dummy' object. args: label (str, optional): overrides 'name' as label. user_data
HIGHdearpygui/dearpygui.py0(deprecated function) adds a spacer or 'dummy' object. args: label (str, optional): overrides 'name' as label. user_data
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) adds a spacer or 'dummy' object. args: label (str, optional): overrides 'name' as label. user_data
HIGHdearpygui/_deprecated.py0(deprecated function) returns true if the plot is currently being queried. args: plot (union[int, str]): returns: bool
HIGHdearpygui/dearpygui.py0(deprecated function) returns true if the plot is currently being queried. args: plot (union[int, str]): returns: bool
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) returns true if the plot is currently being queried. args: plot (union[int, str]): returns: bool
HIGHdearpygui/_deprecated.py0(deprecated function) returns the last/current query area of the plot. if no area is available [0, 0, 0, 0] will be retu
HIGHdearpygui/dearpygui.py0(deprecated function) returns the last/current query area of the plot. if no area is available [0, 0, 0, 0] will be retu
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) returns the last/current query area of the plot. if no area is available [0, 0, 0, 0] will be retu
HIGHdearpygui/_deprecated.py0(deprecated function) adds an infinite horizontal line series to a plot. args: x (any): label (str, optional): overrides
HIGHdearpygui/dearpygui.py0(deprecated function) adds an infinite horizontal line series to a plot. args: x (any): label (str, optional): overrides
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) adds an infinite horizontal line series to a plot. args: x (any): label (str, optional): overrides
HIGHdearpygui/_deprecated.py0(deprecated function) adds an infinite vertical line series to a plot. args: x (any): label (str, optional): overrides '
HIGHdearpygui/dearpygui.py0(deprecated function) adds an infinite vertical line series to a plot. args: x (any): label (str, optional): overrides '
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) adds an infinite vertical line series to a plot. args: x (any): label (str, optional): overrides '
HIGHdearpygui/_deprecated.py0(deprecated function) adds an embedded child window. will show scrollbars when items do not fit. args: label (str, optio
HIGHdearpygui/dearpygui.py0(deprecated function) adds an embedded child window. will show scrollbars when items do not fit. args: label (str, optio
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) adds an embedded child window. will show scrollbars when items do not fit. args: label (str, optio
HIGHdearpygui/_deprecated.py0(deprecated function) adds an embedded child window. will show scrollbars when items do not fit. args: label (str, optio
HIGHdearpygui/dearpygui.py0(deprecated function) adds an embedded child window. will show scrollbars when items do not fit. args: label (str, optio
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) adds an embedded child window. will show scrollbars when items do not fit. args: label (str, optio
HIGHdearpygui/_deprecated.py0adds default registries for fonts, handlers, textures, colormaps, and values.
HIGHdearpygui/dearpygui.py0adds default registries for fonts, handlers, textures, colormaps, and values.
HIGHdearpygui/_dearpygui_RTD.py0adds default registries for fonts, handlers, textures, colormaps, and values.
HIGHdearpygui/_deprecated.py0checks if item is search delayed. returns: tracked as a bool or none
HIGHdearpygui/dearpygui.py0checks if item is search delayed. returns: tracked as a bool or none
HIGHdearpygui/_dearpygui_RTD.py0checks if item is search delayed. returns: tracked as a bool or none
HIGHdearpygui/_deprecated.py0(deprecated function) adds specific font characters to a font. args: chars (union[list[int], tuple[int, ...]]): label (s
HIGHdearpygui/dearpygui.py0(deprecated function) adds specific font characters to a font. args: chars (union[list[int], tuple[int, ...]]): label (s
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) adds specific font characters to a font. args: chars (union[list[int], tuple[int, ...]]): label (s
HIGHdearpygui/_deprecated.py0(deprecated function) adds a range of font characters to a font. args: first_char (int): last_char (int): label (str, op
HIGHdearpygui/dearpygui.py0(deprecated function) adds a range of font characters to a font. args: first_char (int): last_char (int): label (str, op
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) adds a range of font characters to a font. args: first_char (int): last_char (int): label (str, op
HIGHdearpygui/_deprecated.py0(deprecated function) adds a range of font characters (mvfontrangehint_ constants). args: hint (int): label (str, option
HIGHdearpygui/dearpygui.py0(deprecated function) adds a range of font characters (mvfontrangehint_ constants). args: hint (int): label (str, option
HIGHdearpygui/_dearpygui_RTD.py0(deprecated function) adds a range of font characters (mvfontrangehint_ constants). args: hint (int): label (str, option
HIGHdearpygui/_header.py0new in 1.2. runs callbacks from the callback queue and checks arguments.
HIGHdearpygui/dearpygui.py0new in 1.2. runs callbacks from the callback queue and checks arguments.
HIGHdearpygui/_dearpygui_RTD.py0new in 1.2. runs callbacks from the callback queue and checks arguments.
HIGHdearpygui/_header.py0prepares viewport (if not done already). sets up, cleans up, and runs main event loop. returns: none
HIGHdearpygui/dearpygui.py0prepares viewport (if not done already). sets up, cleans up, and runs main event loop. returns: none
HIGHdearpygui/_dearpygui_RTD.py0prepares viewport (if not done already). sets up, cleans up, and runs main event loop. returns: none
HIGHdearpygui/_header.py0a window that will be displayed when a parent item is hovered and the corresponding mouse button has been clicked. by de
HIGHdearpygui/dearpygui.py0a window that will be displayed when a parent item is hovered and the corresponding mouse button has been clicked. by de
HIGHdearpygui/_dearpygui_RTD.py0a window that will be displayed when a parent item is hovered and the corresponding mouse button has been clicked. by de
HIGHdearpygui/_header.py0shows the standard style editor window returns: none
HIGHdearpygui/dearpygui.py0shows the standard style editor window returns: none
HIGHdearpygui/_dearpygui_RTD.py0shows the standard style editor window returns: none
HIGHdearpygui/_header.py0shows the standard documentation window returns: none
HIGHdearpygui/dearpygui.py0shows the standard documentation window returns: none
HIGHdearpygui/_dearpygui_RTD.py0shows the standard documentation window returns: none
HIGHdearpygui/_header.py0shows a debug tool for the font manager returns: none
HIGHdearpygui/dearpygui.py0shows a debug tool for the font manager returns: none
HIGHdearpygui/_dearpygui_RTD.py0shows a debug tool for the font manager returns: none
197 more matches not shown…
Over-Commented Block742 hits · 468 pts
SeverityFileLineSnippet
LOWdocs/source/conf.py1# Configuration file for the Sphinx documentation builder.
LOWdocs/source/conf.py41
LOWdearpygui/type_info.py1
LOWdearpygui/_header.py21# - Viewport Setter Commands
LOWdearpygui/dearpygui.py1
LOWdearpygui/dearpygui.py21import inspect
LOWdearpygui/_dearpygui_RTD.py1
LOWdearpygui/_dearpygui_RTD.py21import inspect
LOWsandbox/main.cpp1#define PY_SSIZE_T_CLEAN
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp21FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp41#ifdef USE_STD_FILESYSTEM
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp61 #ifndef PATH_MAX
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp81#include <cstdlib>
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp101{
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp121// locales
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp141#define searchString "Search :"
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp161#ifndef buttonDriveString
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp181#endif // tableHeaderFileNameString
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp201#define OverWriteDialogCancelButtonString "Cancel"
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp221#define DisplayMode_ThumbailsList_ButtonHelp "Thumbnails List"
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.cpp261#define defaultBookmarkPaneWith 150.0f
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.h601
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.h621#define MAX_FILE_DIALOG_NAME_BUFFER 1024
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialog.h1261
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialogConfigUnix.h1#pragma once
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialogConfigUnix.h21//#define DisplayMode_FilesList_ButtonHelp "File List"
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialogConfigUnix.h41// by ex you can quit the dialog by pressing the key excape
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialogConfigUnix.h61//#define dirEntryString "[DIR] "
LOWthirdparty/ImGuiFileDialog/ImGuiFileDialogConfigUnix.h81
LOW…rdparty/ImGuiFileDialog/ImGuiFileDialogConfigWindows.h1#pragma once
LOW…rdparty/ImGuiFileDialog/ImGuiFileDialogConfigWindows.h21//#define DisplayMode_FilesList_ButtonHelp "File List"
LOW…rdparty/ImGuiFileDialog/ImGuiFileDialogConfigWindows.h41// by ex you can quit the dialog by pressing the key excape
LOW…rdparty/ImGuiFileDialog/ImGuiFileDialogConfigWindows.h61//#define dirEntryString "[DIR] "
LOW…rdparty/ImGuiFileDialog/ImGuiFileDialogConfigWindows.h81
LOWthirdparty/ImGuiFileDialog/CustomFont.h1//Header Generated with https://github.com/aiekick/ImGuiFontStudio
LOWthirdparty/ImGuiFileDialog/CustomFont.h21#define ICON_IGFD_FILE_GRID_THUMBNAILS u8"\uf00a"
LOWthirdparty/stb/stb_image_write.h201#ifdef _WIN32
LOWthirdparty/stb/stb_image_write.h221#elif !defined(STBIW_MALLOC) && !defined(STBIW_FREE) && !defined(STBIW_REALLOC) && !defined(STBIW_REALLOC_SIZED)
LOWthirdparty/stb/stb_image_write.h801 } else
LOWthirdparty/stb/stb_image_write.h881 (bitbuf |= (code) << bitcount, bitcount += (codebits), stbiw__zlib_flush())
LOWthirdparty/stb/stb_image.h121// - no JPEGs with arithmetic coding
LOWthirdparty/stb/stb_image.h141// corrupt or invalid. The pixel data consists of *y scanlines of *x pixels,
LOWthirdparty/stb/stb_image.h161// If image loading fails for any reason, the return value will be NULL,
LOWthirdparty/stb/stb_image.h181//
LOWthirdparty/stb/stb_image.h201// - No dependencies ("ease of use")
LOWthirdparty/stb/stb_image.h221// request it.
LOWthirdparty/stb/stb_image.h241// .HDR file format specifically. You can still load any file through the existing
LOWthirdparty/stb/stb_image.h261// stbi_ldr_to_hdr_scale(1.0f);
LOWthirdparty/stb/stb_image.h281// Call stbi_set_unpremultiply_on_load(1) as well to force a divide per
LOWthirdparty/stb/stb_image.h301// STBI_NO_PIC
LOWthirdparty/stb/stb_image.h341typedef unsigned short stbi_us;
LOWthirdparty/stb/stb_image.h401#ifndef STBI_NO_STDIO
LOWthirdparty/stb/stb_image.h501 || defined(STBI_ONLY_TGA) || defined(STBI_ONLY_GIF) || defined(STBI_ONLY_PSD) \
LOWthirdparty/stb/stb_image.h521#endif
LOWthirdparty/stb/stb_image.h541#include <string.h>
LOWthirdparty/stb/stb_image.h561#endif
LOWthirdparty/stb/stb_image.h601
LOWthirdparty/stb/stb_image.h621// ok
LOWthirdparty/stb/stb_image.h641#endif
LOWthirdparty/stb/stb_image.h661//
682 more matches not shown…
Hyper-Verbose Identifiers63 hits · 55 pts
SeverityFileLineSnippet
LOWdearpygui/_deprecated.py76def set_item_type_disabled_theme(item, theme):
LOWdearpygui/_deprecated.py106def add_deactivated_after_edit_handler(parent, **kwargs):
LOWdearpygui/_header.py736def is_item_deactivated_after_edit(item: Union[int, str]) -> Union[bool, None]:
LOWdearpygui/_header.py790def get_available_content_region(item: Union[int, str]) -> List[int]:
LOWdearpygui/_header.py997def get_viewport_client_width() -> int:
LOWdearpygui/_header.py1006def get_viewport_client_height() -> int:
LOWdearpygui/dearpygui.py752def is_item_deactivated_after_edit(item: Union[int, str]) -> Union[bool, None]:
LOWdearpygui/dearpygui.py806def get_available_content_region(item: Union[int, str]) -> List[int]:
LOWdearpygui/dearpygui.py1013def get_viewport_client_width() -> int:
LOWdearpygui/dearpygui.py1022def get_viewport_client_height() -> int:
LOWdearpygui/dearpygui.py1198def set_item_type_disabled_theme(item, theme):
LOWdearpygui/dearpygui.py1228def add_deactivated_after_edit_handler(parent, **kwargs):
LOWdearpygui/dearpygui.py5430def add_item_activated_handler(*, label: str =None, user_data: Any =None, use_internal_label: bool =True, tag: Union[int
LOWdearpygui/dearpygui.py5497def add_item_deactivated_after_edit_handler(*, label: str =None, user_data: Any =None, use_internal_label: bool =True, t
LOWdearpygui/dearpygui.py5519def add_item_deactivated_handler(*, label: str =None, user_data: Any =None, use_internal_label: bool =True, tag: Union[i
LOWdearpygui/dearpygui.py5541def add_item_double_clicked_handler(button : int =-1, *, label: str =None, user_data: Any =None, use_internal_label: boo
LOWdearpygui/dearpygui.py5609def add_item_handler_registry(*, label: str =None, user_data: Any =None, use_internal_label: bool =True, tag: Union[int,
LOWdearpygui/dearpygui.py5696def add_item_toggled_open_handler(*, label: str =None, user_data: Any =None, use_internal_label: bool =True, tag: Union[
LOWdearpygui/dearpygui.py6072def add_mouse_double_click_handler(button : int =-1, *, label: str =None, user_data: Any =None, use_internal_label: bool
LOWdearpygui/dearpygui.py6164def add_mouse_release_handler(button : int =-1, *, label: str =None, user_data: Any =None, use_internal_label: bool =Tru
LOWdearpygui/dearpygui.py8045def bind_item_handler_registry(item : Union[int, str], handler_registry : Union[int, str], **kwargs) -> None:
LOWdearpygui/dearpygui.py8150def create_orthographic_matrix(left : float, right : float, bottom : float, top : float, zNear : float, zFar : float, **
LOWdearpygui/dearpygui.py8166def create_perspective_matrix(fov : float, aspect : float, zNear : float, zFar : float, **kwargs) -> Any:
LOWdearpygui/dearpygui.py8203def create_translation_matrix(translation : Union[List[float], Tuple[float, ...]], **kwargs) -> Any:
LOWdearpygui/dearpygui.py9073def get_viewport_configuration(item : Union[int, str], **kwargs) -> dict:
LOWdearpygui/dearpygui.py9232def is_mouse_button_double_clicked(button : int, **kwargs) -> bool:
LOWdearpygui/dearpygui.py9277def is_table_cell_highlighted(table : Union[int, str], row : int, column : int, **kwargs) -> bool:
LOWdearpygui/dearpygui.py9290def is_table_column_highlighted(table : Union[int, str], column : int, **kwargs) -> bool:
LOWdearpygui/dearpygui.py9499def reset_axis_limits_constraints(axis : Union[int, str], **kwargs) -> None:
LOWdearpygui/dearpygui.py9521def reset_axis_zoom_constraints(axis : Union[int, str], **kwargs) -> None:
LOWdearpygui/dearpygui.py9606def set_axis_limits_constraints(axis : Union[int, str], vmin : float, vmax : float, **kwargs) -> None:
LOWdearpygui/dearpygui.py9631def set_axis_zoom_constraints(axis : Union[int, str], vmin : float, vmax : float, **kwargs) -> None:
LOWdearpygui/dearpygui.py9770def set_viewport_resize_callback(callback : Callable, *, user_data: Any =None, **kwargs) -> str:
LOWdearpygui/dearpygui.py9913def toggle_viewport_fullscreen(**kwargs) -> None:
LOWdearpygui/_dearpygui_RTD.py752def is_item_deactivated_after_edit(item: Union[int, str]) -> Union[bool, None]:
LOWdearpygui/_dearpygui_RTD.py806def get_available_content_region(item: Union[int, str]) -> List[int]:
LOWdearpygui/_dearpygui_RTD.py1013def get_viewport_client_width() -> int:
LOWdearpygui/_dearpygui_RTD.py1022def get_viewport_client_height() -> int:
LOWdearpygui/_dearpygui_RTD.py1198def set_item_type_disabled_theme(item, theme):
LOWdearpygui/_dearpygui_RTD.py1228def add_deactivated_after_edit_handler(parent, **kwargs):
LOWdearpygui/_dearpygui_RTD.py4856def add_item_activated_handler(**kwargs):
LOWdearpygui/_dearpygui_RTD.py4911def add_item_deactivated_after_edit_handler(**kwargs):
LOWdearpygui/_dearpygui_RTD.py4929def add_item_deactivated_handler(**kwargs):
LOWdearpygui/_dearpygui_RTD.py4947def add_item_double_clicked_handler(button=-1, **kwargs):
LOWdearpygui/_dearpygui_RTD.py5003def add_item_handler_registry(**kwargs):
LOWdearpygui/_dearpygui_RTD.py5074def add_item_toggled_open_handler(**kwargs):
LOWdearpygui/_dearpygui_RTD.py5386def add_mouse_double_click_handler(button=-1, **kwargs):
LOWdearpygui/_dearpygui_RTD.py5462def add_mouse_release_handler(button=-1, **kwargs):
LOWdearpygui/_dearpygui_RTD.py7038def bind_item_handler_registry(item, handler_registry):
LOWdearpygui/_dearpygui_RTD.py7143def create_orthographic_matrix(left, right, bottom, top, zNear, zFar):
LOWdearpygui/_dearpygui_RTD.py7159def create_perspective_matrix(fov, aspect, zNear, zFar):
LOWdearpygui/_dearpygui_RTD.py7196def create_translation_matrix(translation):
LOWdearpygui/_dearpygui_RTD.py7998def get_viewport_configuration(item):
LOWdearpygui/_dearpygui_RTD.py8157def is_mouse_button_double_clicked(button):
LOWdearpygui/_dearpygui_RTD.py8202def is_table_cell_highlighted(table, row, column):
LOWdearpygui/_dearpygui_RTD.py8215def is_table_column_highlighted(table, column):
LOWdearpygui/_dearpygui_RTD.py8424def reset_axis_limits_constraints(axis):
LOWdearpygui/_dearpygui_RTD.py8446def reset_axis_zoom_constraints(axis):
LOWdearpygui/_dearpygui_RTD.py8531def set_axis_limits_constraints(axis, vmin, vmax):
LOWdearpygui/_dearpygui_RTD.py8556def set_axis_zoom_constraints(axis, vmin, vmax):
3 more matches not shown…
Unused Imports24 hits · 21 pts
SeverityFileLineSnippet
LOWsetup.py1
LOWsetup.py7
LOWdearpygui/experimental.py5
LOWdearpygui/experimental.py6
LOWdearpygui/_header.py3
LOWdearpygui/_header.py4
LOWdearpygui/_header.py7
LOWdearpygui/_header.py8
LOWdearpygui/_header.py9
LOWdearpygui/dearpygui.py23
LOWdearpygui/dearpygui.py24
LOWdearpygui/dearpygui.py25
LOWdearpygui/_dearpygui_RTD.py23
LOWdearpygui/_dearpygui_RTD.py24
LOWdearpygui/_dearpygui_RTD.py25
LOWthirdparty/DearPyGui_Ext/main.py3
LOWthirdparty/DearPyGui_Ext/dearpygui_ext/themes.py1
LOWthirdparty/DearPyGui_Ext/dearpygui_ext/themes.py1
LOWthirdparty/DearPyGui_Ext/dearpygui_ext/themes.py1
LOWthirdparty/DearPyGui_Ext/dearpygui_ext/themes.py1
LOWthirdparty/DearPyGui_Ext/dearpygui_ext/utilities.py4
LOWthirdparty/DearPyGui_Ext/dearpygui_ext/utilities.py4
LOWthirdparty/DearPyGui_Ext/dearpygui_ext/utilities.py4
LOWthirdparty/DearPyGui_Ext/dearpygui_ext/utilities.py5
Deep Nesting12 hits · 11 pts
SeverityFileLineSnippet
LOWsetup.py108
LOWdearpygui/_header.py34
LOWdearpygui/demo.py39
LOWdearpygui/demo.py204
LOWdearpygui/demo.py3223
LOWdearpygui/demo.py380
LOWdearpygui/demo.py396
LOWdearpygui/demo.py1802
LOWdearpygui/dearpygui.py50
LOWdearpygui/_dearpygui_RTD.py50
LOWtesting/simple_tests.py59
LOWthirdparty/DearPyGui_Ext/dearpygui_ext/logger.py53
Self-Referential Comments1 hit · 2 pts
SeverityFileLineSnippet
MEDIUMsrc/mvPyUtils.cpp2259 stub << "# This file is generated automatically by mvPythonParser #\n";
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWdearpygui/experimental.py8def test_function():