Repository Analysis

kivy/kivy

Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS

19.0 Moderate AI signal View on GitHub
19.0
Adjusted Score
19.0
Raw Score
100%
Time Factor
2026-05-28
Last Push
18,947
Stars
Python
Language
147,800
Lines of Code
624
Files
1798
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 97MEDIUM 341LOW 1360

Pattern Findings

1798 matches across 16 categories. Click a row to expand file-level details.

Decorative Section Separators268 hits · 841 pts
SeverityFileLineSnippet
MEDIUMsetup.py151# -----------------------------------------------------------------------------
MEDIUMsetup.py317# -----------------------------------------------------------------------------
MEDIUMsetup.py352# -----------------------------------------------------------------------------
MEDIUMsetup.py449# -----------------------------------------------------------------------------
MEDIUMsetup.py728# -----------------------------------------------------------------------------
MEDIUMsetup.py1229# -----------------------------------------------------------------------------
MEDIUMsetup.py1562# -----------------------------------------------------------------------------
MEDIUMsetup.py1628# -----------------------------------------------------------------------------
MEDIUMsetup.py1668# -----------------------------------------------------------------------------
MEDIUMtools/build_thorvg.sh142# ---------------------------------------------------------------------------
MEDIUMtools/build_thorvg.sh144# ---------------------------------------------------------------------------
MEDIUMtools/build_thorvg.sh157# ---------------------------------------------------------------------------
MEDIUMtools/build_thorvg.sh165# ---------------------------------------------------------------------------
MEDIUMtools/build_thorvg.sh178# ---------------------------------------------------------------------------
MEDIUMtools/build_thorvg.sh230# ---------------------------------------------------------------------------
MEDIUMtools/build_thorvg.sh269 # ---------------------------------------------------------------------------
MEDIUMtools/build_thorvg.sh283 # ---------------------------------------------------------------------------
MEDIUMtools/build_thorvg.sh374# ---------------------------------------------------------------------------
MEDIUMtools/build_thorvg.sh388# ---------------------------------------------------------------------------
MEDIUMtools/build_ios_dependencies.sh147# ---------------------------------------------------------------------------
MEDIUMtools/build_ios_dependencies.sh159# ---------------------------------------------------------------------------
MEDIUMkivy/support.py46# -----------------------------------------------------------------------------
MEDIUMkivy/support.py48# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py150# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py152# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py641# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py643# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py791# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py793# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py1070# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py1072# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py1166# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py1168# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py1285# -----------------------------------------------------------------------------
MEDIUMkivy/multistroke.py1288# -----------------------------------------------------------------------------
MEDIUMkivy/tools/report.py81# ----------------------------------------------------------
MEDIUMkivy/tools/report.py83# ----------------------------------------------------------
MEDIUMkivy/tools/image-testsuite/imagemagick-testsuite.sh131# ------------------------------------------------------------
MEDIUMkivy/tools/image-testsuite/imagemagick-testsuite.sh133# ------------------------------------------------------------
MEDIUMkivy/core/svg/svg_thorvg.py145 # ------------------------------------------------------------------
MEDIUMkivy/core/svg/svg_thorvg.py147 # ------------------------------------------------------------------
MEDIUMkivy/core/svg/svg_thorvg.py260 # ------------------------------------------------------------------
MEDIUMkivy/core/svg/svg_thorvg.py262 # ------------------------------------------------------------------
MEDIUMkivy/core/svg/svg_thorvg.py270 # ------------------------------------------------------------------
MEDIUMkivy/core/svg/svg_thorvg.py272 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/lottie_thorvg.py177 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/lottie_thorvg.py179 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/lottie_thorvg.py304 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/lottie_thorvg.py306 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/lottie_thorvg.py355 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/lottie_thorvg.py357 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/lottie_thorvg.py434 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/lottie_thorvg.py436 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/lottie_thorvg.py504 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/lottie_thorvg.py506 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/__init__.py104 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/__init__.py107 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/__init__.py143 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/__init__.py145 # ------------------------------------------------------------------
MEDIUMkivy/core/lottie/__init__.py156 # ------------------------------------------------------------------
208 more matches not shown…
Hyper-Verbose Identifiers668 hits · 645 pts
SeverityFileLineSnippet
LOWsetup.py1600def get_extensions_from_sources(sources):
LOWtools/add-ios-frameworks.py14def add_ios_frameworks_to_wheels(wheels_path: str):
LOWkivy/support.py13def install_gobject_iteration():
LOWkivy/support.py251def uninstall_twisted_reactor():
LOWkivy/clock.py517 def _libc_clock_gettime_wrapper():
LOWkivy/__init__.py158def kivy_register_post_configuration(callback):
LOWkivy/animation.py280 def have_properties_to_animate(self, widget):
LOWkivy/animation.py441 def have_properties_to_animate(self, widget):
LOWkivy/loader.py155 def _set_max_upload_per_frame(self, num):
LOWkivy/loader.py160 def _get_max_upload_per_frame(self):
LOWkivy/multistroke.py872 def angle_similarity_threshold(self):
LOWkivy/tools/coverage.py76def walk_parser_rules_properties(parser_rule):
LOWkivy/tools/pep8checker/pep8.py844def whitespace_before_comment(logical_line, tokens):
LOWkivy/tools/pep8checker/pep8.py333def whitespace_around_keywords(logical_line):
LOWkivy/tools/pep8checker/pep8.py356def missing_whitespace_after_import_keyword(logical_line):
LOWkivy/tools/pep8checker/pep8.py629def whitespace_before_parameters(logical_line, tokens):
LOWkivy/tools/pep8checker/pep8.py661def whitespace_around_operator(logical_line):
LOWkivy/tools/pep8checker/pep8.py684def missing_whitespace_around_operator(logical_line, tokens):
LOWkivy/tools/pep8checker/pep8.py794def whitespace_around_named_parameter_equals(logical_line, tokens):
LOWkivy/tools/pep8checker/pep8.py885def imports_on_separate_lines(logical_line):
LOWkivy/tools/pep8checker/pep8.py904def module_imports_on_top_of_file(
LOWkivy/tools/pep8checker/pep8.py1055def break_around_binary_operator(logical_line, tokens):
LOWkivy/core/__init__.py194def load_with_provider_selection(
LOWkivy/core/__init__.py398def handle_win_lib_import_error(category, provider, mod_name):
LOWkivy/core/svg/svg_thorvg.py62def _extract_element_ids_accessible(pic):
LOWkivy/core/image/__init__.py1280 def _find_format_from_filename(self, filename):
LOWkivy/core/window/__init__.py998 def _get_window_native_handle(self):
LOWkivy/core/window/__init__.py2541 def start_system_theme_monitor(self, interval=1.0):
LOWkivy/core/window/window_sdl3.py453 def _get_window_native_handle(self):
LOWkivy/core/window/window_sdl3.py746 def _collide_and_dispatch_cursor_enter(self, x, y):
LOWkivy/core/lottie/lottie_thorvg.py92def _marker_names_from_animation(anim):
LOWkivy/core/text/__init__.py411 def _migrate_deprecated_padding_xy(self):
LOWkivy/input/providers/mouse.py401 def begin_or_update_hover_event(self, win, *args):
LOWkivy/input/providers/hidinput.py511 def process_as_mouse_or_keyboard(
LOWkivy/uix/vkeyboard.py564 def refresh_active_keys_layer(self):
LOWkivy/uix/effectwidget.py684 def _refresh_background_color(self, *args):
LOWkivy/uix/widget.py760 def _find_index_in_motion_filter(self, type_id, widget):
LOWkivy/uix/widget.py774 def register_for_motion_event(self, type_id, widget=None):
LOWkivy/uix/widget.py802 def unregister_for_motion_event(self, type_id, widget=None):
LOWkivy/uix/actionbar.py875 def _pop_contextual_action_view(self):
LOWkivy/uix/filechooser.py137def alphanumeric_folders_first(files, filesystem):
LOWkivy/uix/videoplayer.py487 def _try_load_default_thumbnail(self, *largs):
LOWkivy/uix/videoplayer.py494 def _try_load_default_annotations(self, *largs):
LOWkivy/uix/splitter.py275 def rescale_parent_proportion(self, *args):
LOWkivy/uix/gridlayout.py315 def _fills_from_left_to_right(self):
LOWkivy/uix/gridlayout.py319 def _fills_from_top_to_bottom(self):
LOWkivy/uix/gridlayout.py458 def _finalize_rows_cols_sizes(self):
LOWkivy/uix/textinput.py2158 def _trigger_refresh_line_options(self, *largs):
LOWkivy/uix/textinput.py2185 def _refresh_text_from_trigger(self, dt, *largs):
LOWkivy/uix/textinput.py2188 def _refresh_text_from_property(self, *largs):
LOWkivy/uix/textinput.py2464 def _update_graphics_selection(self):
LOWkivy/uix/textinput.py2638 def _get_cursor_visual_height(self):
LOWkivy/uix/recyclegridlayout.py246 def _calculate_idx_from_a_view_idx(self, n_cols, n_rows, view_idx):
LOWkivy/uix/scrollview.py1129 def _delegate_touch_up_to_children_widget_coords(self, touch):
LOWkivy/uix/scrollview.py1138 def _find_child_scrollview_at_touch(self, touch):
LOWkivy/uix/scrollview.py1444 def _setup_boundary_delegation(self, touch, in_bar):
LOWkivy/uix/scrollview.py1170 def _find_scrollview_in_widget(self, widget, touch):
LOWkivy/uix/scrollview.py1205 def _build_hierarchy_recursive(self, touch):
LOWkivy/uix/scrollview.py1311 def _classify_nested_configuration(self, child_sv):
LOWkivy/uix/scrollview.py1511 def _delegate_to_parent_scroll(self, touch, child_sv, parent_sv):
608 more matches not shown…
Cross-Language Confusion85 hits · 438 pts
SeverityFileLineSnippet
HIGHkivy/vector.py272 >>> v.length()
HIGHkivy/vector.py278 return self / self.length()
HIGHkivy/base.py278 me.push()
HIGHkivy/base.py285 wid._context.push()
HIGHkivy/tools/pep8checker/pep8kivy.py33 "pip install pre-commit && make hook")
HIGHkivy/core/window/__init__.py1703 # me.push()
HIGHkivy/input/motionevent.py58 me.push() # Save current type_id and other values
HIGHkivy/input/providers/mouse.py145 self.push()
HIGHkivy/uix/vkeyboard.py79 ["=", "=", "=", 1], ["\u232b", null, "backspace", 2]
HIGHkivy/uix/widget.py683 next_index = canvas.length()
HIGHkivy/uix/textinput.py306 touch.push()
HIGHkivy/uix/textinput.py361 touch.push()
HIGHkivy/uix/textinput.py371 touch.push()
HIGHkivy/uix/textinput.py1806 touch.push()
HIGHkivy/uix/sandbox.py72 self._context.push()
HIGHkivy/uix/sandbox.py86 self._context.push()
HIGHkivy/uix/scrollview.py1123 touch.push()
HIGHkivy/uix/scrollview.py1132 touch.push()
HIGHkivy/uix/scrollview.py1093 touch.push()
HIGHkivy/uix/scrollview.py1104 me.push()
HIGHkivy/uix/scrollview.py1162 touch.push()
HIGHkivy/uix/scrollview.py1395 touch.push()
HIGHkivy/uix/scrollview.py1570 touch.push()
HIGHkivy/uix/scrollview.py2700 touch.push()
HIGHkivy/uix/scrollview.py2739 touch.push()
HIGHkivy/uix/scrollview.py2771 touch.push()
HIGHkivy/uix/scrollview.py2786 touch.push()
HIGHkivy/uix/scrollview.py2927 touch.push()
HIGHkivy/uix/scrollview.py3388 touch.push()
HIGHkivy/uix/scatter.py485 if not old_line.length(): # div by zero
HIGHkivy/uix/scatter.py494 scale = new_line.length() / old_line.length()
HIGHkivy/uix/scatter.py517 me.push()
HIGHkivy/uix/scatter.py533 touch.push()
HIGHkivy/uix/scatter.py567 touch.push()
HIGHkivy/uix/scatter.py616 touch.push()
HIGHkivy/uix/relativelayout.py295 me.push()
HIGHkivy/uix/relativelayout.py304 touch.push()
HIGHkivy/uix/relativelayout.py312 touch.push()
HIGHkivy/uix/relativelayout.py320 touch.push()
HIGHkivy/uix/rst.py1163 self.push(box.content)
HIGHkivy/uix/rst.py1169 self.push(box)
HIGHkivy/uix/rst.py1175 self.push(box)
HIGHkivy/uix/rst.py1188 self.push(item)
HIGHkivy/uix/rst.py1194 self.push(label)
HIGHkivy/uix/rst.py1199 self.push(label.content)
HIGHkivy/uix/rst.py1205 self.push(label.content)
HIGHkivy/uix/rst.py1252 self.push(lst)
HIGHkivy/uix/rst.py1258 self.push(term)
HIGHkivy/uix/rst.py1265 self.push(definition)
HIGHkivy/uix/rst.py1270 self.push(fieldlist)
HIGHkivy/uix/rst.py1275 self.push(name)
HIGHkivy/uix/rst.py1280 self.push(body)
HIGHkivy/uix/rst.py1285 self.push(table)
HIGHkivy/uix/rst.py1293 self.push(entry)
HIGHkivy/uix/rst.py838 self.push(section)
HIGHkivy/uix/rst.py951 self.push(self.root.content)
HIGHkivy/uix/rst.py976 self.push(foot)
HIGHkivy/uix/rst.py1096 self.push(label)
HIGHkivy/uix/rst.py1144 self.push(label)
HIGHkivy/uix/rst.py1149 self.push(box)
25 more matches not shown…
Excessive Try-Catch Wrapping151 hits · 180 pts
SeverityFileLineSnippet
LOWsetup.py145 except Exception as ex:
LOWkivy/vector.py138 except Exception:
LOWkivy/vector.py171 except Exception:
LOWkivy/vector.py189 except Exception:
LOWkivy/vector.py195 except Exception:
LOWkivy/vector.py201 except Exception:
LOWkivy/vector.py207 except Exception:
MEDIUMkivy/vector.py133def __getslice__(self, i, j):
MEDIUMkivy/vector.py168def __mul__(self, val):
MEDIUMkivy/vector.py186def __truediv__(self, val):
MEDIUMkivy/vector.py192def __div__(self, val):
MEDIUMkivy/vector.py198def __rtruediv__(self, val):
MEDIUMkivy/vector.py204def __rdiv__(self, val):
LOWkivy/config.py790 except Exception:
LOWkivy/config.py1019 except Exception:
LOWkivy/cache.py130 except Exception:
LOWkivy/cache.py147 except Exception:
LOWkivy/cache.py164 except Exception:
LOWkivy/cache.py187 except Exception:
LOWkivy/cache.py209 except Exception:
LOWkivy/__init__.py232 except Exception:
LOWkivy/__init__.py396 except Exception:
LOWkivy/__init__.py432 except Exception:
LOWkivy/__init__.py508 except Exception as e:
LOWkivy/logger.py43 except Exception:
LOWkivy/logger.py314 except Exception:
LOWkivy/logger.py364 except Exception:
LOWkivy/logger.py421 except Exception:
MEDIUMkivy/logger.py354def filter(self, record):
MEDIUMkivy/logger.py414def __init__(self, logrecord):
LOWkivy/loader.py279 except Exception:
LOWkivy/loader.py378 except Exception as ex:
LOWkivy/loader.py527 except Exception as e:
LOWkivy/loader.py569 except Exception:
LOWkivy/app.py874 except Exception:
MEDIUMkivy/atlas.py444 print('Error: size must be an integer or <integer>x<integer>')
MEDIUMkivy/atlas.py450 print('Error while creating atlas!')
LOWkivy/tools/benchmark.py231 except Exception as e:
LOWkivy/tools/benchmark.py244 except Exception as e:
MEDIUMkivy/tools/texturecompress.py133 print('Error: Unable to locate "etc1tool".\n'
MEDIUMkivy/tools/texturecompress.py187 print('Error: Unable to locate "texturetool".\n'
MEDIUMkivy/tools/generate-icons.py68 print('Error: No such icon file')
LOWkivy/tools/kviewer.py73 except Exception as e:
LOWkivy/tools/packaging/factory.py73 except Exception as e:
LOWkivy/tools/packaging/pyinstaller_hooks/__init__.py346 except Exception:
LOWkivy/tools/gles_compat/subset_gles.py58 except Exception as e:
MEDIUMkivy/tools/pep8checker/pep8kivy.py108 print("Error: {} style guide violation(s) encountered.".format(errors))
LOWkivy/core/__init__.py334 except Exception as e:
LOWkivy/core/__init__.py384 except Exception as e:
LOWkivy/core/svg/svg_thorvg.py226 except Exception as exc:
LOWkivy/core/svg/__init__.py164 except Exception as exc:
LOWkivy/core/svg/__init__.py186 except Exception as exc:
LOWkivy/core/audio_output/audio_ffpyplayer.py52except Exception:
LOWkivy/core/audio_output/audio_ffpyplayer.py65except Exception:
LOWkivy/core/audio_output/__init__.py176 except Exception:
LOWkivy/core/audio_output/__init__.py185 except Exception:
LOWkivy/core/video/video_ffpyplayer.py52except Exception:
LOWkivy/core/video/video_android.py69 except Exception as e:
LOWkivy/core/video/video_android.py146 except Exception:
LOWkivy/core/video/video_ffmpeg.py20except Exception:
91 more matches not shown…
Deep Nesting187 hits · 176 pts
SeverityFileLineSnippet
LOWsetup.py761
LOWsetup.py804
LOWsetup.py1044
LOWsetup.py1132
LOWtools/add-ios-frameworks.py14
LOWkivy/gesture.py298
LOWkivy/clock.py986
LOWkivy/clock.py1024
LOWkivy/factory.py130
LOWkivy/animation.py182
LOWkivy/animation.py371
LOWkivy/parser.py38
LOWkivy/parser.py130
LOWkivy/utils.py517
LOWkivy/loader.py301
LOWkivy/app.py909
LOWkivy/app.py938
LOWkivy/atlas.py229
LOWkivy/base.py249
LOWkivy/multistroke.py182
LOWkivy/multistroke.py1048
LOWkivy/tools/gallery.py38
LOWkivy/tools/gallery.py219
LOWkivy/tools/packaging/factory.py33
LOWkivy/tools/image-testsuite/gimp28-testsuite.py97
LOWkivy/tools/image-testsuite/gimp28-testsuite.py265
LOWkivy/tools/gles_compat/subset_gles.py35
LOWkivy/tools/gles_compat/subset_gles.py65
LOWkivy/tools/pep8checker/pep8.py240
LOWkivy/tools/pep8checker/pep8.py430
LOWkivy/tools/pep8checker/pep8.py684
LOWkivy/tools/pep8checker/pep8.py794
LOWkivy/tools/pep8checker/pep8.py844
LOWkivy/tools/pep8checker/pep8.py904
LOWkivy/tools/pep8checker/pep8.py956
LOWkivy/tools/pep8checker/pep8.py1016
LOWkivy/tools/pep8checker/pep8.py1364
LOWkivy/tools/pep8checker/pep8.py2139
LOWkivy/tools/pep8checker/pep8.py2214
LOWkivy/tools/pep8checker/pep8.py1486
LOWkivy/tools/pep8checker/pep8.py1576
LOWkivy/tools/pep8checker/pep8.py1609
LOWkivy/tools/pep8checker/pep8.py1700
LOWkivy/tools/pep8checker/pep8.py1987
LOWkivy/core/__init__.py281
LOWkivy/core/video/video_ffpyplayer.py244
LOWkivy/core/image/__init__.py857
LOWkivy/core/window/__init__.py699
LOWkivy/core/window/__init__.py1675
LOWkivy/core/window/__init__.py1818
LOWkivy/core/window/__init__.py2022
LOWkivy/core/window/__init__.py2246
LOWkivy/core/window/window_sdl3.py234
LOWkivy/core/window/window_sdl3.py280
LOWkivy/core/window/window_sdl3.py475
LOWkivy/core/window/window_sdl3.py732
LOWkivy/core/window/window_sdl3.py761
LOWkivy/core/text/__init__.py321
LOWkivy/core/text/__init__.py530
LOWkivy/core/text/__init__.py568
127 more matches not shown…
Unused Imports172 hits · 158 pts
SeverityFileLineSnippet
LOWsetup.py8
LOWkivy/metrics.py106
LOWkivy/clock.py467
LOWkivy/clock.py467
LOWkivy/clock.py467
LOWkivy/factory.py176
LOWkivy/app.py481
LOWkivy/base.py24
LOWkivy/base.py136
LOWkivy/tools/benchmark.py13
LOWkivy/tools/stub-gl-debug.py2
LOWkivy/tools/packaging/factory.py1
LOWkivy/tools/packaging/pyinstaller_hooks/hook-kivy.py1
LOWkivy/tools/packaging/pyinstaller_hooks/hook-kivy.py1
LOWkivy/tools/packaging/pyinstaller_hooks/hook-kivy.py1
LOWkivy/tools/image-testsuite/gimp28-testsuite.py6
LOWkivy/tools/gles_compat/subset_gles.py26
LOWkivy/tools/pep8checker/pep8.py49
LOWkivy/core/audio_output/audio_ffpyplayer.py59
LOWkivy/core/audio_output/__init__.py97
LOWkivy/core/audio_output/__init__.py104
LOWkivy/core/audio_output/__init__.py335
LOWkivy/core/video/__init__.py213
LOWkivy/core/video/video_ffpyplayer.py64
LOWkivy/core/camera/camera_opencv.py9
LOWkivy/core/image/__init__.py273
LOWkivy/core/window/__init__.py1174
LOWkivy/core/window/window_egl_rpi.py11
LOWkivy/core/window/window_egl_rpi.py11
LOWkivy/core/gl/__init__.py90
LOWkivy/input/__init__.py30
LOWkivy/input/__init__.py33
LOWkivy/input/providers/wm_pen.py40
LOWkivy/input/providers/__init__.py14
LOWkivy/input/providers/__init__.py15
LOWkivy/input/providers/__init__.py65
LOWkivy/input/providers/__init__.py21
LOWkivy/input/providers/__init__.py22
LOWkivy/input/providers/__init__.py29
LOWkivy/input/providers/__init__.py36
LOWkivy/input/providers/__init__.py41
LOWkivy/input/providers/__init__.py46
LOWkivy/input/providers/__init__.py51
LOWkivy/input/providers/__init__.py58
LOWkivy/input/providers/androidjoystick.py17
LOWkivy/input/providers/wm_common.py65
LOWkivy/input/providers/wm_common.py65
LOWkivy/uix/effectwidget.py127
LOWkivy/uix/widget.py246
LOWkivy/uix/widget.py246
LOWkivy/uix/colorpicker.py44
LOWkivy/uix/actionbar.py48
LOWkivy/uix/gridlayout.py94
LOWkivy/uix/gridlayout.py94
LOWkivy/uix/textinput.py3940
LOWkivy/uix/behaviors/__init__.py97
LOWkivy/uix/behaviors/__init__.py98
LOWkivy/uix/behaviors/__init__.py99
LOWkivy/uix/behaviors/__init__.py100
LOWkivy/uix/behaviors/__init__.py101
112 more matches not shown…
Over-Commented Block131 hits · 114 pts
SeverityFileLineSnippet
LOWsetup.py901 * **Windows** - static: ``thorvg.lib`` normalised by
LOWsetup.py1021 flags['include_dirs'].append(join(dist, 'include'))
LOWsetup.py1521# Matches the auto-detection pattern used by ``use_gstreamer`` /
LOWtools/build_linux_dependencies.sh161# ``THORVG_SHARED=1`` switches it from the default static-archive build
LOWtools/meson-cross-ios-sim.ini1# Meson cross-file for iOS Simulator (universal arm64 + x86_64, iphonesimulator SDK)
LOWtools/macos_framework_wrapper.sh1#!/bin/bash
LOWtools/macos_framework_wrapper.sh21#
LOWtools/macos_framework_wrapper.sh41#
LOWtools/macos_framework_wrapper.sh101cp "$dylib" "$fw_root/$framework_name"
LOWtools/build_thorvg.sh1#!/bin/bash
LOWtools/build_thorvg.sh21# THORVG_SHARED "1" to build a shared library
LOWtools/build_thorvg.sh41# ``-arch`` flags to Apple Clang in a single
LOWtools/build_thorvg.sh61# slice.
LOWtools/build_thorvg.sh181# Meson option notes (keep in sync with .github/workflows/test_thorvg_wrapper.yml):
LOWtools/build_thorvg.sh201# dependency, no pkg-config / Homebrew detection
LOWtools/build_thorvg.sh261
LOWtools/build_thorvg.sh321 lipo -info "$_ios_dylib" || true
LOWtools/build_thorvg.sh341 # the sanity check succeeds regardless of host CPU.
LOWtools/build_thorvg.sh361 # covers both ``libthorvg-1.a`` (static path) and
LOWtools/meson-cross-ios-device.ini1# Meson cross-file for iOS device (arm64, iphoneos SDK)
LOWtools/build_macos_dependencies.sh161# ThorVG is dynamically linked into the ``kivy.lib.thorvg`` Cython
LOWtools/build_ios_dependencies.sh141xcodebuild -create-xcframework \
LOW.ci/ubuntu_ci.sh21 /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background \
LOWkivy/clock.py1101# 1. _TriggeredWrapper (The Descriptor):
LOWkivy/base.py521 EventLoop.start()
LOWkivy/tools/gles_compat/gl2.h41/* OpenGL ES core versions */
LOWkivy/tools/gles_compat/gl2.h101#define GL_FUNC_REVERSE_SUBTRACT 0x800B
LOWkivy/tools/gles_compat/gl2.h141/* GL_GEQUAL */
LOWkivy/tools/gles_compat/gl2.h161#define GL_OUT_OF_MEMORY 0x0505
LOWkivy/tools/gles_compat/gl2.h181#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
LOWkivy/tools/gles_compat/gl2.h201#define GL_SUBPIXEL_BITS 0x0D50
LOWkivy/tools/gles_compat/gl2.h221/* GL_TEXTURE_WRAP_T */
LOWkivy/tools/gles_compat/gl2.h241#define GL_FLOAT 0x1406
LOWkivy/tools/gles_compat/gl2.h261#define GL_MAX_VERTEX_ATTRIBS 0x8869
LOWkivy/tools/gles_compat/gl2.h281#define GL_NEVER 0x0200
LOWkivy/tools/gles_compat/gl2.h301#define GL_VENDOR 0x1F00
LOWkivy/tools/gles_compat/gl2.h321#define GL_TEXTURE_WRAP_S 0x2802
LOWkivy/tools/gles_compat/gl2.h341#define GL_TEXTURE2 0x84C2
LOWkivy/tools/gles_compat/gl2.h361#define GL_TEXTURE22 0x84D6
LOWkivy/tools/gles_compat/gl2.h381#define GL_FLOAT_VEC4 0x8B52
LOWkivy/tools/gles_compat/gl2.h401#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
LOWkivy/tools/gles_compat/gl2.h421#define GL_HIGH_FLOAT 0x8DF2
LOWkivy/tools/gles_compat/gl2.h441#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
LOWkivy/tools/pep8checker/pep8.py1#!/usr/bin/env python
LOWkivy/core/__init__.py201 try_load,
LOWkivy/core/window/window_x11_core.c1#include <stdlib.h>
LOWkivy/input/motionevent.py201 if self.__class__ == MotionEvent:
LOWkivy/input/motionevent.py321
LOWkivy/input/motionevent.py341 self.triple_tap_time = 0
LOWkivy/input/providers/hidinput.py261 0x6b: ('end', ),
LOWkivy/input/providers/hidinput.py281 # e0-47 Home
LOWkivy/uix/scrollview.py281 # ┌──────────────────────────────────┐
LOWkivy/uix/scrollview.py301 # - UNKNOWN: Initial state, accumulating movement to detect intent
LOWkivy/uix/scrollview.py321 # State Transition Diagram:
LOWkivy/uix/scrollview.py361 # INTERNAL CLASS - Manages the hierarchy of nested ScrollViews for a
LOWkivy/uix/scrollview.py421 # Dict with 'classification' and 'axis_config', or None if no parent
LOWkivy/uix/scrollview.py461# =============================================================================
LOWkivy/uix/scrollview.py1081 # CONTROLLED TOUCH RE-DISPATCH TO CHILD WIDGETS
LOWkivy/uix/scrollview.py1161 # Transform touch to viewport space
LOWkivy/uix/scrollview.py1201
71 more matches not shown…
Self-Referential Comments36 hits · 92 pts
SeverityFileLineSnippet
MEDIUMsetup.py132 # Create a temporary file which contains the code
MEDIUMtools/build_linux_dependencies.sh32# Create the dependencies folder
MEDIUMtools/build_macos_dependencies.sh38# Create the dependencies folder
MEDIUMtools/build_ios_dependencies.sh35# Create the dependencies folder
MEDIUM.ci/ubuntu_ci.sh175 # Create a copy with the armv6l suffix
MEDIUMkivy/gesture.py10 # Create a gesture
MEDIUMkivy/_version.py1# This file is imported from __init__.py and exec'd from setup.py
MEDIUMkivy/clock.py1168 # Create a bound version for this instance
MEDIUMkivy/tools/image-testsuite/gimp28-testsuite.py174# Create an image from the given pattern, with the specified layertype_in*,
MEDIUMkivy/tools/image-testsuite/gimp28-testsuite.py217 # Create the gimp image, and the layer we will draw on
MEDIUMkivy/core/__init__.py207 # This function implements the common pattern for loading resources with
MEDIUMkivy/core/camera/camera_opencv.py136 # Create the texture
MEDIUMkivy/core/camera/camera_picamera.py62 # Create the texture
MEDIUMkivy/core/window/__init__.py1095 # Create a trigger for updating the keyboard height
MEDIUMkivy/core/text/__init__.py61 # Create a font context containing system fonts + one custom TTF
MEDIUMkivy/core/text/markup.py942 # Create a custom __init__ that properly calls the base class
MEDIUMkivy/input/providers/tuio.py61 # Create a class to handle the new TUIO type/path
MEDIUMkivy/uix/screenmanager.py25 # Create the manager
MEDIUMkivy/uix/screenmanager.py90 # Create the screen manager
MEDIUMkivy/uix/widget.py359 # Create the default canvas if it does not exist.
MEDIUMkivy/uix/textinput.py2676 # Create a label from a text, using line options
MEDIUMkivy/uix/scrollview.py3002 # This method handles the end of scroll gestures and performs cleanup.
MEDIUMkivy/uix/scrollview.py3332 # This method is called when the scroll_timeout expires without the
MEDIUMkivy/uix/codeinput.py126 # Create a label from a text, using line options
MEDIUMkivy/uix/gesturesurface.py425 # Create the bounding box Rectangle for the gesture
MEDIUMkivy/uix/behaviors/drag.py24 # Define the properties for the DragLabel
MEDIUMkivy/uix/behaviors/drag.py30 # Define the root widget
MEDIUMkivy/tests/test_text_provider.py338 # Create a mock provider class
MEDIUMkivy/tests/test_image_provider.py502 # Create a zip file containing the image
MEDIUMkivy/tests/test_system_tray.py195 # Create a temporary icon file for testing
MEDIUMkivy/tests/test_system_tray.py355 # Create main menu items
MEDIUMexamples/demo/multistroke/historymanager.py124 # Create a GestureVisualizer that draws the gesture on canvas
MEDIUMexamples/async/asyncio_advanced.py62 """This method is also run by the asyncio loop and periodically prints
MEDIUMexamples/system_tray/system_tray_showcase.py150 # Create the system tray icon if it doesn't exist
MEDIUMexamples/miscellaneous/shapedwindow.py15# Define the KV layout
MEDIUMdoc/sources/conf.py6# This file is execfile()d with the current directory set to its containing
Redundant / Tautological Comments54 hits · 57 pts
SeverityFileLineSnippet
LOWtools/build_linux_dependencies.sh64# Check if "python3" exists, otherwise use "python" as fallback (which is the case for manylinux)
LOWkivy/support.py88 # Check if android should be paused or not.
LOWkivy/utils.py612 # Check if file exist
LOWkivy/app.py1066 # Check if the window is already created
LOWkivy/tools/pep8checker/pep8.py854 Okay: x = x + 1 # Increment x
LOWkivy/tools/pep8checker/pep8.py855 Okay: x = x + 1 # Increment x
LOWkivy/tools/pep8checker/pep8.py857 E261: x = x + 1 # Increment x
LOWkivy/tools/pep8checker/pep8.py858 E262: x = x + 1 #Increment x
LOWkivy/tools/pep8checker/pep8.py859 E262: x = x + 1 # Increment x
LOWkivy/tools/pep8checker/pep8.py754 # Check if the operator is being used as a binary operator
LOWkivy/core/__init__.py37 # Check if provider strict mode is enabled.
LOWkivy/core/__init__.py249 # Check if provider is compatible
LOWkivy/uix/widget.py659 # Check if the widget is already a child of another widget.
LOWkivy/uix/scrollview.py2415 # Check if we already have an active nested ScrollView touch
LOWkivy/uix/scrollview.py1402 # Check if inner actually set up scroll state
LOWkivy/uix/scrollview.py1592 # Check if this ScrollView should delegate to its parent in hierarchy.
LOWkivy/uix/scrollview.py1616 # Check if delegation to outer is enabled
LOWkivy/uix/scrollview.py1625 # Check if we're the current handler (hierarchy-based routing)
LOWkivy/uix/scrollview.py1689 # Check if this ScrollView is at a scroll boundary on the given axis.
LOWkivy/uix/scrollview.py1713 # Check if scroll gesture is trying to move beyond the current boundary.
LOWkivy/uix/scrollview.py1790 # Check if this ancestor can handle the axis we need
LOWkivy/uix/scrollview.py1823 # Check if touch is within scrollable bounds and set in_bar flags.
LOWkivy/uix/scrollview.py1844 # Check if touch is in horizontal or vertical scroll bars
LOWkivy/uix/scrollview.py1989 # Check if touch movement is orthogonal to scroll direction.
LOWkivy/uix/scrollview.py2028 # Check if touch should be delegated in mixed nested configurations.
LOWkivy/uix/scrollview.py2075 # Check if scroll should lock at boundary for parallel scrolling.
LOWkivy/uix/scrollview.py2135 # Check if we've moved away from the boundary into content
LOWkivy/uix/scrollview.py2156 # Check if we've moved away from the boundary into content
LOWkivy/uix/scrollview.py2428 # Check if touch is on OUR scrollbar -
LOWkivy/uix/scrollview.py2503 # Check if child is at boundary in parallel directions
LOWkivy/uix/scrollview.py2544 # Check if this touch was claimed by a child widget (e.g., button)
LOWkivy/uix/scrollview.py2572 # Check if stored touch is stale (completed but not cleaned up)
LOWkivy/uix/scrollview.py2606 # Check if touch is in scroll bars and set in_bar flags
LOWkivy/uix/scrollview.py2683 # Check if child widget claimed the touch - propagate to children
LOWkivy/uix/scrollview.py2717 # Check if we should skip to a non-adjacent
LOWkivy/uix/scrollview.py2863 # Check if inner should delegate to outer
LOWkivy/uix/scrollview.py2913 # Check if current handler has scroll state
LOWkivy/uix/scrollview.py3242 # Check if scroll position has stabilized. Used to dispatch the
LOWkivy/uix/scrollview.py3251 # Check if position changed
LOWkivy/uix/scrollview.py3402 # Set flag to prevent re-initialization, this touch belongs to child
LOWkivy/uix/video.py194 # Check if filename is not url
LOWkivy/uix/behaviors/button.py318 # Check if this is the first touch before adding
LOWkivy/uix/behaviors/button.py399 # Check if this touch was cancelled
LOWkivy/tests/test_uix_textinput.py37 # Check if text is modified while recreating from lines and lines_flags
LOWkivy/tests/test_uix_textinput.py40 # Check if wordbreaking is correctly done
LOWkivy/tests/test_system_tray.py540 # Check if tray icon creation was attempted
LOWkivy/tests/test_properties.py686 # Set property to same value as before, should only call setter
LOWkivy/tests/test_properties.py840 # Set property to same value as before, setter and getter and callback
LOWkivy/effects/dampedscroll.py132 # Check if we're in overscroll and should apply spring forces
LOWkivy/effects/dampedscroll.py183 # Check if we've reached the target and should stop
LOWexamples/demo/multistroke/historymanager.py135 # Add the visualizer to the list of gestures in 'history' screen
LOWexamples/system_tray/system_tray_showcase.py333 # Check if the file exists
LOWexamples/system_tray/system_tray_showcase.py338 # Check if it's a valid image file
LOWexamples/widgets/recycleview/key_viewclass.py183 # Check if index is the sentinel value (-1) indicating it
Cross-File Repetition10 hits · 50 pts
SeverityFileLineSnippet
HIGHkivy/tests/test_audio_provider.py0available_providers() should return at least one provider.
HIGHkivy/tests/test_text_provider.py0available_providers() should return at least one provider.
HIGHkivy/tests/test_image_provider.py0available_providers() should return at least one provider.
HIGHkivy/tests/test_audio_provider.py0available_providers() should return list of strings.
HIGHkivy/tests/test_text_provider.py0available_providers() should return list of strings.
HIGHkivy/tests/test_image_provider.py0available_providers() should return list of strings.
HIGHkivy/tests/test_lang.py0<tlangclass>: on_press: print('hello world') print('this is working !') self.a = 1
HIGHkivy/tests/test_lang.py0<tlangclass>: on_press: print('hello world') print('this is working !') self.a = 1
HIGHkivy/tests/test_lang.py0<tlangclass>: on_press: print('hello world') print('this is working !') self.a = 1
HIGHkivy/tests/test_lang.py0<tlangclass>: on_press: print('hello world') print('this is working !') self.a = 1
AI Slop Vocabulary12 hits · 18 pts
SeverityFileLineSnippet
LOWkivy/clock.py507 # on mobile platforms, just use time.sleep
LOWkivy/multistroke.py544 # is nothing to do; perhaps should just return None?
LOWkivy/core/text/__init__.py851 # words: every even index is spaces, just add ltr n spaces
LOWkivy/core/text/markup.py707 # if that fits, just return the flattened line
LOWkivy/core/spelling/__init__.py72 # If no language was specified, we just use the first one
LOWkivy/uix/screenmanager.py906 # show another one, just set the 'current' property.
LOWkivy/uix/screenmanager.py928 # show another one, just set the 'current' property.
LOWkivy/uix/boxlayout.py235 # there's no space, so just set to min size or zero
LOWkivy/uix/layout.py159 # too small, just set to min
LOWkivy/tests/test_core_svg.py207 # Should not raise; just return an empty list.
LOWkivy/lang/builder.py201 # just add the attr to the list
LOWexamples/widgets/recycleview/messenger.py165 # just set the size
Slop Phrases11 hits · 16 pts
SeverityFileLineSnippet
LOWkivy/config.py999 # don't forget to increment KIVY_CONFIG_VERSION !
LOWkivy/config.py999 # don't forget to increment KIVY_CONFIG_VERSION !
MEDIUMkivy/app.py295Here is a simple example of how on_pause() should be used::
LOWkivy/uix/textinput.py2241 # with the new text don't forget to update graphics again
LOWkivy/uix/textinput.py2241 # with the new text don't forget to update graphics again
MEDIUMkivy/lang/__init__.py121Here is a simple example of a kv file that contains a root widget::
MEDIUMkivy/lang/__init__.py270Here's a simple example that demonstrates this behavior::
LOWexamples/android/takepicture/main.py12If you want to compile it, don't forget to add the CAMERA permission::
LOWexamples/android/compass/main.py67 # when you are going on pause, don't forget to stop the sensor
LOWexamples/android/compass/main.py67 # when you are going on pause, don't forget to stop the sensor
MEDIUMexamples/widgets/keyboardlistener.py15 # If it exists, this widget is a VKeyboard object which you can use
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippet
HIGHkivy/utils.py46Normalize a path identifier for safe filesystem use. Replaces invalid filesystem characters with underscores to cre
HIGHkivy/core/text/__init__.py500Get a text provider class by name. :Parameters: `provider`: str The provider name (
Overly Generic Function Names7 hits · 7 pts
SeverityFileLineSnippet
LOWkivy/tests/test_clock_triggered.py44 def my_method(self, *args, **kwargs):
LOWkivy/tests/test_clock_triggered.py73 def my_method(self, *args, **kwargs):
LOWkivy/tests/test_clock_triggered.py95 def my_method(self, *args, **kwargs):
LOWkivy/tests/test_clock_triggered.py111 def my_method(self):
LOWkivy/tests/test_clock_triggered.py205 def my_method(self, val):
LOWkivy/tests/test_weakmethod.py9 def do_something(self):
LOWkivy/tests/test_weakmethod.py31 def do_something():
Dead Code2 hits · 4 pts
SeverityFileLineSnippet
MEDIUMexamples/3Drendering/objloader.py136
MEDIUMexamples/3Drendering/objloader.py147
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippet
LOWexamples/widgets/label_text_size.py17_long_text = ("""Lorem ipsum dolor sit amet, consectetur adipiscing elit. """
LOWexamples/widgets/label_text_size.py17_long_text = ("""Lorem ipsum dolor sit amet, consectetur adipiscing elit. """