Branch Coverage

raw.c
Criterion Covered Total %
branch 50 66 75.7


line true false branch
36 1524 12 if (inbuffer == outbuffer) return; /* Check if data is already in interleaved format */
37 48 12 for (ind=0; ind
38 144 48 for (ch=0; ch
49 1524 12 if (inbuffer == outbuffer)
51 48 12 for(x = 0; x < xsize; x++) {
52 144 48 for (ch = 0; ch < copy_chans; ch++)
54 16 48 for (; ch < storechannels; ch++)
76 7 16 if (intrl != 0 && intrl != 1) {
1 6 if (intrl != 0 && intrl != 1) {
80 22 0 if (storechannels < 1 || storechannels > 4) {
1 21 if (storechannels < 1 || storechannels > 4) {
86 0 21 if (!im)
96 16 5 if (intrl==0) ilbuffer = inbuffer;
99 18 3 if (datachannels==storechannels) exbuffer=ilbuffer;
103 1538 19 while( kysize ) {
105 2 1536 if (rc != inbuflen) {
106 1 1 if (rc < 0)
112 2 0 if (intrl != 0) myfree(ilbuffer);
113 0 2 if (datachannels != storechannels) myfree(exbuffer);
124 3 16 if (intrl != 0) myfree(ilbuffer);
125 3 16 if (datachannels != storechannels) myfree(exbuffer);
141 0 14 if (im == NULL) { mm_log((1,"Image is empty\n")); return(0); }
142 12 2 if (!i_img_virtual(im)) {
144 1 11 if (rc != im->bytes) {
150 2 0 if (im->type == i_direct_type) {
158 302 0 while (rc == line_size && y < im->ysize) {
300 2 while (rc == line_size && y < im->ysize) {
163 0 2 if (rc != line_size) {
177 0 0 while (rc == line_size && y < im->ysize) {
0 0 while (rc == line_size && y < im->ysize) {
178 0 0 i_gpal(im, 0, im->xsize, y, data);
183 0 0 if (rc != line_size) {
190 3 10 if (i_io_close(ig))