Branch Coverage

blib/lib/Date/Persian/Simple.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
57 11 0 if $self->has_year
58 11 0 if $self->has_month
59 11 0 if $self->has_day
61 0 11 unless ($self->has_year and $self->has_month and $self->has_day)
110 11 0 $self->year >= 0 ? :
113 9 2 $self->month <= 7 ? :
136 0 2 if ($cyear == 1029982) { }
146 0 2 if ($year <= 0)
152 0 2 $yday <= 186 ? :
220 1 0 $year > 0 ? :
234 0 1 if ($month == 12) { }