Branch Coverage

blib/lib/App/calendr.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
121 0 0 if (defined $cal)
125 0 0 if ($inst_ver >= $min_ver) { }
162 0 0 unless defined $supported_cal
166 0 0 unless (defined $calendar)
168 0 0 if (exists $$FAILED_CALENDARS{$supported_cal->{'name'}})
178 0 0 if (defined $month or defined $year) { }
0 0 elsif (defined $self->gdate) { }
0 0 elsif (defined $self->jday) { }
0 0 elsif (defined $self->list_month_names) { }
179 0 0 if (defined $month) { }
180 0 0 unless defined $year
183 0 0 if defined $year
186 0 0 if (defined $month)
187 0 0 if (ref $calendar eq 'Calendar::Hebrew') { }
193 0 0 if ($month =~ /^[A-Z]+$/i)
199 0 0 if (defined $year)
206 0 0 unless $gdate =~ /^\d{4}\-\d{2}\-\d{2}$/
210 0 0 if print $calendar->from_gregorian($year, $month, $day)
214 0 0 unless $julian_day =~ /^\d+\.?\d?$/
217 0 0 if print $calendar->from_julian($julian_day)
222 0 0 if print join("\n", @$month_names), "\n"
225 0 0 if (defined $self->as_svg) { }
236 0 0 unless defined $name
239 0 0 if exists $self->{'calendars'}{$cal_pkg}
249 0 0 unless defined $plugin
253 0 0 if $calendars->{$key}{'name'} eq $plugin