Coverage report: 41%

Files Functions Classes

coverage.py v7.7.0, created at 2025-03-18 10:30 +0000

File function statements missing excluded coverage
cli/src/version_finder_cli/__init__.py (no function) 0 0 0 100%
cli/src/version_finder_cli/__version__.py (no function) 1 0 0 100%
cli/src/version_finder_cli/cli.py TaskNumberValidator.__init__ 2 2 0 0%
cli/src/version_finder_cli/cli.py TaskNumberValidator.validate 9 9 0 0%
cli/src/version_finder_cli/cli.py CommitSHAValidator.validate 5 5 0 0%
cli/src/version_finder_cli/cli.py ProgressIndicator.__init__ 3 3 0 0%
cli/src/version_finder_cli/cli.py ProgressIndicator.start 4 4 0 0%
cli/src/version_finder_cli/cli.py ProgressIndicator.stop 5 5 0 0%
cli/src/version_finder_cli/cli.py ProgressIndicator._show_progress 7 7 0 0%
cli/src/version_finder_cli/cli.py with_progress 2 0 0 100%
cli/src/version_finder_cli/cli.py with_progress.decorator 2 0 0 100%
cli/src/version_finder_cli/cli.py with_progress.decorator.wrapper 6 6 0 0%
cli/src/version_finder_cli/cli.py VersionFinderCLI.__init__ 2 0 0 100%
cli/src/version_finder_cli/cli.py VersionFinderCLI.get_task_functions 12 12 0 0%
cli/src/version_finder_cli/cli.py VersionFinderCLI.run 61 57 0 7%
cli/src/version_finder_cli/cli.py VersionFinderCLI.handle_task_input 15 15 0 0%
cli/src/version_finder_cli/cli.py VersionFinderCLI.handle_branch_input 12 12 0 0%
cli/src/version_finder_cli/cli.py VersionFinderCLI.handle_submodule_input 5 5 0 0%
cli/src/version_finder_cli/cli.py VersionFinderCLI.handle_path_input 10 6 0 40%
cli/src/version_finder_cli/cli.py VersionFinderCLI.get_branch_selection 14 14 0 0%
cli/src/version_finder_cli/cli.py VersionFinderCLI.run_task 1 1 0 0%
cli/src/version_finder_cli/cli.py VersionFinderCLI.fetch_arguments_per_task 5 5 0 0%
cli/src/version_finder_cli/cli.py VersionFinderCLI.find_first_version_containing_commit 7 7 0 0%
cli/src/version_finder_cli/cli.py VersionFinderCLI.find_all_commits_between_versions 9 9 0 0%
cli/src/version_finder_cli/cli.py VersionFinderCLI.find_commits_by_text 9 9 0 0%
cli/src/version_finder_cli/cli.py cli_main 11 3 0 73%
cli/src/version_finder_cli/cli.py main 2 0 0 100%
cli/src/version_finder_cli/cli.py (no function) 48 1 0 98%
core/src/version_finder/__init__.py (no function) 0 0 0 100%
core/src/version_finder/__version__.py (no function) 1 0 0 100%
core/src/version_finder/common.py parse_arguments 15 0 0 100%
core/src/version_finder/common.py get_repository_path 9 9 0 0%
core/src/version_finder/common.py args_to_command 11 0 0 100%
core/src/version_finder/common.py (no function) 27 0 0 100%
core/src/version_finder/git_executer.py GitConfig.__post_init__ 6 1 0 83%
core/src/version_finder/git_executer.py GitCommandExecutor.__init__ 6 2 0 67%
core/src/version_finder/git_executer.py GitCommandExecutor.execute 25 12 0 52%
core/src/version_finder/git_executer.py (no function) 22 0 0 100%
core/src/version_finder/logger.py ColoredFormatter.format 3 0 0 100%
core/src/version_finder/logger.py get_default_log_dir 18 3 0 83%
core/src/version_finder/logger.py _ensure_log_directory 29 17 0 41%
core/src/version_finder/logger.py get_logger 68 41 0 40%
core/src/version_finder/logger.py configure_logging 40 40 0 0%
core/src/version_finder/logger.py get_current_log_file_path 30 12 0 60%
core/src/version_finder/logger.py (no function) 17 0 0 100%
core/src/version_finder/main.py ExternalInterfaceNotSupportedError.__init__ 2 2 0 0%
core/src/version_finder/main.py is_package_installed 6 6 0 0%
core/src/version_finder/main.py call_cli_app 4 4 0 0%
core/src/version_finder/main.py call_gui_app 4 4 0 0%
core/src/version_finder/main.py main 46 41 0 11%
core/src/version_finder/main.py (no function) 13 1 0 92%
core/src/version_finder/version_finder.py GitNotInstalledError.__init__ 2 2 0 0%
core/src/version_finder/version_finder.py RepositoryNotTaskReady.__init__ 1 0 0 100%
core/src/version_finder/version_finder.py Commit.__repr__ 1 0 0 100%
core/src/version_finder/version_finder.py Commit.__str__ 1 0 0 100%
core/src/version_finder/version_finder.py VersionFinderTaskRegistry.__init__ 3 3 0 0%
core/src/version_finder/version_finder.py VersionFinderTaskRegistry._initialize_tasks 4 4 0 0%
core/src/version_finder/version_finder.py VersionFinderTaskRegistry.get_by_name 1 1 0 0%
core/src/version_finder/version_finder.py VersionFinderTaskRegistry.get_by_index 1 1 0 0%
core/src/version_finder/version_finder.py VersionFinderTaskRegistry.get_tasks_by_index 1 1 0 0%
core/src/version_finder/version_finder.py VersionFinderTaskRegistry.has_index 1 1 0 0%
core/src/version_finder/version_finder.py VersionFinderTaskRegistry.has_name 1 1 0 0%
core/src/version_finder/version_finder.py VersionFinderTaskRegistry._set_task_action 4 4 0 0%
core/src/version_finder/version_finder.py VersionFinderTaskRegistry._set_task_action_params 4 4 0 0%
core/src/version_finder/version_finder.py VersionFinderTaskRegistry.initialize_actions_and_args 3 3 0 0%
core/src/version_finder/version_finder.py VersionFinder.__init__ 15 3 0 80%
core/src/version_finder/version_finder.py VersionFinder.__has_remote 5 2 0 60%
core/src/version_finder/version_finder.py VersionFinder.__validate_repository 10 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.__load_repository_info 7 2 0 71%
core/src/version_finder/version_finder.py VersionFinder.__load_submodules 7 3 0 57%
core/src/version_finder/version_finder.py VersionFinder.__fetch_repository 5 5 0 0%
core/src/version_finder/version_finder.py VersionFinder.__load_branches 18 3 0 83%
core/src/version_finder/version_finder.py VersionFinder.__extract_version_from_message 5 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.__is_clean_git_repo 5 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.list_submodules 1 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.list_branches 1 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.get_commit_info 18 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.get_current_branch 10 2 0 80%
core/src/version_finder/version_finder.py VersionFinder.has_branch 1 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.save_repository_state 58 19 0 67%
core/src/version_finder/version_finder.py VersionFinder.get_saved_state 1 1 0 0%
core/src/version_finder/version_finder.py VersionFinder.has_saved_state 1 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.has_uncommitted_changes 1 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.restore_repository_state 88 41 0 53%
core/src/version_finder/version_finder.py VersionFinder.update_repository 22 9 0 59%
core/src/version_finder/version_finder.py VersionFinder.find_commits_by_text 26 3 0 88%
core/src/version_finder/version_finder.py VersionFinder.get_commit_surrounding_versions 13 3 0 77%
core/src/version_finder/version_finder.py VersionFinder.get_version_from_commit 9 3 0 67%
core/src/version_finder/version_finder.py VersionFinder.has_commit 5 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.submodule_has_commit 6 3 0 50%
core/src/version_finder/version_finder.py VersionFinder.get_first_commit_including_submodule_changes 35 4 0 89%
core/src/version_finder/version_finder.py VersionFinder.get_first_commit_including_submodule_changes.parse_git_log_output 11 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.__get_commits_changing_submodule_pointers_and_the_new_pointer 5 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.find_commit_by_version 9 1 0 89%
core/src/version_finder/version_finder.py VersionFinder.get_submodule_commit_hash 9 4 0 56%
core/src/version_finder/version_finder.py VersionFinder.find_commits_between_versions 32 6 0 81%
core/src/version_finder/version_finder.py VersionFinder.get_parent_commit 9 3 0 67%
core/src/version_finder/version_finder.py VersionFinder.find_first_version_containing_commit 11 1 0 91%
core/src/version_finder/version_finder.py VersionFinder.get_commit_sha_from_relative_string 8 8 0 0%
core/src/version_finder/version_finder.py VersionFinder.get_task_api_functions 1 1 0 0%
core/src/version_finder/version_finder.py VersionFinder.get_task_api_functions_params 1 1 0 0%
core/src/version_finder/version_finder.py VersionFinder.is_valid_submodule 5 1 0 80%
core/src/version_finder/version_finder.py VersionFinder.get_commit_diff_files 14 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.is_valid_commit 11 2 0 82%
core/src/version_finder/version_finder.py VersionFinder.get_file_content_at_commit 11 0 0 100%
core/src/version_finder/version_finder.py VersionFinder.generate_commit_diff_html 21 9 0 57%
core/src/version_finder/version_finder.py VersionFinder.find_version 16 16 0 0%
core/src/version_finder/version_finder.py VersionFinder.check_repository_state 7 7 0 0%
core/src/version_finder/version_finder.py VersionFinder.__del__ 8 2 0 75%
core/src/version_finder/version_finder.py (no function) 101 0 0 100%
gui/src/version_finder_gui/__init__.py (no function) 0 0 0 100%
gui/src/version_finder_gui/__version__.py (no function) 1 0 0 100%
gui/src/version_finder_gui/gui.py version_finder_worker 91 91 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI.__init__ 21 21 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._update_repo_path_entry 4 4 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._start_worker_process 8 8 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._stop_worker_process 15 15 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._check_worker_responses 12 12 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._check_task_timeouts 18 18 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._handle_worker_message 61 61 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._handle_initial_repo_state 25 25 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._log_warning 5 5 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._stop_all_spinners 5 5 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._execute_task 17 17 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._setup_window 3 3 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._on_close 23 23 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._create_window_layout 14 14 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._create_sidebar 14 14 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._create_header_frame 4 4 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._create_content_area 23 23 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._create_directory_section 9 9 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._on_branch_select 5 5 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._on_submodule_select 1 1 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._create_branch_selection 8 8 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._create_submodule_selection 8 8 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._create_app_buttons 8 8 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._create_output_area 6 6 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._clear_output 1 1 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._show_configuration 18 18 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._open_log_file 16 16 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._apply_settings 9 9 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._show_find_version 6 6 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._show_find_commits 8 8 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._show_search_commits 6 6 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._clear_task_frame 2 2 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._browse_directory 11 11 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._initialize_version_finder 5 5 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._handle_init_result 12 12 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._handle_branches_loaded 13 13 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._update_repository 3 3 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._handle_repository_updated 5 5 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._handle_submodules_loaded 13 13 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI.ensure_version_finder_initialized 2 0 0 100%
gui/src/version_finder_gui/gui.py VersionFinderGUI.ensure_version_finder_initialized.wrapper 5 5 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._find_version 6 6 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._handle_find_version_result 9 9 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._find_all_commits_between_versions 7 7 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._handle_commits_between_versions_result 8 8 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._find_commit_by_text 6 6 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._handle_find_commit_by_text_result 8 8 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._search 11 11 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._validate_inputs 14 14 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._handle_update_before_search 10 10 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._log_output 5 5 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._log_error 5 5 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._setup_icon 13 13 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI.center_window 8 8 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._enable_ui_after_repo_load 4 4 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI.init_repo 10 10 0 0%
gui/src/version_finder_gui/gui.py VersionFinderGUI._on_repo_initialized 6 6 0 0%
gui/src/version_finder_gui/gui.py gui_main 9 4 0 56%
gui/src/version_finder_gui/gui.py main 2 0 0 100%
gui/src/version_finder_gui/gui.py (no function) 91 1 0 99%
gui/src/version_finder_gui/widgets.py center_window 8 8 0 0%
gui/src/version_finder_gui/widgets.py CommitListWindow.__init__ 12 12 0 0%
gui/src/version_finder_gui/widgets.py CommitListWindow._create_styled_button 1 1 0 0%
gui/src/version_finder_gui/widgets.py CommitListWindow._add_commit_row 7 7 0 0%
gui/src/version_finder_gui/widgets.py CommitListWindow._toggle_commit_details_card 39 39 0 0%
gui/src/version_finder_gui/widgets.py CommitListWindow._copy_to_clipboard 3 3 0 0%
gui/src/version_finder_gui/widgets.py AutocompleteEntry.__init__ 12 0 0 100%
gui/src/version_finder_gui/widgets.py AutocompleteEntry.suggestions 1 0 0 100%
gui/src/version_finder_gui/widgets.py AutocompleteEntry.suggestions 1 0 0 100%
gui/src/version_finder_gui/widgets.py AutocompleteEntry.placeholder_text 1 0 0 100%
gui/src/version_finder_gui/widgets.py AutocompleteEntry.placeholder_text 1 1 0 0%
gui/src/version_finder_gui/widgets.py AutocompleteEntry._show_placeholder 5 0 0 100%
gui/src/version_finder_gui/widgets.py AutocompleteEntry.get 3 0 0 100%
gui/src/version_finder_gui/widgets.py AutocompleteEntry.insert 5 0 0 100%
gui/src/version_finder_gui/widgets.py AutocompleteEntry._get_filtered_suggestions 4 0 0 100%
gui/src/version_finder_gui/widgets.py AutocompleteEntry._show_suggestions 20 20 0 0%
gui/src/version_finder_gui/widgets.py AutocompleteEntry._select_suggestion 9 2 0 78%
gui/src/version_finder_gui/widgets.py AutocompleteEntry._on_key_release 1 1 0 0%
gui/src/version_finder_gui/widgets.py AutocompleteEntry._on_focus_out 6 2 0 67%
gui/src/version_finder_gui/widgets.py AutocompleteEntry._on_focus_in 5 5 0 0%
gui/src/version_finder_gui/widgets.py AutocompleteEntry._destroy_suggestion_window 3 3 0 0%
gui/src/version_finder_gui/widgets.py LoadingSpinner.__init__ 17 17 0 0%
gui/src/version_finder_gui/widgets.py LoadingSpinner._draw_spinner 6 6 0 0%
gui/src/version_finder_gui/widgets.py LoadingSpinner._update_spinner 5 5 0 0%
gui/src/version_finder_gui/widgets.py LoadingSpinner.start 4 4 0 0%
gui/src/version_finder_gui/widgets.py LoadingSpinner.stop 5 5 0 0%
gui/src/version_finder_gui/widgets.py (no function) 40 0 0 100%
Total   2362 1402 0 41%

No items found using the specified filter.