Branch Coverage

src/moment_parse.c
Criterion Covered Total %
branch 32 42 76.1


line true false branch
13 66 0 if (!n || n == len)
0 66 if (!n || n == len)
17 62 4 if (!(c == 'T' || c == 't' || c == ' '))
46 16 if (!(c == 'T' || c == 't' || c == ' '))
0 46 if (!(c == 'T' || c == 't' || c == ' '))
24 66 0 if (!n || n == len)
0 66 if (!n || n == len)
27 27 39 if (str[n] == ' ')
34 66 0 if (!n || n != len)
0 66 if (!n || n != len)
51 200 0 if (!n || n == len)
0 200 if (!n || n == len)
59 62 138 if (str[n++] != 'T')
65 123 15 if (extended)
70 137 1 if (!n || n == len)
0 137 if (!n || n == len)
76 122 15 if (extended)
81 135 2 if (!n || n != len)
1 134 if (!n || n != len)
96 66 200 if (lenient)
101 66 200 if (ret != 0)