Branch Coverage

Nanos.xs
Criterion Covered Total %
branch 18 24 75.0


line true false branch
24 0 11 if (clock_gettime(clock_id, &ts) != 0) {
72 7 5 if (items > 0 && SvTRUE(ST(0))) {
2 5 if (items > 0 && SvTRUE(ST(0))) {
76 6 6 if (items > 1 && SvOK(ST(1))) {
6 0 if (items > 1 && SvOK(ST(1))) {
79 1 5 if (len == 9 && strnEQ(clock_name, "monotonic", 9)) {
1 0 if (len == 9 && strnEQ(clock_name, "monotonic", 9)) {
81 4 1 } else if (len == 8 && strnEQ(clock_name, "realtime", 8)) {
4 0 } else if (len == 8 && strnEQ(clock_name, "realtime", 8)) {
90 2 9 if (want_list) {
91 0 2 EXTEND(SP, 2);
95 0 9 EXTEND(SP, 1);