Repository Analysis

qarmin/czkawka

Multi functional app to find duplicates, empty folders, similar images etc.

1.2 Likely human-written View on GitHub
1.2
Adjusted Score
1.2
Raw Score
100%
Time Factor
2026-05-23
Last Push
31,259
Stars
Fluent
Language
72,473
Lines of Code
320
Files
65
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 1MEDIUM 15LOW 49

Pattern Findings

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

Excessive Try-Catch Wrapping19 hits · 30 pts
SeverityFileLineSnippet
MEDIUMmisc/find_unused_callbacks.py59 print(f"Error: {callabler_path} not found")
MEDIUMmisc/find_unused_callbacks.py78 print(f"Error: Callback {format_green(callback)} has NO Rust implementation")
MEDIUMmisc/find_unused_callbacks.py81 print(f"Error: Callback {format_green(callback)} has {len(matches)} Rust implementations (expected 1)")
MEDIUMmisc/simplify_and_minify_svg.py18 print(f"Error: {result.stderr}")
LOWmisc/find_unused_settings_properties.py58 except Exception as e:
MEDIUMmisc/find_unused_settings_properties.py79 print(f"Error: Settings file not found at {settings_file}")
LOWmisc/remove_comments.py200 except Exception as e:
MEDIUMmisc/find_unused_slint_translations.py74 print(f"Error: Could not find a translation Rust file in {folder}/src/ (tried: {translation_rs_candidates})")
LOWmisc/ai_translate/translate.py85 except Exception as e:
MEDIUMmisc/ai_translate/translate.py193 print(f"Error: English folder not found at {en_folder}")
MEDIUMmisc/ai_translate/translate.py198 print(f"Error: No FTL file found in {en_folder}")
MEDIUMmisc/ai_translate/translate.py322 print(f"Error: Path does not exist: {i18n_path}")
MEDIUMmisc/ai_translate/translate.py326 print(f"Error: Path is not a directory: {i18n_path}")
LOWmisc/ai_translate/translate.py334 except Exception as e:
MEDIUMmisc/ai_translate/validate_translations.py254 print(f"Error: English folder not found at {en_folder}")
MEDIUMmisc/ai_translate/validate_translations.py259 print(f"Error: No FTL file found in {en_folder}")
MEDIUMmisc/ai_translate/validate_translations.py400 print(f"Error: Path does not exist: {i18n_path}")
MEDIUMmisc/ai_translate/validate_translations.py404 print(f"Error: Path is not a directory: {i18n_path}")
LOWmisc/ai_translate/validate_translations.py413 except Exception as e:
Over-Commented Block25 hits · 25 pts
SeverityFileLineSnippet
LOWCargo.toml21#slint = { git = "https://github.com/slint-ui/slint.git" }
LOWczkawka_core/i18n.toml1# (Required) The language identifier of the language used in the
LOWczkawka_core/src/tools/similar_images/core.rs741 // parameters.similarity = rand::random::<u32>() % 40;
LOWczkawka_core/src/tools/exif_remover/core.rs321// let ms = nom_exif::MediaSource::file_path(path).map_err(|e| format!("Failed to open file: {e}"))?;
LOWczkawka_core/src/common/config_cache_path.rs21}
LOWczkawka_core/src/common/progress_data.rs1use log::error;
LOWczkawka_core/src/common/progress_data.rs21// 3 - Saving cache
LOWczkawka_core/src/common/progress_data.rs41// 0 - Collecting files
LOWczkawka_core/src/common/progress_data.rs61// 1 - Scanning files
LOWczkawka_core/src/helpers/debug_timer.rs1use std::time::{Duration, Instant};
LOWczkawka_core/src/helpers/debug_timer.rs21///
LOWczkawka_core/src/helpers/debug_timer.rs41/// println!("{}", report);
LOWczkawka_core/src/helpers/ffprobe.rs1//! Simple wrapper for the [ffprobe](https://ffmpeg.org/ffprobe.html) CLI utility,
LOWczkawka_gui/i18n.toml1# (Required) The language identifier of the language used in the
LOWczkawka_gui/src/gui_structs/common_upper_tree_view.rs41 // pub fn get_current_page(&self) -> Option<NotebookMainEnum {
LOWci_tester/src/advanced_tests.rs141
LOWci_tester/src/advanced_tests.rs301 )?;
LOWci_tester/src/advanced_tests.rs381
LOWci_tester/src/advanced_tests.rs501 ensure_exists(&format!("{dir}/ref2/file_b.bin"))?;
LOWci_tester/src/advanced_tests.rs541 // Only one copy was visible → no duplicates → both files survive
LOWci_tester/src/test_file_system.rs1//! In-memory representation of the test file tree.
LOWci_tester/src/test_file_system.rs21//! | Images/A2.jpg | 8 772 | 2023-10-12 15:21 | oldest jpg (tied A5) |
LOWcedinia/Cargo.toml101# Plain NativeActivity is fine; onActivityResult is handled by a headless
LOWkrokiet/i18n.toml1# (Required) The language identifier of the language used in the
LOWkrokiet/src/set_initial_gui_info.rs41 let video_optimizer_noise_reduction_display_names = StringComboBoxItems::get_display_names(video_optimizer_noise_red
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippet
LOWmisc/find_unused_settings_properties.py38
LOWmisc/find_unused_settings_properties.py65
LOWmisc/remove_comments.py14
LOWmisc/ai_translate/translate.py29
LOWmisc/ai_translate/translate.py117
LOWmisc/ai_translate/validate_translations.py105
LOWmisc/ai_translate/validate_translations.py142
LOWmisc/ai_translate/validate_translations.py247
LOWmisc/ai_translate/ftl_utils.py36
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHczkawka_core/src/common/directories.rs361 // use recursive_search = true and skip_exist_check = true as requested
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOWmisc/find_unused_settings_properties.py108 # Print results
LOWmisc/find_unused_slint_translations.py6# Check if in other slint files they are used
LOWmisc/find_unused_slint_translations.py7# Check if in all items from translations are used in a way f"set_{}(" in src/connect_translation.rs
LOWmisc/find_unused_slint_translations.py90# Check if all arguments are used in Slint files
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippet
LOWmisc/find_unused_settings_properties.py7def extract_settings_properties(settings_file: Path) -> Dict[str, str]:
LOWmisc/find_unused_settings_properties.py38def check_property_usage_in_rust(rust_files: List[Path], property_name: str) -> Tuple[bool, bool]:
LOWmisc/remove_comments.py14def remove_comments_from_text(s: str) -> str:
LOWmisc/ai_translate/translate.py117def update_language_file_content(lang_file: pathlib.Path, translations: Dict[str, str]) -> None:
LOWmisc/ai_translate/validate_translations.py142def fix_trailing_dots_in_language_file(
AI Slop Vocabulary1 hit · 2 pts
SeverityFileLineSnippet
MEDIUMmisc/test_compilation_speed_size/src/main.rs170 if let Err(e) = writeln!(file, "// Absolutely nothing") {
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWmisc/remove_comments.py3