Branch Coverage

TZ.xs
Criterion Covered Total %
branch 49 62 79.0


line true false branch
72 16 16 BACKUP_TZ();
16 16 BACKUP_TZ();
76 16 16 RESTORE_TZ();
78 32 0 if (GIMME_V == G_ARRAY) {
16 16 if (GIMME_V == G_ARRAY) {
79 0 16 EXTEND(SP, 9);
104 17 7 if (items < 7 || items > 10)
1 16 if (items < 7 || items > 10)
107 16 0 tz = SvPV_nolen(ST(0));
108 16 0 tm.tm_sec = SvIV(ST(1));
109 16 0 tm.tm_min = SvIV(ST(2));
110 16 0 tm.tm_hour = SvIV(ST(3));
111 16 0 tm.tm_mday = SvIV(ST(4));
112 16 0 tm.tm_mon = SvIV(ST(5));
113 16 0 tm.tm_year = SvIV(ST(6));
118 8 8 BACKUP_TZ();
8 8 BACKUP_TZ();
122 8 8 RESTORE_TZ();
136 62 2 if (unit < 1 || unit > 5)
2 60 if (unit < 1 || unit > 5)
139 30 30 BACKUP_TZ();
30 30 BACKUP_TZ();
143 12 48 if (unit == 5) tm.tm_mon = 0;
144 24 36 if (unit >= 4) tm.tm_mday = 1;
145 36 24 if (unit >= 3) tm.tm_hour = 0;
146 48 12 if (unit >= 2) tm.tm_min = 0;
147 60 0 if (unit >= 1) tm.tm_sec = 0;
149 30 30 RESTORE_TZ();
163 0 7 BACKUP_TZ()
0 7 BACKUP_TZ()
168 7 0 RESTORE_TZ();