GCC Code Coverage Report


Directory: ./
Date: 2025-02-19 14:16:04
Exec Total Coverage
Lines: 977 1114 87.7%
Functions: 83 86 96.5%
Branches: 573 719 79.7%

Function (File:Line) Call count Line coverage Branch coverage Condition coverage Block coverage
apply_current (alloc.c:611)called 1286 times92.3%91.7%-%93.8%
calculate_best_possible_score (alloc.c:452)called 285 times100.0%100.0%-%100.0%
check_alloc_valid (alloc.c:390)called 85 times75.0%90.0%-%81.8%
check_bitmask_prop (plane.c:224)called 3 times100.0%100.0%-%100.0%
check_deadline (alloc.c:115)called 405 times60.0%50.0%-%77.8%
check_enum_prop (plane.c:211)called 3 times100.0%100.0%-%100.0%
check_layer_plane_compatible (alloc.c:311)called 676 times90.9%92.3%-%93.5%
check_plane_output_compatible (alloc.c:421)called 814 times80.0%75.0%-%80.0%
check_range_prop (plane.c:202)called 4 times100.0%75.0%-%100.0%
check_signed_range_prop (plane.c:241)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:433)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:652)called 2441 times100.0%62.5%-%100.0%
fp16_to_double (output.c:88)called 704 times100.0%-%-%100.0%
guess_plane_zpos_from_type (plane.c:9)called 146 times85.7%75.0%-%81.8%
has_allocated_layer_over (alloc.c:233)called 8 times85.7%75.0%-%85.7%
has_allocated_plane_under (alloc.c:280)called 303 times100.0%91.7%-%100.0%
has_composited_layer_over (alloc.c:201)called 354 times92.9%91.7%-%94.4%
is_layer_allocated (alloc.c:186)called 2157 times100.0%100.0%-%100.0%
layer_add_candidate_plane (layer.c:384)called 333 times100.0%90.0%-%92.3%
layer_cache_fb_info (layer.c:314)called 2600 times63.0%55.0%-%58.6%
layer_get_core_property (layer.c:57)called 43182 times100.0%100.0%-%100.0%
layer_get_prev_rect (layer.c:207)called 5 times100.0%50.0%-%76.5%
layer_get_property (layer.c:69)called 2558 times100.0%100.0%-%100.0%
layer_get_rect (layer.c:191)called 3739 times100.0%50.0%-%76.5%
layer_has_fb (layer.c:288)called 8158 times100.0%100.0%-%100.0%
layer_intersection_changed (alloc.c:665)called 2 times100.0%100.0%-%100.0%
layer_intersects (layer.c:230)called 1875 times100.0%75.0%-%100.0%
layer_is_higher_priority (alloc.c:785)called 1388 times91.3%70.0%-%85.2%
layer_is_visible (layer.c:297)called 8083 times100.0%100.0%-%100.0%
layer_mark_clean (layer.c:245)called 2600 times100.0%100.0%-%100.0%
layer_needs_realloc (alloc.c:691)called 2444 times97.7%93.2%-%97.8%
layer_reset_candidate_planes (layer.c:404)called 186 times100.0%-%-%100.0%
layer_update_priority (layer.c:270)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 time75.0%50.0%-%66.7%
liftoff_layer_get_plane (layer.c:176)called 73 times100.0%-%-%100.0%
liftoff_layer_is_candidate_plane (layer.c:369)called 2 times100.0%100.0%-%100.0%
liftoff_layer_needs_composition (layer.c:182)called 49 times100.0%100.0%-%100.0%
liftoff_layer_set_fb_composited (layer.c:163)called 1 time83.3%50.0%-%80.0%
liftoff_layer_set_property (layer.c:88)called 2557 times76.9%75.0%-%70.6%
liftoff_layer_unset_property (layer.c:136)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:1015)called 1284 times91.9%70.5%-%85.9%
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_notify_pageflip (output.c:75)not called0.0%0.0%-%0.0%
liftoff_output_set_composition_layer (output.c:50)called 6 times100.0%50.0%-%83.3%
liftoff_plane_create (plane.c:37)called 148 times69.6%80.0%-%71.0%
liftoff_plane_destroy (plane.c:156)called 148 times90.9%83.3%-%91.7%
liftoff_plane_get_id (plane.c:179)called 44 times100.0%-%-%100.0%
log_has (log.c:33)called 3452 times100.0%-%-%100.0%
log_no_reuse (alloc.c:983)called 79 times100.0%100.0%-%100.0%
log_priority (layer.c:258)called 40 times100.0%100.0%-%100.0%
log_reuse (alloc.c:972)called 1205 times100.0%100.0%-%100.0%
log_stderr (log.c:9)called 3336 times100.0%-%-%100.0%
mark_layers_clean (alloc.c:923)called 1284 times100.0%100.0%-%100.0%
non_composition_layers_length (alloc.c:998)called 79 times100.0%100.0%-%100.0%
output_choose_layers (alloc.c:484)called 401 times86.2%71.4%-%85.1%
output_log_layers (output.c:94)called 79 times100.0%100.0%-%100.0%
plane_apply (plane.c:360)called 1661 times84.2%75.0%-%84.6%
plane_check_layer_fb (plane.c:309)called 328 times92.6%72.7%-%87.0%
plane_get_property (plane.c:185)called 14772 times100.0%100.0%-%100.0%
plane_set_prop (plane.c:251)called 16446 times87.5%81.8%-%81.0%
plane_step_init_next (alloc.c:128)called 322 times96.9%91.7%-%92.6%
rect_intersects (layer.c:223)called 1873 times100.0%75.0%-%100.0%
reuse_previous_alloc (alloc.c:878)called 1284 times95.0%91.7%-%95.5%
set_plane_core_prop (plane.c:292)called 1687 times66.7%50.0%-%60.0%
timespec_to_nsec (alloc.c:107)called 810 times100.0%-%-%100.0%
update_layers_fb_info (alloc.c:955)called 1284 times100.0%100.0%-%100.0%
update_layers_order (alloc.c:842)called 1284 times100.0%100.0%-%100.0%
update_layers_priority (alloc.c:935)called 1284 times100.0%100.0%-%100.0%