Branch Coverage

blib/lib/DateTime/Fiscal/Year.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
41 8 32 $$self{'start'}->is_leap_year ? :
44 36 4 if ($doy >= $offset) { }
57 1 9 $wofy == int $wofy ? :
58 4 6 if ($wofy == 53)
74 2 0 if ($$self{'number_of_fiscal_periods'} == 12)
76 0 2 if $$self{'start'}->month == 1
79 0 2 if ($$self{'number_of_fiscal_periods'} == 13)
91 1 0 if ($$self{'number_of_fiscal_periods'} == 12)
95 0 0 if ($$self{'number_of_fiscal_periods'} == 13)
103 2 0 if ($$self{'number_of_fiscal_periods'} == 12)
104 0 2 $$self{'start'}->is_leap_year ? :
116 0 2 if ($$self{'number_of_fiscal_periods'} == 13)
122 0 0 if ($counter == 4)
134 2 18 if $$self{'fiscal_periods'}[$index - 1] < $self->day_of_fiscal_year(@_)