Branch Coverage

lib/PDL/Image2D/rotate.c
Criterion Covered Total %
branch 0 90 0.0


line true false branch
35 0 0 if ((arr = malloc(sizeof(imT)*cols*rows)) == NULL)
45 0 0 if ( fangle < -90.0 || fangle > 90.0 )
0 0 if ( fangle < -90.0 || fangle > 90.0 )
51 0 0 if ( xshearfac < 0.0 )
54 0 0 if ( yshearfac < 0.0 )
80 0 0 if ( fangle < -90.0 || fangle > 90.0 )
0 0 if ( fangle < -90.0 || fangle > 90.0 )
86 0 0 if ( xshearfac < 0.0 )
89 0 0 if ( yshearfac < 0.0 )
100 0 0 if (nc != newcols || nr != newrows)
0 0 if (nc != newcols || nr != newrows)
105 0 0 for ( row = 0; row < rows; ++row )
108 0 0 if ( fangle > 0 )
114 0 0 if ( antialias )
120 0 0 col < tempcols; ++col, ++nxP )
125 0 0 col < cols; ++col, ++nxP, ++xP )
131 0 0 if ( fracnew0 > 0 && intnew0 + cols < tempcols )
0 0 if ( fracnew0 > 0 && intnew0 + cols < tempcols )
141 0 0 col < intnew0; ++col, ++nxP )
143 0 0 for ( col = 0, xP = xelrow; col < cols; ++col, ++nxP, ++xP )
145 0 0 for ( col = intnew0 + cols; col < tempcols; ++col, ++nxP )
151 0 0 for ( col = 0; col < tempcols; ++col )
153 0 0 if ( fangle > 0 )
162 0 0 for ( row = 0; row < newrows; ++row )
165 0 0 if ( antialias )
168 0 0 for ( row = 0; row < rows; ++row )
171 0 0 if ( new >= 0 && new < newrows )
0 0 if ( new >= 0 && new < newrows )
181 0 0 if ( fracnew0 > 0 && intnew0 + rows < newrows )
0 0 if ( fracnew0 > 0 && intnew0 + rows < newrows )
190 0 0 for ( row = 0; row < rows; ++row )
193 0 0 if ( new >= 0 && new < newrows )
0 0 if ( new >= 0 && new < newrows )
200 0 0 for ( row = 0; row < newrows; ++row )
203 0 0 if ( fangle > 0 )
212 0 0 for ( col = 0, nxP = newxelrow; col < newcols; ++col, ++nxP )
215 0 0 if ( antialias )
219 0 0 col < tempcols; ++col, ++xP )
222 0 0 if ( new >= 0 && new < newcols )
0 0 if ( new >= 0 && new < newcols )
231 0 0 if ( fracnew0 > 0 && intnew0 + tempcols < newcols )
0 0 if ( fracnew0 > 0 && intnew0 + tempcols < newcols )
242 0 0 col < tempcols; ++col, ++xP )
245 0 0 if ( new >= 0 && new < newcols )
0 0 if ( new >= 0 && new < newcols )