Branch Coverage

src/dt_valid.c
Criterion Covered Total %
branch 12 36 33.3


line true false branch
31 9 0 return (d >= 1 && (d <= 365 || d == dt_days_in_year(y)));
0 9 return (d >= 1 && (d <= 365 || d == dt_days_in_year(y)));
0 0 return (d >= 1 && (d <= 365 || d == dt_days_in_year(y)));
36 248 0 return ((m >= 1 && m <= 12) &&
248 0 return ((m >= 1 && m <= 12) &&
248 0 return ((m >= 1 && m <= 12) &&
37 7 241 (d >= 1 && (d <= 28 || d <= dt_days_in_month(y, m))));
7 0 (d >= 1 && (d <= 28 || d <= dt_days_in_month(y, m))));
42 0 0 return ((q >= 1 && q <= 4) &&
0 0 return ((q >= 1 && q <= 4) &&
0 0 return ((q >= 1 && q <= 4) &&
43 0 0 (d >= 1 && (d <= 90 || d <= dt_days_in_quarter(y, q))));
0 0 (d >= 1 && (d <= 90 || d <= dt_days_in_quarter(y, q))));
48 9 0 return ((d >= 1 && d <= 7) &&
9 0 return ((d >= 1 && d <= 7) &&
9 0 return ((d >= 1 && d <= 7) &&
49 0 9 (w >= 1 && (w <= 52 || w == dt_weeks_in_year(y))));
0 0 (w >= 1 && (w <= 52 || w == dt_weeks_in_year(y))));