Branch Coverage

erfasrc/src/dat.c
Criterion Covered Total %
branch 10 18 55.5


line true false branch
207 4 0 if (fd < 0.0 || fd > 1.0) return -4;
4 0 if (fd < 0.0 || fd > 1.0) return -4;
213 4 0 if (j < 0) return j;
216 4 0 if (iy < changes[0].iyear) return 1;
219 0 4 if (iy > IYV + 5) j = 1;
225 32 0 for (i = NDAT-1; i >=0; i--) {
226 28 4 if (m >= (12 * changes[i].iyear + changes[i].month)) break;
230 4 0 if (i < 0) return -5;
236 0 4 if (i < NERA1) da += (djm + fd - drift[i][0]) * drift[i][1];