puzzletree Coverage Report: 85.66%

Files Functions Classes

coverage.py v7.13.4, created at 2026-03-12 20:35 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
src / puzzletree / _version.py _interpreter_name_version   100.00% 8 0 0   100.00% 4 0   100.00%
src / puzzletree / _version.py get_version   100.00% 6 0 0   100.00% 2 0   100.00%
src / puzzletree / _version.py version_info   100.00% 2 0 0   100.00% 0 0   100.00%
src / puzzletree / _version.py get_debug_info   100.00% 4 0 0   100.00% 0 0   100.00%
src / puzzletree / _version.py _make_debug_layout   93.75% 16 1 0   75.00% 4 1   90.00%
src / puzzletree / _version.py _make_debug_panel   100.00% 8 0 0   100.00% 0 0   100.00%
src / puzzletree / _version.py debug_info   100.00% 7 0 0   100.00% 4 0   100.00%
src / puzzletree / _version.py (no function)   100.00% 45 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / __init__.py (no function)   100.00% 2 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / commands / __init__.py (no function)   100.00% 0 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / commands / reconstruct / __init__.py _output_stem   80.00% 5 1 0   50.00% 4 2   66.67%
src / puzzletree / cli / commands / reconstruct / __init__.py _default_output_path   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / commands / reconstruct / __init__.py _default_animation_frames_dir   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / commands / reconstruct / __init__.py reconstruct   84.00% 25 4 0   75.00% 4 1   82.76%
src / puzzletree / cli / commands / reconstruct / __init__.py reconstruct._advance   100.00% 2 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / commands / reconstruct / __init__.py (no function)   100.00% 14 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / commands / tile / __init__.py _default_output_dir   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / commands / tile / __init__.py tile   100.00% 17 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / commands / tile / __init__.py (no function)   100.00% 14 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / main_cli.py _version_callback   100.00% 4 0 0   100.00% 2 0   100.00%
src / puzzletree / cli / main_cli.py _debug_info_callback   100.00% 4 0 0   100.00% 2 0   100.00%
src / puzzletree / cli / main_cli.py main   86.67% 15 2 0   50.00% 2 1   82.35%
src / puzzletree / cli / main_cli.py (no function)   100.00% 16 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / messages / __init__.py (no function)   100.00% 6 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / messages / capability.py supports_unicode_markdown   83.33% 12 2 0   100.00% 6 0   88.89%
src / puzzletree / cli / messages / capability.py (no function)   100.00% 2 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / messages / error.py error_panel   100.00% 4 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / messages / error.py (no function)   100.00% 5 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / messages / layout.py use_layout   100.00% 4 0 0   100.00% 2 0   100.00%
src / puzzletree / cli / messages / layout.py (no function)   100.00% 2 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / messages / message.py info_panel   100.00% 3 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / messages / message.py (no function)   100.00% 4 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / messages / warning.py warning_panel   100.00% 4 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / messages / warning.py (no function)   100.00% 5 0 0   100.00% 0 0   100.00%
src / puzzletree / cli / register.py _register_commands   81.82% 22 4 0   83.33% 6 1   82.14%
src / puzzletree / cli / register.py (no function)   100.00% 5 0 0   100.00% 0 0   100.00%
src / puzzletree / config.py (no function)   100.00% 3 0 0   100.00% 0 0   100.00%
src / puzzletree / config / __init__.py (no function)   100.00% 2 0 0   100.00% 0 0   100.00%
src / puzzletree / config / main_config.py (no function)   100.00% 13 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / __init__.py (no function)   100.00% 4 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / core.py reverse_side   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / core.py var2   66.67% 3 1 0   50.00% 2 1   60.00%
src / puzzletree / reconstruct / core.py gaussian_filter1d_nearest   92.86% 14 1 0   75.00% 4 1   88.89%
src / puzzletree / reconstruct / core.py corr   100.00% 4 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / core.py edge_features   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / core.py build_weight_matrices   100.00% 15 0 0   100.00% 6 0   100.00%
src / puzzletree / reconstruct / core.py directed_to_unlabeled   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / core.py fillin   100.00% 6 0 0   83.33% 6 1   91.67%
src / puzzletree / reconstruct / core.py fillin2   100.00% 8 0 0   83.33% 6 1   92.86%
src / puzzletree / reconstruct / core.py ita_path   92.86% 14 1 0   87.50% 8 1   90.91%
src / puzzletree / reconstruct / core.py charged_path   100.00% 26 0 0   100.00% 12 0   100.00%
src / puzzletree / reconstruct / core.py chargeds   100.00% 23 0 0   100.00% 8 0   100.00%
src / puzzletree / reconstruct / core.py edge_label_exists   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / core.py global_edge_exists   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / core.py clone_adjs   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / core.py msgt   100.00% 47 0 0   100.00% 24 0   100.00%
src / puzzletree / reconstruct / core.py connected_components   100.00% 18 0 0   100.00% 10 0   100.00%
src / puzzletree / reconstruct / core.py reconstruct_layout   100.00% 16 0 0   100.00% 4 0   100.00%
src / puzzletree / reconstruct / core.py (no function)   100.00% 26 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / inspect.py _measure_text   100.00% 4 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / inspect.py _text_block_height   75.00% 4 1 0   50.00% 2 1   66.67%
src / puzzletree / reconstruct / inspect.py _draw_text_lines   100.00% 4 0 0   100.00% 2 0   100.00%
src / puzzletree / reconstruct / inspect.py _tile_box   100.00% 3 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / inspect.py _draw_side_highlight   54.55% 11 5 0   37.50% 8 1   47.37%
src / puzzletree / reconstruct / inspect.py _label_for_kind   40.00% 5 3 0   25.00% 4 1   33.33%
src / puzzletree / reconstruct / inspect.py _component_coords   100.00% 3 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / inspect.py _render_component_panel   100.00% 34 0 0   100.00% 4 0   100.00%
src / puzzletree / reconstruct / inspect.py _render_pair_zoom_panel   83.87% 31 5 0   50.00% 4 2   80.00%
src / puzzletree / reconstruct / inspect.py _stack_horizontally   90.91% 11 1 0   75.00% 4 1   86.67%
src / puzzletree / reconstruct / inspect.py _stack_vertically   90.91% 11 1 0   75.00% 4 1   86.67%
src / puzzletree / reconstruct / inspect.py _resize_to_fit   0.00% 5 5 0   0.00% 2 0   0.00%
src / puzzletree / reconstruct / inspect.py load_inspection_dataset   0.00% 6 6 0   100.00% 0 0   0.00%
src / puzzletree / reconstruct / inspect.py inspect_candidate   0.00% 38 38 0   0.00% 20 0   0.00%
src / puzzletree / reconstruct / inspect.py find_low_score_rejected_candidates   0.00% 26 26 0   0.00% 16 0   0.00%
src / puzzletree / reconstruct / inspect.py render_candidate_panel   100.00% 8 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / inspect.py render_candidate_contact_sheet   100.00% 11 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / inspect.py save_candidate_report   0.00% 7 7 0   100.00% 0 0   0.00%
src / puzzletree / reconstruct / inspect.py (no function)   100.00% 59 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / io.py to_float_array   100.00% 2 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / io.py load_tiles_from_dir   77.78% 9 2 0   66.67% 6 2   73.33%
src / puzzletree / reconstruct / io.py split_image_into_tiles   92.31% 13 1 0   87.50% 8 1   90.48%
src / puzzletree / reconstruct / io.py save_tiles_from_image   100.00% 14 0 0   100.00% 6 0   100.00%
src / puzzletree / reconstruct / io.py (no function)   100.00% 18 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / pipeline.py _notify_progress   100.00% 2 0 0   100.00% 2 0   100.00%
src / puzzletree / reconstruct / pipeline.py run_reconstruction   100.00% 9 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / pipeline.py run_reconstruction_with_history   100.00% 9 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / pipeline.py run_from_options   100.00% 11 0 0   100.00% 4 0   100.00%
src / puzzletree / reconstruct / pipeline.py (no function)   100.00% 34 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / render.py render_reconstruction   93.33% 15 1 0   75.00% 4 1   89.47%
src / puzzletree / reconstruct / render.py tile_rgba_images   100.00% 5 0 0   100.00% 2 0   100.00%
src / puzzletree / reconstruct / render.py component_image   100.00% 16 0 0   100.00% 2 0   100.00%
src / puzzletree / reconstruct / render.py boxes_overlap   100.00% 3 0 0   100.00% 0 0   100.00%
src / puzzletree / reconstruct / render.py pack_images_non_overlapping   79.55% 44 9 0   80.77% 26 5   80.00%
src / puzzletree / reconstruct / render.py minimum_canvas_side   80.00% 5 1 0   50.00% 2 1   71.43%
src / puzzletree / reconstruct / render.py pack_images_with_growing_canvas   85.71% 7 1 0   50.00% 2 1   77.78%
src / puzzletree / reconstruct / render.py pad_image_to_square   85.71% 7 1 0   50.00% 2 1   77.78%
src / puzzletree / reconstruct / render.py build_tree_animation_frames   100.00% 17 0 0   100.00% 4 0   100.00%
src / puzzletree / reconstruct / render.py save_tree_build_animation   93.33% 15 1 0   75.00% 8 2   86.96%
src / puzzletree / reconstruct / render.py (no function)   100.00% 19 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / __init__.py (no function)   100.00% 0 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / logging.py _is_running_in_pytest   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / logging.py _set_up_logger   100.00% 29 0 0   81.25% 16 3   93.33%
src / puzzletree / utils / logging.py _attach_rotating_file_handler   100.00% 5 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / logging.py get_logger_console   76.67% 30 7 0   55.00% 20 5   68.00%
src / puzzletree / utils / logging.py (no function)   100.00% 15 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / progress_bar.py ProgressBar.__init__   100.00% 7 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / progress_bar.py ProgressBar.__enter__   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / progress_bar.py ProgressBar.__exit__   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / progress_bar.py ProgressBar.start   100.00% 4 0 0   100.00% 2 0   100.00%
src / puzzletree / utils / progress_bar.py ProgressBar.update   100.00% 8 0 0   83.33% 6 1   92.86%
src / puzzletree / utils / progress_bar.py ProgressBar.stop   100.00% 2 0 0   100.00% 2 0   100.00%
src / puzzletree / utils / progress_bar.py StageProgressBar.__init__   100.00% 5 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / progress_bar.py StageProgressBar.__enter__   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / progress_bar.py StageProgressBar.__exit__   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / progress_bar.py StageProgressBar.start   100.00% 5 0 0   100.00% 2 0   100.00%
src / puzzletree / utils / progress_bar.py StageProgressBar.advance   100.00% 4 0 0   100.00% 2 0   100.00%
src / puzzletree / utils / progress_bar.py StageProgressBar.stop   100.00% 2 0 0   100.00% 2 0   100.00%
src / puzzletree / utils / progress_bar.py (no function)   100.00% 18 0 3   100.00% 0 0   100.00%
src / puzzletree / utils / theme / __init__.py (no function)   100.00% 0 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / theme / terminal_colors.py get_rich_color   100.00% 2 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / theme / terminal_colors.py (no function)   100.00% 1 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / theme / theme.py _create_theme   100.00% 2 0 0   100.00% 0 0   100.00%
src / puzzletree / utils / theme / theme.py set_theme   100.00% 6 0 0   100.00% 4 0   100.00%
src / puzzletree / utils / theme / theme.py (no function)   100.00% 6 0 0   100.00% 0 0   100.00%
Total     88.92% 1254 139 3   73.51% 336 41   85.66%

No items found using the specified filter.