LCOV - code coverage report
Current view: top level - src - pngx_reduced.c (source / functions) Coverage Total Hit
Test: colopresso Coverage Report Lines: 85.2 % 1270 1082
Test Date: 2025-12-13 15:41:21 Functions: 100.0 % 56 56
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by function hit count
build_color_frequency 4
enforce_manual_reduced_limit 4
reduce_rgba_custom_bitdepth_dither 4
reduce_rgba_custom_bitdepth_simple 5
compute_auto_trim_limit 6
apply_reduced_rgba32_quantization 7
refine_reduced_palette 7
build_color_histogram 8
color_histogram_reset 8
resolve_reduced_rgba32_target 8
apply_reduced_rgba32_prepass 9
bits_for_level_count 9
collect_alpha_levels 9
pngx_quantize_reduced_rgba32 9
reduce_rgba_custom_bitdepth 9
resolve_reduced_passthrough_threshold 9
tune_reduced_bitdepth 9
histogram_detail_pressure 12
histogram_head_dominance 12
histogram_low_weight_ratio 12
stats_alpha_simplicity 12
stats_flatness_factor 12
count_unique_rgba 13
pack_sorted_rgba 17
compute_grid_capacity 18
head_heap_sift_up 552
head_heap_sift_down 1528
box_find_split_index 4558
select_box_to_split 4558
sort_entries_by_axis 4558
split_color_box 4558
box_representative_color 4565
color_box_refresh 9123
is_protected_color 16937
compare_freq_rank_desc 39229
compare_entries_b 103592
compare_entries_a 144554
compare_color_map_by_mapped 145518
compare_color_map_by_color 152503
compare_entries_g 213350
compare_entries_r 290060
find_freq_index 590848
color_box_detail_bias 952896
color_box_max_span 952896
unpack_rgba_u32 1037047
importance_dither_scale 2424832
process_custom_bitdepth_pixel 2424832
find_color_mapping 2462854
histogram_importance_weight 2491400
color_box_splittable 3202653
resolve_pixel_bits 4983312
pack_rgba_u32 9238467
compare_histogram_sample 39340728
color_distance_sq_u32 47671562
compare_u32 55863128
color_component 381372496

Generated by: LCOV version 2.0-1