GCC Code Coverage Report


Directory: ./
Date: 2025-03-05 16:06:48
Exec Total Coverage
Lines: 987 1137 86.8%
Functions: 84 86 97.7%
Branches: 579 731 79.2%

Function (File:Line) Call count Line coverage Branch coverage Condition coverage Block coverage
apply_current (alloc.c:612)called 1286 times92.3%91.7%-%93.8%
calculate_best_possible_score (alloc.c:453)called 285 times100.0%100.0%-%100.0%
check_alloc_valid (alloc.c:391)called 85 times75.0%90.0%-%81.8%
check_bitmask_prop (plane.c:236)called 3 times100.0%100.0%-%100.0%
check_deadline (alloc.c:116)called 405 times60.0%50.0%-%77.8%
check_enum_prop (plane.c:223)called 3 times100.0%100.0%-%100.0%
check_freed_planes (alloc.c:1016)called 79 times50.0%37.5%-%57.1%
check_layer_plane_compatible (alloc.c:312)called 676 times90.9%92.3%-%93.5%
check_plane_output_compatible (alloc.c:422)called 814 times80.0%75.0%-%80.0%
check_range_prop (plane.c:214)called 4 times100.0%75.0%-%100.0%
check_signed_range_prop (plane.c:253)called 4 times100.0%75.0%-%100.0%
core_property_index (device.c:127)called 5573 times100.0%100.0%-%100.0%
count_remaining_compatible_planes (alloc.c:434)called 285 times100.0%66.7%-%100.0%
device_test_commit (device.c:102)called 1532 times87.5%41.7%-%61.5%
fb_info_needs_realloc (alloc.c:653)called 2441 times100.0%62.5%-%100.0%
fp16_to_double (output.c:75)called 704 times100.0%-%-%100.0%
guess_plane_zpos_from_type (plane.c:10)called 146 times85.7%75.0%-%81.8%
has_allocated_layer_over (alloc.c:234)called 8 times85.7%75.0%-%85.7%
has_allocated_plane_under (alloc.c:281)called 303 times100.0%91.7%-%100.0%
has_composited_layer_over (alloc.c:202)called 354 times92.9%91.7%-%94.4%
is_layer_allocated (alloc.c:187)called 2157 times100.0%100.0%-%100.0%
layer_add_candidate_plane (layer.c:392)called 333 times100.0%90.0%-%92.3%
layer_cache_fb_info (layer.c:322)called 2600 times63.0%55.0%-%58.6%
layer_get_core_property (layer.c:65)called 43182 times100.0%100.0%-%100.0%
layer_get_prev_rect (layer.c:215)called 5 times100.0%50.0%-%76.5%
layer_get_property (layer.c:77)called 2558 times100.0%100.0%-%100.0%
layer_get_rect (layer.c:199)called 3739 times100.0%50.0%-%76.5%
layer_has_fb (layer.c:296)called 8158 times100.0%100.0%-%100.0%
layer_intersection_changed (alloc.c:666)called 2 times100.0%100.0%-%100.0%
layer_intersects (layer.c:238)called 1875 times100.0%75.0%-%100.0%
layer_is_higher_priority (alloc.c:786)called 1388 times91.3%70.0%-%85.2%
layer_is_visible (layer.c:305)called 8083 times100.0%100.0%-%100.0%
layer_mark_clean (layer.c:253)called 2600 times100.0%100.0%-%100.0%
layer_needs_realloc (alloc.c:692)called 2444 times97.7%93.2%-%97.8%
layer_reset_candidate_planes (layer.c:412)called 186 times100.0%-%-%100.0%
layer_update_priority (layer.c:278)called 2600 times100.0%100.0%-%100.0%
liftoff_device_create (device.c:9)called 57 times55.9%50.0%-%48.3%
liftoff_device_destroy (device.c:63)called 57 times87.5%75.0%-%88.9%
liftoff_device_register_all_planes (device.c:80)called 56 times70.0%66.7%-%76.9%
liftoff_layer_create (layer.c:10)called 140 times68.8%66.7%-%66.7%
liftoff_layer_destroy (layer.c:37)called 1 time56.2%50.0%-%66.7%
liftoff_layer_get_plane (layer.c:184)called 73 times100.0%-%-%100.0%
liftoff_layer_is_candidate_plane (layer.c:377)called 2 times100.0%100.0%-%100.0%
liftoff_layer_needs_composition (layer.c:190)called 49 times100.0%100.0%-%100.0%
liftoff_layer_set_fb_composited (layer.c:171)called 1 time83.3%50.0%-%80.0%
liftoff_layer_set_property (layer.c:96)called 2557 times76.9%75.0%-%70.6%
liftoff_layer_unset_property (layer.c:144)called 1 time85.7%50.0%-%80.0%
liftoff_list_empty (list.c:58)called 52 times100.0%-%-%100.0%
liftoff_list_init (list.c:4)called 171 times100.0%-%-%100.0%
liftoff_list_insert (list.c:11)called 453 times100.0%-%-%100.0%
liftoff_list_length (list.c:42)called 156 times100.0%100.0%-%100.0%
liftoff_list_remove (list.c:20)called 280 times100.0%-%-%100.0%
liftoff_list_swap (list.c:29)called 36 times100.0%-%-%100.0%
liftoff_log (log.c:39)called 3373 times100.0%100.0%-%100.0%
liftoff_log_errno (log.c:53)not called0.0%-%-%0.0%
liftoff_log_set_handler (log.c:24)not called0.0%0.0%-%0.0%
liftoff_log_set_priority (log.c:18)called 57 times100.0%-%-%100.0%
liftoff_output_apply (alloc.c:1043)called 1284 times89.2%68.8%-%83.1%
liftoff_output_create (output.c:9)called 57 times88.2%50.0%-%76.9%
liftoff_output_destroy (output.c:39)called 23 times80.0%50.0%-%80.0%
liftoff_output_needs_composition (output.c:61)called 23 times100.0%100.0%-%100.0%
liftoff_output_set_composition_layer (output.c:50)called 6 times100.0%50.0%-%83.3%
liftoff_plane_create (plane.c:38)called 148 times64.9%75.0%-%67.2%
liftoff_plane_destroy (plane.c:168)called 148 times90.9%83.3%-%91.7%
liftoff_plane_get_id (plane.c:191)called 44 times100.0%-%-%100.0%
log_has (log.c:33)called 3452 times100.0%-%-%100.0%
log_no_reuse (alloc.c:984)called 79 times100.0%100.0%-%100.0%
log_priority (layer.c:266)called 40 times100.0%100.0%-%100.0%
log_reuse (alloc.c:973)called 1205 times100.0%100.0%-%100.0%
log_stderr (log.c:9)called 3336 times100.0%-%-%100.0%
mark_layers_clean (alloc.c:924)called 1284 times100.0%100.0%-%100.0%
non_composition_layers_length (alloc.c:999)called 79 times100.0%100.0%-%100.0%
output_choose_layers (alloc.c:485)called 401 times86.2%71.4%-%85.1%
output_log_layers (output.c:81)called 79 times100.0%100.0%-%100.0%
plane_apply (plane.c:372)called 1661 times84.2%75.0%-%84.6%
plane_check_layer_fb (plane.c:321)called 328 times92.6%72.7%-%87.0%
plane_get_property (plane.c:197)called 14772 times100.0%100.0%-%100.0%
plane_set_prop (plane.c:263)called 16446 times87.5%81.8%-%81.0%
plane_step_init_next (alloc.c:129)called 322 times96.9%91.7%-%92.6%
rect_intersects (layer.c:231)called 1873 times100.0%75.0%-%100.0%
reuse_previous_alloc (alloc.c:879)called 1284 times95.0%91.7%-%95.5%
set_plane_core_prop (plane.c:304)called 1687 times66.7%50.0%-%60.0%
timespec_to_nsec (alloc.c:108)called 810 times100.0%-%-%100.0%
update_layers_fb_info (alloc.c:956)called 1284 times100.0%100.0%-%100.0%
update_layers_order (alloc.c:843)called 1284 times100.0%100.0%-%100.0%
update_layers_priority (alloc.c:936)called 1284 times100.0%100.0%-%100.0%