Branch Coverage

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


line true false branch
51 34923 4669 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
16351 18572 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
18563 9 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
4669 9 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
68891 9872 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
41363 27528 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
27521 7 __PTIME_TRANS_BINFIND(local_epoch, PTIME_ANY_BORDER);
9872 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 4670 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 9879 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 1141 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 3371 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 6 1135 if (!zone->future.hasdst) {
2511 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) {