GCC Code Coverage Report


Directory: ./
Date: 2026-01-16 15:19:28
Exec Total Coverage
Lines: 74 78 94.9%
Functions: 9 9 100.0%
Branches: 32 54 59.3%

Function (File:Line) Call count Line coverage Branch coverage Condition coverage Block coverage
image_create (image.c:40)called 6 times86.4%81.2%-%93.3%
image_size (image.c:15)called 2 times75.0%50.0%-%75.0%
main (test.c:70)called 1 time100.0%-%-%100.0%
test_image_create_grayscale (test.c:54)called 1 time100.0%50.0%-%80.0%
test_image_create_rgba (test.c:62)called 1 time100.0%50.0%-%80.0%
test_image_create_too_wide (test.c:24)called 1 time100.0%50.0%-%63.6%
test_image_create_wrong_image_type (test.c:44)called 1 time100.0%50.0%-%63.6%
test_image_create_zero_height (test.c:34)called 1 time100.0%50.0%-%63.6%
test_image_create_zero_width (test.c:14)called 1 time100.0%50.0%-%63.6%