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-14 10:51:35
Functions:
100.0 %
56
56
Legend:
Lines:
hit
not hit
Function Name
Hit count
apply_reduced_rgba32_prepass
9
apply_reduced_rgba32_quantization
7
bits_for_level_count
9
box_find_split_index
4558
box_representative_color
4565
build_color_frequency
4
build_color_histogram
8
collect_alpha_levels
9
color_box_detail_bias
952896
color_box_max_span
952896
color_box_refresh
9123
color_box_splittable
3202653
color_component
381372496
color_distance_sq_u32
47671562
color_histogram_reset
8
compare_color_map_by_color
152503
compare_color_map_by_mapped
145518
compare_entries_a
144554
compare_entries_b
103592
compare_entries_g
213350
compare_entries_r
290060
compare_freq_rank_desc
39229
compare_histogram_sample
39340728
compare_u32
55863128
compute_auto_trim_limit
6
compute_grid_capacity
18
count_unique_rgba
13
enforce_manual_reduced_limit
4
find_color_mapping
2462854
find_freq_index
590848
head_heap_sift_down
1528
head_heap_sift_up
552
histogram_detail_pressure
12
histogram_head_dominance
12
histogram_importance_weight
2491400
histogram_low_weight_ratio
12
importance_dither_scale
2424832
is_protected_color
16937
pack_rgba_u32
9238467
pack_sorted_rgba
17
pngx_quantize_reduced_rgba32
9
process_custom_bitdepth_pixel
2424832
reduce_rgba_custom_bitdepth
9
reduce_rgba_custom_bitdepth_dither
4
reduce_rgba_custom_bitdepth_simple
5
refine_reduced_palette
7
resolve_pixel_bits
4983312
resolve_reduced_passthrough_threshold
9
resolve_reduced_rgba32_target
8
select_box_to_split
4558
sort_entries_by_axis
4558
split_color_box
4558
stats_alpha_simplicity
12
stats_flatness_factor
12
tune_reduced_bitdepth
9
unpack_rgba_u32
1037047
Generated by:
LCOV version 2.0-1