深度学习辅助漫画翻译工具, 支持一键机翻和简单的图像/文本编辑 | Yet another computer-aided comic/manga translation tool powered by deeplearning
This report presents the forensic synthetic code analysis of dmMaze/BallonsTranslator, a Python project with 5,003 GitHub stars. SynthScan v2.0 examined 135,237 lines of code across 284 source files, recording 1519 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 15.9 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1519 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_text_transform_undo.py | 1368 | def test_projective_bend_and_sine_mix_with_text_undo(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 190 | def _push_input_method_commit( | CODE |
| LOW | tests/test_text_transform_undo.py | 253 | def test_projective_and_bend_payloads_round_trip(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 279 | def test_duplicate_stack_entries_and_glyph_slant_round_trip(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 323 | def test_projective_matrix_is_centered_and_invertible(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 359 | def test_projective_parameters_compile_to_one_native_stage_matrix(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 388 | def test_bend_mapper_round_trips_both_writing_modes(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 443 | def test_sine_payload_neutrality_and_phase_endpoint(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 474 | def test_sine_mapper_round_trips_ordered_axes_at_extreme_values(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 526 | def test_grid_payload_divisions_and_interpolation_round_trip(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 554 | def test_grid_bilinear_and_catmull_rom_differ_between_anchors(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 598 | def test_grid_inverse_stops_after_convergence(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 642 | def test_numpy_bilinear_inverse_retries_across_cell_boundaries(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 674 | def test_bilinear_grid_outline_keeps_padded_cell_boundary_kinks(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 690 | def test_catmull_rom_bounds_scale_with_deformation_not_box_size(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 703 | def test_grid_compiles_as_one_ordered_composable_surface_mapper(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 766 | def test_add_menu_and_hover_actions_are_generated_from_registry(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 797 | def test_panel_grows_until_its_scrollable_maximum(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 824 | def test_transform_cards_select_on_card_and_parameter_interaction(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 852 | def test_parameter_label_drag_keeps_every_transform_selected(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 884 | def test_sine_controls_use_wave_language_and_percentage_values(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 907 | def test_integer_drag_uses_eight_pixels_per_step_and_stops_at_range_end(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 973 | def test_grid_parameter_selection_binds_controller_and_delete_clears_it(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1007 | def test_projective_parameter_selection_binds_controller_and_toggle_clears_it(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1046 | def test_pair_list_selection_binds_projective_and_grid_controllers(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1092 | def test_added_transform_is_selected_and_new_grid_binds_controller(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1118 | def test_multi_selection_only_exposes_matching_stack_indices(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1171 | def test_grid_modal_preview_switch_and_cancel_do_not_create_undo(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1248 | def test_grid_handle_preview_commits_one_undoable_state(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1293 | def test_mixed_text_transforms_keep_undo_and_pair_widgets_in_sync(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1429 | def test_stack_structure_edits_are_undoable_for_selected_items(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1527 | def test_mixed_stack_structures_only_allow_append(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1575 | def test_compiler_uses_one_mapping_boundary_for_composed_operations(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1668 | def test_nonlinear_surface_sampling_tracks_render_quality(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1727 | def test_uniform_glyph_paint_batch_matches_per_line_fallback(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1758 | def test_vertical_width_resize_translates_existing_layout(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1816 | def test_geometry_edits_compile_each_transform_input_once(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 1919 | def test_glyph_slant_effects_stay_on_transformed_source_path(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2037 | def test_zero_glyph_slant_restores_effects_inside_nonlinear_stack(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2095 | def test_surface_without_raster_effects_keeps_effect_fast_path(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2128 | def test_interactive_surface_uses_bounded_low_resolution_preview(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2203 | def test_surface_composition_renders_through_one_nonlinear_surface(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2246 | def test_bend_selection_requests_a_full_item_update(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2283 | def test_grid_editing_cache_tracks_selection_and_ime(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2385 | def test_bend_defers_and_overlays_cursor_after_surface_warp(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2468 | def test_nonlinear_surface_uses_each_layouts_cursor_orientation(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2489 | def _assert_nonlinear_cursor_orientation(self, vertical, transform): | CODE |
| LOW | tests/test_text_transform_undo.py | 2528 | def test_cached_surface_probes_native_cursor_visibility(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2576 | def test_warped_bend_surface_maps_layout_hit_tests(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2638 | def test_fresh_items_install_projective_and_bend(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2676 | def test_neutral_effect_render_is_stable_after_transform_roundtrip(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2708 | def test_persisted_projective_transform_is_installed_on_fresh_items(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2731 | def test_global_geometry_cache_isolated_by_layout_and_preview(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2797 | def test_effect_padding_is_shrinkable_and_not_document_history(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2841 | def test_none_and_projective_only_paths_do_not_create_glyph_renderer(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2892 | def test_settled_format_geometry_notifies_visual_controllers(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2927 | def test_resize_undo_stores_alternating_logical_rectangles(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 2957 | def test_transformed_control_hitboxes_stay_outside_text_item(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 3037 | def test_modal_point_transform_matches_blender_style_relative_math(self): | CODE |
| LOW | tests/test_text_transform_undo.py | 3072 | def test_projective_controller_modal_rotate_scale_and_axis_constraints(self): | CODE |
| 622 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | set acrylic effect for window parameter ---------- hwnd: int or `sip.voidptr` window handle gradientcolor: str hexadecim | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | set acrylic effect for window parameter ---------- hwnd: int or `sip.voidptr` window handle gradientcolor: str hexadecim | STRING |
| HIGH | …lator/ui/framelesswindow/fw_qt5/linux/window_effect.py | 0 | set acrylic effect for window parameter ---------- hwnd: int or `sip.voidptr` window handle gradientcolor: str hexadecim | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | set the border color of the window parameters ---------- hwnd: int or `sip.voidptr` window handle color: qcolor border a | STRING |
| HIGH | …llontranslator/ui/framelesswindow/win_window_effect.py | 0 | set the border color of the window parameters ---------- hwnd: int or `sip.voidptr` window handle color: qcolor border a | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | set the border color of the window parameters ---------- hwnd: int or `sip.voidptr` window handle color: qcolor border a | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | remove the border color of the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/win_window_effect.py | 0 | remove the border color of the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | remove the border color of the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | add the mica effect to the window (win11 only) parameters ---------- hwnd: int or `sip.voidptr` window handle isdarkmode | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | add the mica effect to the window (win11 only) parameters ---------- hwnd: int or `sip.voidptr` window handle isdarkmode | STRING |
| HIGH | …llontranslator/ui/framelesswindow/win_window_effect.py | 0 | add the mica effect to the window (win11 only) parameters ---------- hwnd: int or `sip.voidptr` window handle isdarkmode | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | add the aero effect to the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | add the aero effect to the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …lator/ui/framelesswindow/fw_qt5/linux/window_effect.py | 0 | add the aero effect to the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/win_window_effect.py | 0 | add the aero effect to the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | set transparent effect for window parameters ---------- hwnd : int or `sip.voidptr` window handle | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | set transparent effect for window parameters ---------- hwnd : int or `sip.voidptr` window handle | STRING |
| HIGH | …lator/ui/framelesswindow/fw_qt5/linux/window_effect.py | 0 | set transparent effect for window parameters ---------- hwnd : int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | remove background effect parameters ---------- hwnd : int or `sip.voidptr` window handle | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | remove background effect parameters ---------- hwnd : int or `sip.voidptr` window handle | STRING |
| HIGH | …lator/ui/framelesswindow/fw_qt5/linux/window_effect.py | 0 | remove background effect parameters ---------- hwnd : int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | add shadow to menu parameter ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | add shadow to menu parameter ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …lator/ui/framelesswindow/fw_qt5/linux/window_effect.py | 0 | add shadow to menu parameter ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | remove shadow from pop-up menu parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/win_window_effect.py | 0 | remove shadow from pop-up menu parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | remove shadow from pop-up menu parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …lator/ui/framelesswindow/fw_qt5/linux/window_effect.py | 0 | remove shadow from pop-up menu parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | remove dwm shadow from the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | remove dwm shadow from the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …lator/ui/framelesswindow/fw_qt5/linux/window_effect.py | 0 | remove dwm shadow from the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/win_window_effect.py | 0 | remove dwm shadow from the window parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | enables the maximize and minimize animation of the window parameters ---------- hwnd : int or `sip.voidptr` window handl | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | enables the maximize and minimize animation of the window parameters ---------- hwnd : int or `sip.voidptr` window handl | STRING |
| HIGH | …lator/ui/framelesswindow/fw_qt5/linux/window_effect.py | 0 | enables the maximize and minimize animation of the window parameters ---------- hwnd : int or `sip.voidptr` window handl | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | disable the maximize button of window parameters ---------- hwnd : int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/win_window_effect.py | 0 | disable the maximize button of window parameters ---------- hwnd : int or `sip.voidptr` window handle | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | disable the maximize button of window parameters ---------- hwnd : int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/mac_window_effect.py | 0 | enable the blur effect behind the whole client parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …llontranslator/ui/framelesswindow/win_window_effect.py | 0 | enable the blur effect behind the whole client parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | …ontranslator/ui/framelesswindow/linux_window_effect.py | 0 | enable the blur effect behind the whole client parameters ---------- hwnd: int or `sip.voidptr` window handle | STRING |
| HIGH | ballontranslator/ui/framelesswindow/win32_utils.py | 0 | get the accent color of system returns ------- color: qcolor accent color | STRING |
| HIGH | ballontranslator/ui/framelesswindow/linux_utils.py | 0 | get the accent color of system returns ------- color: qcolor accent color | STRING |
| HIGH | ballontranslator/ui/framelesswindow/mac_utils.py | 0 | get the accent color of system returns ------- color: qcolor accent color | STRING |
| HIGH | ballontranslator/ui/framelesswindow/win32_utils.py | 0 | resize window parameters ---------- window: qwidget window globalpos: qpoint the global point of mouse release event edg | STRING |
| HIGH | ballontranslator/ui/framelesswindow/linux_utils.py | 0 | resize window parameters ---------- window: qwidget window globalpos: qpoint the global point of mouse release event edg | STRING |
| HIGH | ballontranslator/ui/framelesswindow/mac_utils.py | 0 | resize window parameters ---------- window: qwidget window globalpos: qpoint the global point of mouse release event edg | STRING |
| HIGH | …nslator/ui/framelesswindow/fw_qt5/utils/linux_utils.py | 0 | resize window parameters ---------- window: qwidget window globalpos: qpoint the global point of mouse release event edg | STRING |
| HIGH | …ator/ui/framelesswindow/fw_qt5/win_frameless_window.py | 0 | set custom title bar # parameters # ---------- # titlebar: titlebar # title bar # | STRING |
| HIGH | …translator/ui/framelesswindow/fw_qt5/linux/__init__.py | 0 | set custom title bar # parameters # ---------- # titlebar: titlebar # title bar # | STRING |
| HIGH | …ator/ui/framelesswindow/fw_qt6/win_frameless_window.py | 0 | set custom title bar # parameters # ---------- # titlebar: titlebar # title bar # | STRING |
| HIGH | …ator/ui/framelesswindow/fw_qt6/mac_frameless_window.py | 0 | set custom title bar # parameters # ---------- # titlebar: titlebar # title bar # | STRING |
| HIGH | …or/ui/framelesswindow/fw_qt6/linux_frameless_window.py | 0 | set custom title bar # parameters # ---------- # titlebar: titlebar # title bar # | STRING |
| HIGH | …ator/ui/framelesswindow/fw_qt5/win_frameless_window.py | 0 | returns whether the system title bar button is visible | STRING |
| HIGH | …ator/ui/framelesswindow/fw_qt6/win_frameless_window.py | 0 | returns whether the system title bar button is visible | STRING |
| HIGH | …or/ui/framelesswindow/fw_qt6/linux_frameless_window.py | 0 | returns whether the system title bar button is visible | STRING |
| HIGH | …ator/ui/framelesswindow/fw_qt5/win_frameless_window.py | 0 | set the visibility of system title bar button, only works for macos | STRING |
| HIGH | …ator/ui/framelesswindow/fw_qt6/win_frameless_window.py | 0 | set the visibility of system title bar button, only works for macos | STRING |
| HIGH | …or/ui/framelesswindow/fw_qt6/linux_frameless_window.py | 0 | set the visibility of system title bar button, only works for macos | STRING |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_run_pipeline_dialog.py | 30 | CODE | |
| LOW | tests/test_run_pipeline_dialog.py | 31 | CODE | |
| LOW | tests/test_run_pipeline_dialog.py | 32 | CODE | |
| LOW | tests/test_run_pipeline_dialog.py | 36 | CODE | |
| LOW | tests/test_run_pipeline_dialog.py | 51 | CODE | |
| LOW | tests/test_run_pipeline_dialog.py | 53 | CODE | |
| LOW | tests/test_app_event_filters.py | 8 | CODE | |
| LOW | tests/test_app_event_filters.py | 34 | CODE | |
| LOW | tests/test_llm_translator.py | 8 | CODE | |
| LOW | tests/test_llm_translator.py | 13 | CODE | |
| LOW | tests/test_module_run_errors.py | 7 | CODE | |
| LOW | tests/test_module_run_errors.py | 11 | CODE | |
| LOW | tests/test_module_run_errors.py | 14 | CODE | |
| LOW | tests/ui/text_rendering.py | 20 | CODE | |
| LOW | tests/ui/text_rendering.py | 20 | CODE | |
| LOW | ballontranslator/launch.py | 7 | CODE | |
| LOW | ballontranslator/ui/misc.py | 10 | CODE | |
| LOW | ballontranslator/ui/misc.py | 10 | CODE | |
| LOW | ballontranslator/ui/misc.py | 10 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 1 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 1 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 1 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 1 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 1 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 1 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 1 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 2 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 2 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 2 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 2 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 2 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 2 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 8 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 10 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 12 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 12 | CODE | |
| LOW | ballontranslator/ui/drawing_commands.py | 12 | CODE | |
| LOW | ballontranslator/ui/global_search_widget.py | 1 | CODE | |
| LOW | ballontranslator/ui/global_search_widget.py | 1 | CODE | |
| LOW | ballontranslator/ui/global_search_widget.py | 2 | CODE | |
| LOW | ballontranslator/ui/global_search_widget.py | 5 | CODE | |
| LOW | ballontranslator/ui/global_search_widget.py | 5 | CODE | |
| LOW | ballontranslator/ui/global_search_widget.py | 6 | CODE | |
| LOW | ballontranslator/ui/global_search_widget.py | 8 | CODE | |
| LOW | ballontranslator/ui/spellcheck.py | 7 | CODE | |
| LOW | ballontranslator/ui/spellcheck.py | 275 | CODE | |
| LOW | ballontranslator/ui/run_pipeline_dialog.py | 12 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 2 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 1075 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 1076 | CODE | |
| LOW | ballontranslator/ui/adaptive_wrap_layout.py | 3 | CODE | |
| LOW | ballontranslator/ui/image_edit.py | 1 | CODE | |
| LOW | ballontranslator/ui/image_edit.py | 7 | CODE | |
| LOW | ballontranslator/ui/configpanel.py | 24 | CODE | |
| LOW | ballontranslator/ui/page_search_widget.py | 5 | CODE | |
| LOW | ballontranslator/ui/io_thread.py | 1 | CODE | |
| LOW | ballontranslator/ui/io_thread.py | 3 | CODE | |
| LOW | ballontranslator/ui/io_thread.py | 5 | CODE | |
| LOW | ballontranslator/ui/io_thread.py | 7 | CODE | |
| LOW | ballontranslator/ui/io_thread.py | 10 | CODE | |
| 208 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ballontranslator/launch.py | 37 | except Exception: | CODE |
| LOW | ballontranslator/launch.py | 42 | except Exception: | CODE |
| LOW | ballontranslator/launch.py | 124 | except Exception: | CODE |
| LOW | ballontranslator/launch.py | 145 | except Exception as error: | CODE |
| MEDIUM | ballontranslator/launch.py | 137 | def warmup(): | CODE |
| LOW | ballontranslator/ui/torch_install_dialog.py | 143 | except Exception as e: | STRING |
| MEDIUM | ballontranslator/ui/torch_install_dialog.py | 136 | def update_command_preview(self): | CODE |
| MEDIUM | ballontranslator/ui/module_manager.py | 337 | def run(self): | CODE |
| MEDIUM | ballontranslator/ui/module_manager.py | 1252 | def run(self): | CODE |
| LOW | ballontranslator/ui/module_manager.py | 185 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/module_manager.py | 237 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/module_manager.py | 355 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/module_manager.py | 417 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/module_manager.py | 516 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/module_manager.py | 617 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/module_manager.py | 656 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/module_manager.py | 844 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/module_manager.py | 1198 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/module_manager.py | 1265 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/module_manager.py | 1705 | except Exception: | CODE |
| LOW | ballontranslator/ui/module_tool_button.py | 91 | except Exception: | CODE |
| MEDIUM⚡ | ballontranslator/ui/spellcheck.py | 122 | print(f"Error saving custom dictionary: {e}") | CODE |
| MEDIUM | ballontranslator/ui/spellcheck.py | 108 | print(f"Error loading custom dictionary: {e}") | CODE |
| MEDIUM | ballontranslator/ui/spellcheck.py | 124 | def _parse_and_load_file_to_set(self, path, target_set): | CODE |
| MEDIUM | ballontranslator/ui/spellcheck.py | 470 | def rehighlight(self): | CODE |
| LOW⚡ | ballontranslator/ui/spellcheck.py | 121 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/spellcheck.py | 107 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/spellcheck.py | 145 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/spellcheck.py | 180 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/spellcheck.py | 219 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/spellcheck.py | 252 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/spellcheck.py | 300 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/spellcheck.py | 326 | except Exception: | CODE |
| LOW | ballontranslator/ui/spellcheck.py | 346 | except Exception: | CODE |
| LOW | ballontranslator/ui/spellcheck.py | 540 | except Exception as e: | CODE |
| MEDIUM | ballontranslator/ui/mainwindow.py | 1891 | def on_export_txt(self, dump_target, suffix='.txt'): | CODE |
| MEDIUM | ballontranslator/ui/mainwindow.py | 1898 | def on_import_trans_txt(self): | CODE |
| LOW⚡ | ballontranslator/ui/mainwindow.py | 533 | except Exception as e: | CODE |
| LOW⚡ | ballontranslator/ui/mainwindow.py | 540 | except Exception as e: | CODE |
| LOW⚡ | ballontranslator/ui/mainwindow.py | 547 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/mainwindow.py | 704 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/mainwindow.py | 729 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/mainwindow.py | 749 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/mainwindow.py | 1378 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/mainwindow.py | 1389 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/mainwindow.py | 1846 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/mainwindow.py | 1867 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/mainwindow.py | 1895 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/mainwindow.py | 1937 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/mainwindow.py | 1993 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/update_thread.py | 58 | except Exception as e: | CODE |
| MEDIUM | ballontranslator/ui/update_thread.py | 47 | def run(self) -> None: | CODE |
| LOW | ballontranslator/ui/module_param_i18n.py | 110 | except Exception: | CODE |
| LOW | ballontranslator/ui/io_thread.py | 33 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/io_thread.py | 75 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/io_thread.py | 224 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/io_thread.py | 290 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/io_thread.py | 311 | except Exception as e: | CODE |
| LOW | ballontranslator/ui/llm_profile_widgets.py | 1124 | except Exception: | CODE |
| LOW | ballontranslator/ui/llm_profile_widgets.py | 1189 | except Exception: | CODE |
| 136 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 276 | self.textPanel.formatpanel.foldTextBtn.checkStateChanged.connect(self.fold_textarea) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 277 | self.textPanel.formatpanel.sourceBtn.checkStateChanged.connect(self.show_source_text) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 278 | self.textPanel.formatpanel.transBtn.checkStateChanged.connect(self.show_trans_text) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 279 | self.textPanel.formatpanel.textstyle_panel.export_style.connect(self.export_tstyles) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 280 | self.textPanel.formatpanel.textstyle_panel.import_style.connect(self.import_tstyles) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 439 | self.bottomBar.textdet_selector.selector.currentTextChanged.connect(self.on_textdet_changed) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 440 | self.bottomBar.inpaint_selector.selector.currentTextChanged.connect(self.on_inpaint_changed) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 443 | self.bottomBar.trans_selector.selector.currentTextChanged.connect(self.on_trans_changed) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 445 | self.bottomBar.trans_selector.tgt_selector.currentTextChanged.connect(self.on_trans_tgt_changed) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 446 | self.bottomBar.trans_selector.src_selector.currentTextChanged.connect(self.on_trans_src_changed) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 453 | self.bottomBar.ocr_selector.selector.currentTextChanged.connect(self.on_ocr_changed) | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 993 | self.textPanel.formatpanel.formatBtnGroup.boldBtn.click() | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 1001 | self.textPanel.formatpanel.formatBtnGroup.italicBtn.click() | CODE |
| CRITICAL⚡ | ballontranslator/ui/mainwindow.py | 1005 | self.textPanel.formatpanel.formatBtnGroup.underlineBtn.click() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/test_text_transform_undo.py | 1309 | stack.push( | CODE |
| HIGH⚡ | tests/test_text_transform_undo.py | 1313 | stack.push( | CODE |
| HIGH⚡ | tests/test_text_transform_undo.py | 1322 | stack.push( | CODE |
| HIGH⚡ | tests/test_text_transform_undo.py | 1325 | stack.push( | CODE |
| HIGH⚡ | tests/test_text_transform_undo.py | 1378 | stack.push( | CODE |
| HIGH⚡ | tests/test_text_transform_undo.py | 1383 | stack.push( | CODE |
| HIGH⚡ | tests/test_text_transform_undo.py | 1388 | stack.push( | CODE |
| HIGH⚡ | tests/test_text_transform_undo.py | 1393 | stack.push( | CODE |
| HIGH | tests/test_text_transform_undo.py | 224 | stack.push(TextEditCommand(edit, num_steps, item)) | CODE |
| HIGH | tests/test_text_transform_undo.py | 1339 | stack.push( | CODE |
| HIGH | tests/test_text_transform_undo.py | 2941 | stack.push(ReshapeItemCommand(item)) | CODE |
| HIGH | tests/test_text_transform_undo.py | 2942 | stack.push( | CODE |
| HIGH | ballontranslator/ui/page_search_widget.py | 89 | block_end = block_start + block.length() | CODE |
| HIGH | ballontranslator/ui/canvas.py | 1172 | self.draw_undo_stack.push(command) | CODE |
| HIGH | ballontranslator/ui/canvas.py | 1179 | self.text_undo_stack.push(command) | CODE |
| HIGH | ballontranslator/ui/text_engine/layout.py | 106 | if block_position <= cursor_position < block_position + block.length(): | CODE |
| HIGH | ballontranslator/ui/text_engine/layout.py | 359 | text_len = fragment.length() | CODE |
| HIGH | ballontranslator/ui/text_engine/layout.py | 651 | blpos, bllen = block.position(), block.length() | CODE |
| HIGH | ballontranslator/ui/text_engine/layout.py | 735 | bllen = block.length() | CODE |
| HIGH | ballontranslator/ui/text_engine/layout.py | 1261 | bllen = block.length() | CODE |
| HIGH | ballontranslator/ui/text_engine/layout.py | 1307 | bllen = block.length() | CODE |
| HIGH | ballontranslator/ui/text_engine/item.py | 936 | frag_end = frag_start + fragment.length() | CODE |
| HIGH | ballontranslator/ui/text_engine/item.py | 1076 | pos2 = pos1 + fragment.length() | CODE |
| HIGH | ballontranslator/ui/text_engine/effect_renderer.py | 325 | fragment.position() + fragment.length(), | CODE |
| HIGH | ballontranslator/ui/text_engine/effect_renderer.py | 411 | fragment.position() + fragment.length(), | CODE |
| HIGH | ballontranslator/ui/text_engine/effect_renderer.py | 1315 | text_length = block.length() - 1 | CODE |
| HIGH | ballontranslator/ui/text_engine/rendering/glyph.py | 261 | and absolute < fragment.position() + fragment.length() | CODE |
| HIGH | ballontranslator/ui/text_engine/rendering/glyph.py | 296 | block_length = max(0, block.length() - 1) | CODE |
| HIGH | ballontranslator/ui/text_engine/rendering/glyph.py | 324 | end = start + fragment.length() | CODE |
| HIGH | …llontranslator/ui/text_engine/rendering/glyph_slant.py | 235 | block_end = block_start + block.length() - 1 | CODE |
| HIGH | …llontranslator/ui/text_engine/rendering/glyph_slant.py | 452 | if fragment.isValid() and fragment.length() > 0: | CODE |
| HIGH | ballontranslator/utils/download_util.py | 249 | f.write(buffer) # type: ignore[possibly-undefined] | STRING |
| HIGH | ballontranslator/utils/download_util.py | 251 | sha256.update(buffer) # type: ignore[possibly-undefined] | STRING |
| HIGH | ballontranslator/utils/download_util.py | 265 | digest = sha256.hexdigest() # type: ignore[possibly-undefined] | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_text_transform_undo.py | 388 | CODE | |
| LOW | tests/test_text_transform_undo.py | 1293 | CODE | |
| LOW | tests/test_text_transform_undo.py | 1368 | CODE | |
| LOW | tests/test_text_transform_undo.py | 1816 | CODE | |
| LOW | tests/test_text_transform_undo.py | 2037 | CODE | |
| LOW | tests/test_text_transform_undo.py | 2283 | CODE | |
| LOW | tests/test_text_transform_undo.py | 2638 | CODE | |
| LOW | tests/test_text_transform_undo.py | 2957 | CODE | |
| LOW | tests/test_text_transform_undo.py | 4063 | CODE | |
| LOW | tests/test_text_transform_undo.py | 4227 | CODE | |
| LOW | tests/test_llm_key_dialog.py | 423 | CODE | |
| LOW | tests/test_updater.py | 141 | CODE | |
| LOW | tests/test_llm_translation_context.py | 593 | CODE | |
| LOW | ballontranslator/ui/menu_style.py | 195 | CODE | |
| LOW | ballontranslator/ui/misc.py | 189 | CODE | |
| LOW | ballontranslator/ui/module_manager.py | 874 | CODE | |
| LOW | ballontranslator/ui/module_manager.py | 1001 | CODE | |
| LOW | ballontranslator/ui/global_search_widget.py | 204 | CODE | |
| LOW | ballontranslator/ui/global_search_widget.py | 426 | CODE | |
| LOW | ballontranslator/ui/spellcheck.py | 94 | CODE | |
| LOW | ballontranslator/ui/spellcheck.py | 148 | CODE | |
| LOW | ballontranslator/ui/spellcheck.py | 187 | CODE | |
| LOW | ballontranslator/ui/spellcheck.py | 204 | CODE | |
| LOW | ballontranslator/ui/keywordsubwidget.py | 96 | CODE | |
| LOW | ballontranslator/ui/run_pipeline_dialog.py | 422 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 113 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 380 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 919 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 939 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 1015 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 1089 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 1322 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 1569 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 1741 | CODE | |
| LOW | ballontranslator/ui/mainwindow.py | 2105 | CODE | |
| LOW | ballontranslator/ui/module_parse_widgets.py | 301 | CODE | |
| LOW | ballontranslator/ui/page_search_widget.py | 352 | CODE | |
| LOW | ballontranslator/ui/page_search_widget.py | 697 | CODE | |
| LOW | ballontranslator/ui/io_thread.py | 210 | CODE | |
| LOW | ballontranslator/ui/llm_profile_widgets.py | 739 | CODE | |
| LOW | ballontranslator/ui/llm_profile_widgets.py | 1023 | CODE | |
| LOW | ballontranslator/ui/llm_profile_widgets.py | 1743 | CODE | |
| LOW | ballontranslator/ui/drawingpanel.py | 472 | CODE | |
| LOW | ballontranslator/ui/canvas.py | 104 | CODE | |
| LOW | ballontranslator/ui/canvas.py | 712 | CODE | |
| LOW | ballontranslator/ui/canvas.py | 782 | CODE | |
| LOW | ballontranslator/ui/canvas.py | 1032 | CODE | |
| LOW | ballontranslator/ui/text_engine/layout.py | 328 | CODE | |
| LOW | ballontranslator/ui/text_engine/layout.py | 416 | CODE | |
| LOW | ballontranslator/ui/text_engine/layout.py | 502 | CODE | |
| LOW | ballontranslator/ui/text_engine/layout.py | 603 | CODE | |
| LOW | ballontranslator/ui/text_engine/layout.py | 633 | CODE | |
| LOW | ballontranslator/ui/text_engine/layout.py | 769 | CODE | |
| LOW | ballontranslator/ui/text_engine/layout.py | 834 | CODE | |
| LOW | ballontranslator/ui/text_engine/layout.py | 1136 | CODE | |
| LOW | ballontranslator/ui/text_engine/layout.py | 1162 | CODE | |
| LOW | ballontranslator/ui/text_engine/layout.py | 1250 | CODE | |
| LOW | ballontranslator/ui/text_engine/item.py | 116 | CODE | |
| LOW | ballontranslator/ui/text_engine/item.py | 516 | CODE | |
| LOW | ballontranslator/ui/text_engine/effect_renderer.py | 882 | CODE | |
| 117 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ator/ui/framelesswindow/fw_qt5/win_frameless_window.py | 61 | # ---------- | COMMENT |
| MEDIUM | …translator/ui/framelesswindow/fw_qt5/linux/__init__.py | 42 | # ---------- | COMMENT |
| MEDIUM | …ator/ui/framelesswindow/fw_qt6/win_frameless_window.py | 57 | # ---------- | COMMENT |
| MEDIUM | …ator/ui/framelesswindow/fw_qt6/mac_frameless_window.py | 67 | # ---------- | COMMENT |
| MEDIUM | …or/ui/framelesswindow/fw_qt6/linux_frameless_window.py | 57 | # ---------- | COMMENT |
| MEDIUM | …or/ui/framelesswindow/fw_qt6/linux_frameless_window.py | 83 | # ---------- | COMMENT |
| MEDIUM | ballontranslator/modules/ocr/ocr_ppv6_onnx.py | 16 | # ── Paths ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ballontranslator/modules/ocr/ocr_ppv6_onnx.py | 297 | # ── Model lifecycle ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | ballontranslator/modules/ocr/ocr_ppv6_onnx.py | 411 | # ── GPU uniform-batch recognition ─────────────────────────────────── | COMMENT |
| MEDIUM | ballontranslator/modules/ocr/ocr_ppv6_onnx.py | 448 | # ── OCRBase interface — crop-based recognition ────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ator/ui/framelesswindow/fw_qt6/mac_frameless_window.py | 61 | self.setStayOnTop(True) | COMMENT |
| LOW | ballontranslator/modules/textdetector/ctd/textmask.py | 161 | # bx1, by1, bx2, by2 = expand_textwindow(img.shape, blk.xyxy, expand_r=16) | COMMENT |
| LOW | ballontranslator/modules/textdetector/ctd/textmask.py | 181 | # if neg_thresh: | COMMENT |
| LOW | ballontranslator/modules/textdetector/ctd/textmask.py | 201 | # tmp_merged[label_cordinates] = 255 | COMMENT |
| LOW | ballontranslator/modules/textdetector/ctd/textmask.py | 221 | # brect = cv2.boundingRect(contours[ii]) | COMMENT |
| LOW | ballontranslator/modules/textdetector/ctd/textmask.py | 241 | # best_xorpix_sum = np.inf | COMMENT |
| LOW | ballontranslator/modules/textdetector/ctd/textmask.py | 261 | # continue | COMMENT |
| LOW | ballontranslator/modules/ocr/ocr_macos.py | 101 | 'language': { | COMMENT |
| LOW | ballontranslator/modules/ocr/ocr_ppv6_onnx.py | 381 | # and triggers full kernel recompilation (~1.8 s per batch). | COMMENT |
| LOW | ballontranslator/modules/ocr/mit48px_ctc.py | 481 | # pred_char_logits, pred_color_values = model(img) | COMMENT |
| LOW | ballontranslator/modules/ocr/mit48px_ctc.py | 501 | # ch == ' ' | COMMENT |
| LOW | …lontranslator/modules/inpaint/flux_inpaint_pipeline.py | 1 | # Copyright 2025 Black Forest Labs and The HuggingFace Team. All rights reserved. | COMMENT |
| LOW | ballontranslator/modules/inpaint/patch_match.py | 1 | #! /usr/bin/env python3 | COMMENT |
| LOW | …ort to photoshop/Import from BallonTranslator JSON.jsx | 1 | COMMENT | |
| LOW | …ort to photoshop/Import from BallonTranslator JSON.jsx | 21 | // of nested structures. If it is omitted, the text will | COMMENT |
| LOW | …ort to photoshop/Import from BallonTranslator JSON.jsx | 41 | // ? "0" + n | COMMENT |
| LOW | …ort to photoshop/Import from BallonTranslator JSON.jsx | 61 | // stringified. | COMMENT |
| LOW | …ort to photoshop/Import from BallonTranslator JSON.jsx | 81 | // // text is '["e",{"pluribus":"unum"}]' | COMMENT |
| LOW | …ort to photoshop/Import from BallonTranslator JSON.jsx | 101 | // If it returns undefined then the member is deleted. | COMMENT |
| LOW | …ort to photoshop/Import from BallonTranslator JSON.jsx | 121 | COMMENT | |
| LOW | …ort to photoshop/Import from BallonTranslator JSON.jsx | 481 | text = text.replace(rx_dangerous, function (a) { | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ballontranslator/ui/spellcheck.py | 477 | # Check if spellcheck is enabled in settings and if spellchecker package is installed | COMMENT |
| LOW | ballontranslator/ui/spellcheck.py | 483 | # Check if editor is a Source block editor and if spell checking on source is enabled | COMMENT |
| LOW | ballontranslator/utils/py_package_manager.py | 601 | # Check if it is a corrupted package (e.g. folder exists but missing __init__.py, | COMMENT |
| LOW | ballontranslator/modules/translators/trans_deepl.py | 99 | # Check if the target language supports formality | COMMENT |
| LOW⚡ | ballontranslator/modules/textdetector/panel_finder.py | 63 | # Check if the polygon contains any of the other polygons. | COMMENT |
| LOW⚡ | ballontranslator/modules/textdetector/panel_finder.py | 66 | # Check if the polygon contains the other polygon and that the polygons | COMMENT |
| LOW⚡ | ballontranslator/modules/textdetector/panel_finder.py | 71 | # Check if rect2 is completely within rect1 | COMMENT |
| LOW | ballontranslator/modules/textdetector/panel_finder.py | 253 | # Check if range1 is before range2 | COMMENT |
| LOW | ballontranslator/modules/textdetector/panel_finder.py | 256 | # Check if range1 is after range2 | COMMENT |
| LOW | ballontranslator/modules/ocr/ocr_paddleVL_manga.py | 127 | # Set pad_token_id to avoid warning during generation | COMMENT |
| LOW | ballontranslator/modules/ocr/mit48px.py | 749 | finished = (out_idx[:, -1] == end_tok) # Check if the last token is the end token | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ntranslator/ui/_generated/module_param_i18n_catalog.py | 1 | # This file is auto-generated by scripts/update_translation.py. | COMMENT |
| MEDIUM | …ntranslator/modules/translators/trans_yandex_foswly.py | 1 | # This module is a Python port of the TypeScript library: https://github.com/FOSWLY/translate | COMMENT |
| MEDIUM⚡ | ballontranslator/modules/textdetector/panel_finder.py | 58 | # Create a new list to store the filtered polygons. | COMMENT |
| MEDIUM | ballontranslator/modules/textdetector/panel_finder.py | 329 | # Create a drawing object | COMMENT |
| MEDIUM | scripts/update_translation.py | 96 | '# This file is auto-generated by scripts/update_translation.py.', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ballontranslator/__init__.py | 1 | __all__ = [] | CODE |
| LOW | ballontranslator/ui/text_engine/shape_control.py | 136 | def _updateVisibleRect(self) -> None: | CODE |
| LOW | ballontranslator/ui/text_engine/item.py | 103 | def _update_nonlinear_editing_ui(self) -> None: | CODE |
| LOW | ballontranslator/ui/text_engine/item.py | 600 | def set_ui_guide_suppressed(self, suppressed: bool) -> None: | CODE |
| LOW⚡ | ballontranslator/ui/text_engine/transforms/controls.py | 738 | def set_index(self, index: int) -> None: | CODE |
| LOW⚡ | ballontranslator/ui/text_engine/transforms/controls.py | 741 | def set_move_enabled(self, can_move_up: bool, can_move_down: bool) -> None: | CODE |
| LOW⚡ | ballontranslator/ui/text_engine/transforms/controls.py | 745 | def set_selected(self, selected: bool) -> None: | CODE |
| LOW⚡ | ballontranslator/ui/text_engine/transforms/controls.py | 755 | def set_values(self, transforms) -> None: | CODE |
| LOW | ballontranslator/ui/text_engine/transforms/editor.py | 168 | def _set_global_state(self, state: TextTransformState) -> None: | CODE |
| LOW | …ontranslator/ui/text_engine/transforms/grid_control.py | 385 | def _set_modal_cursor(self) -> None: | CODE |
| LOW | …ontranslator/ui/text_engine/transforms/grid_control.py | 405 | def _update_modal_indicator(self) -> None: | CODE |
| LOW | ballontranslator/utils/font_detect.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | ballontranslator/modules/inpaint/patch_match.py | 29 | __all__ = ['set_random_seed', 'set_verbose', 'inpaint', 'inpaint_regularity'] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ballontranslator/ui/custom_widget/__init__.py | 16 | CODE | |
| LOW | ballontranslator/utils/package_installer.py | 102 | CODE | |
| LOW | ballontranslator/utils/download_util.py | 332 | CODE | |
| LOW | ballontranslator/utils/download_util.py | 391 | CODE | |
| LOW | ballontranslator/utils/split_text_region.py | 216 | CODE | |
| LOW | ballontranslator/modules/ocr/mit48px_ctc.py | 62 | CODE | |
| LOW | …lontranslator/modules/inpaint/flux_inpaint_pipeline.py | 668 | CODE | |
| LOW | ballontranslator/modules/inpaint/aot.py | 64 | CODE | |
| LOW | ballontranslator/modules/inpaint/ffc.py | 49 | CODE | |
| LOW | ballontranslator/modules/inpaint/ffc.py | 183 | CODE | |
| LOW | ballontranslator/modules/inpaint/ffc.py | 188 | CODE | |
| LOW | ballontranslator/modules/inpaint/ffc.py | 250 | CODE | |
| LOW | ballontranslator/modules/inpaint/lama.py | 65 | CODE | |
| LOW | ballontranslator/modules/inpaint/lama.py | 232 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ballontranslator/ui/text_engine/editing/widgets.py | 131 | # Stylize borders and round corners so they form a single seamless block | COMMENT |
| MEDIUM | …ntranslator/modules/translators/trans_yandex_foswly.py | 192 | # A comprehensive language map based on Google's list | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …lontranslator/modules/inpaint/flux_inpaint_pipeline.py | 691 | Function invoked when calling the pipeline for generation. Args: image (`torch.Tensor`, `P | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ballontranslator/modules/translators/trans_llm.py | 70 | dummy_api_key = 'dummy-key' | CODE |
| LOW | ballontranslator/modules/ocr/ocr_llm.py | 36 | dummy_api_key = 'dummy-key' | CODE |