AI Slop Code Risk Monitor

TomSchimansky/CustomTkinter

SlopCodeMonitor badge for TomSchimansky/CustomTkinter Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

A modern and customizable python UI-library based on Tkinter

28.1 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for TomSchimansky/CustomTkinter, a Python project with 13,613 GitHub stars. SynthScan examined 14,151 lines of code across 97 source files, recording 258 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 28.1 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

28.1
Adjusted Signal
28.1
Raw Pattern Score
100%
Time Factor
2026-11-15
Last Push
13.6K
Stars
Python
Language
14.2K
Lines of Code
97
Files
258
Pattern Hits
2026-11-16
Scan Date
0.30
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-16.

Cognitive Ownership Risk 38.9/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 128 finding(s).

Hallucinated Dependency & Supply Chain Risk 28.3/100 · MEDIUM

Are imports declared and package/API names verified? 85 finding(s).

Agent Over-Engineering Ratio 58.5/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 124 finding(s).

PR Review Velocity Impact 77.1/100 · CRITICAL

Which changes need focused human review? 258 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 29MEDIUM 7LOW 222

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 258 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Cross-File Repetition21 hits · 105 pts
SeverityFileLineSnippetContext
HIGHcustomtkinter/windows/widgets/ctk_segmented_button.py0returns index of selected value, raises valueerror if the value is missing if the parameter is provided, returns the assSTRING
HIGHcustomtkinter/windows/widgets/ctk_combobox.py0returns index of selected value, raises valueerror if the value is missing if the parameter is provided, returns the assSTRING
HIGHcustomtkinter/windows/widgets/ctk_optionmenu.py0returns index of selected value, raises valueerror if the value is missing if the parameter is provided, returns the assSTRING
HIGHcustomtkinter/windows/widgets/ctk_switch.py0set necessary bindings for functionality of widget, will overwrite other bindingsSTRING
HIGHcustomtkinter/windows/widgets/ctk_combobox.py0set necessary bindings for functionality of widget, will overwrite other bindingsSTRING
HIGHcustomtkinter/windows/widgets/ctk_scrollbar.py0set necessary bindings for functionality of widget, will overwrite other bindingsSTRING
HIGHcustomtkinter/windows/widgets/ctk_radiobutton.py0set necessary bindings for functionality of widget, will overwrite other bindingsSTRING
HIGHcustomtkinter/windows/widgets/ctk_entry.py0set necessary bindings for functionality of widget, will overwrite other bindingsSTRING
HIGHcustomtkinter/windows/widgets/ctk_button.py0set necessary bindings for functionality of widget, will overwrite other bindingsSTRING
HIGHcustomtkinter/windows/widgets/ctk_checkbox.py0set necessary bindings for functionality of widget, will overwrite other bindingsSTRING
HIGHcustomtkinter/windows/widgets/ctk_slider.py0set necessary bindings for functionality of widget, will overwrite other bindingsSTRING
HIGHcustomtkinter/windows/widgets/ctk_optionmenu.py0set necessary bindings for functionality of widget, will overwrite other bindingsSTRING
HIGHcustomtkinter/windows/widgets/ctk_switch.py0pass font to tkinter widgets with applied font scaling and update grid with workaroundSTRING
HIGHcustomtkinter/windows/widgets/ctk_combobox.py0pass font to tkinter widgets with applied font scaling and update grid with workaroundSTRING
HIGHcustomtkinter/windows/widgets/ctk_radiobutton.py0pass font to tkinter widgets with applied font scaling and update grid with workaroundSTRING
HIGHcustomtkinter/windows/widgets/ctk_label.py0pass font to tkinter widgets with applied font scaling and update grid with workaroundSTRING
HIGHcustomtkinter/windows/widgets/ctk_entry.py0pass font to tkinter widgets with applied font scaling and update grid with workaroundSTRING
HIGHcustomtkinter/windows/widgets/ctk_textbox.py0pass font to tkinter widgets with applied font scaling and update grid with workaroundSTRING
HIGHcustomtkinter/windows/widgets/ctk_button.py0pass font to tkinter widgets with applied font scaling and update grid with workaroundSTRING
HIGHcustomtkinter/windows/widgets/ctk_checkbox.py0pass font to tkinter widgets with applied font scaling and update grid with workaroundSTRING
HIGHcustomtkinter/windows/widgets/ctk_optionmenu.py0pass font to tkinter widgets with applied font scaling and update grid with workaroundSTRING
Hyper-Verbose Identifiers62 hits · 68 pts
SeverityFileLineSnippetContext
LOW…nual_integration_tests/test_all_widgets_with_colors.py55 def create_widgets_on_ctk_frame(self):CODE
LOW…nual_integration_tests/test_all_widgets_with_colors.py96 def create_widgets_on_ctk_frame_customized(self):CODE
LOW…nual_integration_tests/test_all_widgets_with_colors.py137 def create_widgets_on_tk_frame_customized(self):CODE
LOWcustomtkinter/__init__.py83def deactivate_automatic_dpi_awareness():CODE
LOWcustomtkinter/__init__.py299 def _change_appearance_mode_event(self, new_appearance_mode: str) -> None:CODE
LOWcustomtkinter/windows/ctk_toplevel.py118 def block_update_dimensions_event(self):CODE
LOWcustomtkinter/windows/ctk_toplevel.py121 def unblock_update_dimensions_event(self):CODE
LOW⚡customtkinter/windows/ctk_toplevel.py208 def _windows_set_titlebar_icon(self):CODE
LOW⚡customtkinter/windows/ctk_toplevel.py218 def _enable_macos_dark_title_bar(cls):CODE
LOW⚡customtkinter/windows/ctk_toplevel.py225 def _disable_macos_dark_title_bar(cls):CODE
LOW⚡customtkinter/windows/ctk_toplevel.py232 def _windows_set_titlebar_color(self, color_mode: str):CODE
LOWcustomtkinter/windows/ctk_toplevel.py281 def _revert_withdraw_after_windows_set_titlebar_color(self):CODE
LOWcustomtkinter/windows/ctk_tk.py126 def block_update_dimensions_event(self):CODE
LOWcustomtkinter/windows/ctk_tk.py129 def unblock_update_dimensions_event(self):CODE
LOW⚡customtkinter/windows/ctk_tk.py240 def _windows_set_titlebar_icon(self):CODE
LOW⚡customtkinter/windows/ctk_tk.py250 def _enable_macos_dark_title_bar(cls):CODE
LOW⚡customtkinter/windows/ctk_tk.py258 def _disable_macos_dark_title_bar(cls):CODE
LOW⚡customtkinter/windows/ctk_tk.py265 def _windows_set_titlebar_color(self, color_mode: str):CODE
LOWcustomtkinter/windows/widgets/ctk_segmented_button.py119 def _configure_button_corners_for_index(self, index: int):CODE
LOWcustomtkinter/windows/widgets/ctk_segmented_button.py153 def _unselect_button_by_value(self, value: str):CODE
LOWcustomtkinter/windows/widgets/ctk_segmented_button.py215 def _create_buttons_from_values(self):CODE
LOWcustomtkinter/windows/widgets/ctk_scrollbar.py111 def _get_scrollbar_values_for_minimum_pixel_size(self):CODE
LOWcustomtkinter/windows/widgets/ctk_scrollable_frame.py250 def _fit_frame_dimensions_to_canvas(self, event):CODE
LOWcustomtkinter/windows/widgets/ctk_scrollable_frame.py289 def _keyboard_shift_press_all(self, event):CODE
LOWcustomtkinter/windows/widgets/ctk_scrollable_frame.py292 def _keyboard_shift_release_all(self, event):CODE
LOWcustomtkinter/windows/widgets/ctk_tabview.py109 def _segmented_button_callback(self, selected_name):CODE
LOWcustomtkinter/windows/widgets/ctk_tabview.py146 def _configure_segmented_button_background_corners(self):CODE
LOWcustomtkinter/windows/widgets/ctk_tabview.py179 def _set_grid_segmented_button(self):CODE
LOWcustomtkinter/windows/widgets/ctk_textbox.py125 def _create_grid_for_text_and_scrollbars(self, re_grid_textbox=False, re_grid_x_scrollbar=False, re_grid_y_scrollbarCODE
LOWcustomtkinter/windows/widgets/ctk_textbox.py154 def _check_if_scrollbars_needed(self, event=None, continue_loop: bool = False):CODE
LOW…r/windows/widgets/core_widget_classes/dropdown_menu.py60 def _configure_menu_for_platforms(self):CODE
LOWcustomtkinter/windows/widgets/image/ctk_image.py49 def remove_configure_callback(self, callback: Callable):CODE
LOW⚡customtkinter/windows/widgets/image/ctk_image.py97 def _get_scaled_light_photo_image(self, scaled_size: Tuple[int, int]) -> "ImageTk.PhotoImage":CODE
LOW⚡customtkinter/windows/widgets/image/ctk_image.py104 def _get_scaled_dark_photo_image(self, scaled_size: Tuple[int, int]) -> "ImageTk.PhotoImage":CODE
LOW⚡customtkinter/windows/widgets/image/ctk_image.py111 def create_scaled_photo_image(self, widget_scaling: float, appearance_mode: str) -> "ImageTk.PhotoImage":CODE
LOW…mtkinter/windows/widgets/scaling/scaling_base_class.py158 def _reverse_geometry_scaling(self, scaled_geometry_string: str) -> str:CODE
LOW…stomtkinter/windows/widgets/scaling/scaling_tracker.py40 def get_window_root_of_widget(cls, widget):CODE
LOW…stomtkinter/windows/widgets/scaling/scaling_tracker.py50 def update_scaling_callbacks_all(cls):CODE
LOW…stomtkinter/windows/widgets/scaling/scaling_tracker.py61 def update_scaling_callbacks_for_window(cls, window):CODE
LOW…stomtkinter/windows/widgets/scaling/scaling_tracker.py112 def activate_high_dpi_awareness(cls):CODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py37 def set_round_to_even_numbers(self, round_width_to_even_numbers: bool = True, round_height_to_even_numbers: bool = TCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py41 def __calc_optimal_corner_radius(self, user_corner_radius: Union[float, int]) -> Union[float, int]:CODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py97 def draw_rounded_rect_with_border(self, width: Union[float, int], height: Union[float, int], corner_radius: Union[flCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py133 def __draw_rounded_rect_with_border_polygon_shapes(self, width: int, height: int, corner_radius: int, border_width: CODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py187 def __draw_rounded_rect_with_border_font_shapes(self, width: int, height: int, corner_radius: int, border_width: intCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py326 def __draw_rounded_rect_with_border_circle_shapes(self, width: int, height: int, corner_radius: int, border_width: iCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py400 def draw_rounded_rect_with_border_vertical_split(self, width: Union[float, int], height: Union[float, int], corner_rCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py437 def __draw_rounded_rect_with_border_vertical_split_polygon_shapes(self, width: int, height: int, corner_radius: int,CODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py530 def __draw_rounded_rect_with_border_vertical_split_font_shapes(self, width: int, height: int, corner_radius: int, boCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py694 def draw_rounded_progress_bar_with_border(self, width: Union[float, int], height: Union[float, int], corner_radius: CODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py725 def __draw_rounded_progress_bar_with_border_polygon_shapes(self, width: int, height: int, corner_radius: int, borderCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py767 def __draw_rounded_progress_bar_with_border_font_shapes(self, width: int, height: int, corner_radius: int, border_wiCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py872 def draw_rounded_slider_with_border_and_button(self, width: Union[float, int], height: Union[float, int], corner_radCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py904 def __draw_rounded_slider_with_border_and_button_polygon_shapes(self, width: int, height: int, corner_radius: int, bCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py943 def __draw_rounded_slider_with_border_and_button_font_shapes(self, width: int, height: int, corner_radius: int, bordCODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py1058 def __draw_rounded_scrollbar_polygon_shapes(self, width: int, height: int, corner_radius: int, inner_corner_radius: CODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py1089 def __draw_rounded_scrollbar_font_shapes(self, width: int, height: int, corner_radius: int, inner_corner_radius: intCODE
LOW…omtkinter/windows/widgets/core_rendering/ctk_canvas.py35 def init_font_character_mapping(cls):CODE
LOWcustomtkinter/windows/widgets/font/ctk_font.py49 def add_size_configure_callback(self, callback: Callable):CODE
LOWcustomtkinter/windows/widgets/font/ctk_font.py53 def remove_size_configure_callback(self, callback: Callable):CODE
2 more matches not shown…
Fake / Example Data43 hits · 52 pts
SeverityFileLineSnippetContext
LOW…/manual_integration_tests/test_configure_dimensions.py27entry_1 = customtkinter.CTkEntry(app, placeholder_text="placeholder")CODE
LOW⚡test/manual_integration_tests/test_textbox.py16textbox_1.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py16textbox_1.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py25textbox_2.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py25textbox_2.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py29textbox_2.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py29textbox_2.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py33textbox_2.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py33textbox_2.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py38textbox_2.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py38textbox_2.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py42textbox_2.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py42textbox_2.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py51textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py51textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py55textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py55textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py59textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py59textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py63textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py63textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py67textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py67textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py76textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py76textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py80textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py80textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py84textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py84textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py88textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py88textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py92textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py92textbox_3.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py96textbox_4.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/test_textbox.py96textbox_4.insert("0.0", "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor inviduntCODE
LOW⚡test/manual_integration_tests/text_entry_placeholder.py9entry_1 = customtkinter.CTkEntry(app, placeholder_text="placeholder", textvariable=str_var)CODE
LOW⚡test/manual_integration_tests/text_entry_placeholder.py12entry_2 = customtkinter.CTkEntry(app, placeholder_text="placeholder", textvariable=str_var)CODE
LOW⚡test/manual_integration_tests/text_entry_placeholder.py17entry_3 = customtkinter.CTkEntry(app, placeholder_text="placeholder")CODE
LOWtest/manual_integration_tests/test_variables.py15entry_1 = customtkinter.CTkEntry(app, width=200, textvariable=txt_var, placeholder_text="placeholder")CODE
LOWcustomtkinter/__init__.py188 self.textbox.insert("0.0", "CTkTextbox\n\n" + "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diamCODE
LOWcustomtkinter/__init__.py188 self.textbox.insert("0.0", "CTkTextbox\n\n" + "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diamCODE
LOW⚡examples/complex_example.py143 self.textbox.insert("0.0", "CTkTextbox\n\n" + "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diamCODE
LOW⚡examples/complex_example.py143 self.textbox.insert("0.0", "CTkTextbox\n\n" + "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diamCODE
Deep Nesting43 hits · 42 pts
SeverityFileLineSnippetContext
LOWcustomtkinter/windows/ctk_toplevel.py281CODE
LOWcustomtkinter/windows/ctk_tk.py265CODE
LOWcustomtkinter/windows/widgets/ctk_segmented_button.py119CODE
LOWcustomtkinter/windows/widgets/ctk_segmented_button.py337CODE
LOWcustomtkinter/windows/widgets/ctk_switch.py178CODE
LOWcustomtkinter/windows/widgets/ctk_switch.py358CODE
LOWcustomtkinter/windows/widgets/ctk_combobox.py301CODE
LOWcustomtkinter/windows/widgets/ctk_scrollbar.py199CODE
LOWcustomtkinter/windows/widgets/ctk_radiobutton.py297CODE
LOWcustomtkinter/windows/widgets/ctk_radiobutton.py340CODE
LOWcustomtkinter/windows/widgets/ctk_scrollable_frame.py221CODE
LOWcustomtkinter/windows/widgets/ctk_scrollable_frame.py264CODE
LOWcustomtkinter/windows/widgets/ctk_scrollable_frame.py295CODE
LOWcustomtkinter/windows/widgets/ctk_label.py274CODE
LOWcustomtkinter/windows/widgets/ctk_entry.py261CODE
LOWcustomtkinter/windows/widgets/ctk_frame.py134CODE
LOWcustomtkinter/windows/widgets/ctk_frame.py169CODE
LOWcustomtkinter/windows/widgets/ctk_tabview.py314CODE
LOWcustomtkinter/windows/widgets/ctk_tabview.py416CODE
LOWcustomtkinter/windows/widgets/ctk_progressbar.py201CODE
LOWcustomtkinter/windows/widgets/ctk_textbox.py307CODE
LOWcustomtkinter/windows/widgets/ctk_button.py288CODE
LOWcustomtkinter/windows/widgets/ctk_button.py452CODE
LOWcustomtkinter/windows/widgets/ctk_button.py495CODE
LOWcustomtkinter/windows/widgets/ctk_checkbox.py316CODE
LOWcustomtkinter/windows/widgets/ctk_checkbox.py361CODE
LOWcustomtkinter/windows/widgets/ctk_slider.py151CODE
LOWcustomtkinter/windows/widgets/ctk_slider.py285CODE
LOWcustomtkinter/windows/widgets/ctk_optionmenu.py306CODE
LOW…r/windows/widgets/core_widget_classes/dropdown_menu.py162CODE
LOW…/windows/widgets/core_widget_classes/ctk_base_class.py32CODE
LOW…/windows/widgets/core_widget_classes/ctk_base_class.py138CODE
LOW…/windows/widgets/core_widget_classes/ctk_base_class.py190CODE
LOW…/windows/widgets/core_widget_classes/ctk_base_class.py77CODE
LOW…ows/widgets/appearance_mode/appearance_mode_tracker.py65CODE
LOW…/widgets/appearance_mode/appearance_mode_base_class.py49CODE
LOWcustomtkinter/windows/widgets/image/ctk_image.py111CODE
LOW…mtkinter/windows/widgets/scaling/scaling_base_class.py87CODE
LOW…stomtkinter/windows/widgets/scaling/scaling_tracker.py173CODE
LOWcustomtkinter/windows/widgets/theme/theme_manager.py15CODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py41CODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py187CODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py530CODE
Unused Imports42 hits · 42 pts
SeverityFileLineSnippetContext
LOWtest/unit_tests/test_ctk_button.py1CODE
LOWtest/unit_tests/test_ctk_entry.py2CODE
LOWtest/unit_tests/test_ctk.py1CODE
LOWtest/manual_integration_tests/test_filedialog.py1CODE
LOWcustomtkinter/__init__.py3CODE
LOWcustomtkinter/__init__.py4CODE
LOWcustomtkinter/__init__.py5CODE
LOWcustomtkinter/__init__.py7CODE
LOWcustomtkinter/__init__.py12CODE
LOWcustomtkinter/__init__.py18CODE
LOWcustomtkinter/__init__.py19CODE
LOWcustomtkinter/__init__.py48CODE
LOWcustomtkinter/windows/__init__.py1CODE
LOWcustomtkinter/windows/__init__.py2CODE
LOWcustomtkinter/windows/__init__.py3CODE
LOWcustomtkinter/windows/widgets/__init__.py1CODE
LOWcustomtkinter/windows/widgets/__init__.py2CODE
LOWcustomtkinter/windows/widgets/__init__.py3CODE
LOWcustomtkinter/windows/widgets/__init__.py4CODE
LOWcustomtkinter/windows/widgets/__init__.py5CODE
LOWcustomtkinter/windows/widgets/__init__.py6CODE
LOWcustomtkinter/windows/widgets/__init__.py7CODE
LOWcustomtkinter/windows/widgets/__init__.py8CODE
LOWcustomtkinter/windows/widgets/__init__.py9CODE
LOWcustomtkinter/windows/widgets/__init__.py10CODE
LOWcustomtkinter/windows/widgets/__init__.py11CODE
LOWcustomtkinter/windows/widgets/__init__.py12CODE
LOWcustomtkinter/windows/widgets/__init__.py13CODE
LOWcustomtkinter/windows/widgets/__init__.py14CODE
LOWcustomtkinter/windows/widgets/__init__.py15CODE
LOWcustomtkinter/windows/widgets/__init__.py16CODE
LOWcustomtkinter/windows/widgets/ctk_textbox.py2CODE
LOW…/windows/widgets/core_widget_classes/ctk_base_class.py1CODE
LOW…kinter/windows/widgets/core_widget_classes/__init__.py1CODE
LOW…kinter/windows/widgets/core_widget_classes/__init__.py2CODE
LOW…tomtkinter/windows/widgets/appearance_mode/__init__.py1CODE
LOWcustomtkinter/windows/widgets/image/__init__.py1CODE
LOWcustomtkinter/windows/widgets/scaling/__init__.py3CODE
LOW…mtkinter/windows/widgets/core_rendering/draw_engine.py1CODE
LOWcustomtkinter/windows/widgets/font/__init__.py4CODE
LOWcustomtkinter/windows/widgets/utility/__init__.py1CODE
LOWcustomtkinter/windows/widgets/utility/__init__.py1CODE
Empty Error Handlers8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHcustomtkinter/windows/ctk_toplevel.py214except Exception:CODE
HIGHcustomtkinter/windows/ctk_toplevel.py187except Exception:CODE
HIGHcustomtkinter/windows/ctk_tk.py246except Exception:CODE
HIGHcustomtkinter/windows/ctk_tk.py219except Exception:CODE
HIGHcustomtkinter/windows/widgets/image/ctk_image.py4except ImportError:CODE
HIGH…stomtkinter/windows/widgets/scaling/scaling_tracker.py91except:CODE
HIGH…stomtkinter/windows/widgets/scaling/scaling_tracker.py98except:CODE
HIGHcustomtkinter/windows/widgets/font/ctk_font.py57except ValueError:CODE
Excessive Try-Catch Wrapping16 hits · 19 pts
SeverityFileLineSnippetContext
LOWcustomtkinter/windows/ctk_toplevel.py187 except Exception:CODE
LOW⚡customtkinter/windows/ctk_toplevel.py214 except Exception:CODE
LOWcustomtkinter/windows/ctk_toplevel.py271 except Exception as err:CODE
MEDIUMcustomtkinter/windows/ctk_toplevel.py208def _windows_set_titlebar_icon(self):CODE
LOWcustomtkinter/windows/ctk_tk.py219 except Exception:CODE
LOW⚡customtkinter/windows/ctk_tk.py246 except Exception:CODE
LOWcustomtkinter/windows/ctk_tk.py313 except Exception as err:CODE
MEDIUMcustomtkinter/windows/ctk_tk.py240def _windows_set_titlebar_icon(self):CODE
LOW…/windows/widgets/core_widget_classes/ctk_base_class.py211 except Exception:CODE
LOW…/windows/widgets/core_widget_classes/ctk_base_class.py217 except Exception:CODE
LOW…ows/widgets/appearance_mode/appearance_mode_tracker.py70 except Exception:CODE
LOW…ows/widgets/appearance_mode/appearance_mode_tracker.py77 except Exception:CODE
LOW…ows/widgets/appearance_mode/appearance_mode_tracker.py94 except Exception:CODE
LOW…stomtkinter/windows/widgets/scaling/scaling_tracker.py203 except Exception:CODE
LOWcustomtkinter/windows/widgets/font/font_manager.py19 except Exception as err:CODE
LOWcustomtkinter/windows/widgets/font/font_manager.py60 except Exception as err:CODE
AI Structural Patterns17 hits · 17 pts
SeverityFileLineSnippetContext
LOWcustomtkinter/windows/ctk_input_dialog.py17CODE
LOWcustomtkinter/windows/widgets/ctk_segmented_button.py22CODE
LOWcustomtkinter/windows/widgets/ctk_switch.py18CODE
LOWcustomtkinter/windows/widgets/ctk_combobox.py20CODE
LOWcustomtkinter/windows/widgets/ctk_scrollbar.py17CODE
LOWcustomtkinter/windows/widgets/ctk_radiobutton.py18CODE
LOWcustomtkinter/windows/widgets/ctk_scrollable_frame.py22CODE
LOWcustomtkinter/windows/widgets/ctk_label.py25CODE
LOWcustomtkinter/windows/widgets/ctk_entry.py25CODE
LOWcustomtkinter/windows/widgets/ctk_frame.py17CODE
LOWcustomtkinter/windows/widgets/ctk_tabview.py24CODE
LOWcustomtkinter/windows/widgets/ctk_progressbar.py22CODE
LOWcustomtkinter/windows/widgets/ctk_textbox.py34CODE
LOWcustomtkinter/windows/widgets/ctk_button.py21CODE
LOWcustomtkinter/windows/widgets/ctk_checkbox.py18CODE
LOWcustomtkinter/windows/widgets/ctk_slider.py17CODE
LOWcustomtkinter/windows/widgets/ctk_optionmenu.py20CODE
Slop Phrases5 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUMtest/manual_integration_tests/test_vertical_widgets.py3app = customtkinter.CTk() # create CTk window like you do with the Tk window (you can also use normal tkinter.Tk windowCODE
MEDIUM⚡test/manual_integration_tests/text_entry_placeholder.py3app = customtkinter.CTk() # create CTk window like you do with the Tk window (you can also use normal tkinter.Tk windowCODE
MEDIUMtest/manual_integration_tests/test_variables.py7app = customtkinter.CTk() # create CTk window like you do with the Tk window (you can also use normal tkinter.Tk windowCODE
MEDIUM…ation_tests/test_scaling/test_scaling_toplevel_pack.py11app = customtkinter.CTk() # create CTk window like you do with the Tk window (you can also use normal tkinter.Tk windowCODE
MEDIUM…ration_tests/test_scaling/test_scaling_simple_place.py11app = customtkinter.CTk() # create CTk window like you do with the Tk window (you can also use normal tkinter.Tk windowCODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…stomtkinter/windows/widgets/scaling/scaling_tracker.py121 import ctypesCOMMENT