Branch Coverage

src/panda/time/timeany_impl.icc
Criterion Covered Total %
branch 80 148 54.0


line true false branch
51 34931 4670 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
16355 18576 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
18567 9 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
4670 9 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
68883 9871 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
41360 27523 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
27516 7 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
9871 7 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
117 11 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
27 90 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
82 8 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
11 8 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
24 4 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
16 8 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
8 0 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
4 0 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
52 8 4671 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
5 3 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
3 2 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 5 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 9878 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
8 11 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
5 3 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
3 2 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 5 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
3 5 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 4 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->trans[index]);
54 0 11 if (local_epoch >= zone->trans[index].local_end) {
4 0 if (local_epoch >= zone->trans[index].local_end) {
71 0 1139 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 3373 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 2 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 5 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
0 0 PTIME_ANY_LEAPSEC_CORR(zone->ltrans);
73 4 1135 if (!zone->future.hasdst) {
2513 860 if (!zone->future.hasdst) {
1 1 if (!zone->future.hasdst) {
0 5 if (!zone->future.hasdst) {
94 882 253 return PTIME_ANY_INNER ? inner_epoch : outer_epoch;
630 252 return PTIME_ANY_INNER ? inner_epoch : outer_epoch;
673 187 return PTIME_ANY_INNER ? inner_epoch : outer_epoch;
484 189 return PTIME_ANY_INNER ? inner_epoch : outer_epoch;
96 1 0 if (PTIME_ANY_INNER) {
2 1 if (PTIME_ANY_INNER) {
97 0 0 if (zone->future.delta < 0 && inner_epoch >= inborder) {
0 0 if (zone->future.delta < 0 && inner_epoch >= inborder) {
2 0 if (zone->future.delta < 0 && inner_epoch >= inborder) {
2 0 if (zone->future.delta < 0 && inner_epoch >= inborder) {
110 1 0 else if (zone->future.delta > 0 && inner_epoch < outborder && outer_epoch >= outborder) {
0 1 else if (zone->future.delta > 0 && inner_epoch < outborder && outer_epoch >= outborder) {
0 0 else if (zone->future.delta > 0 && inner_epoch < outborder && outer_epoch >= outborder) {
2 1 else if (zone->future.delta > 0 && inner_epoch < outborder && outer_epoch >= outborder) {
2 0 else if (zone->future.delta > 0 && inner_epoch < outborder && outer_epoch >= outborder) {
2 0 else if (zone->future.delta > 0 && inner_epoch < outborder && outer_epoch >= outborder) {