Branch Coverage

lib/Date/Holidays/Adapter/Local.pm
Criterion Covered Total %
branch 3 14 21.4


line true false branch
26 1 0 if (-r $local_holiday_file)
34 0 1 if ($params{'date'} and $params{'month'} and $params{'year'}) { }
38 0 0 if ($key =~ /^(\d{4})(\d{2})(\d{2})$/ and $1 == $params{'year'} and $2 == $params{'month'} and $3 == $params{'day'}) { }
0 0 elsif ($key =~ /^(\d{2})(\d{2})$/ and $1 == $params{'month'} and $2 == $params{'day'}) { }
68 0 0 if (defined $holidays->{$key})
76 0 0 if (defined $holidays->{$key})
89 1 0 if (-e $Date::Holidays::Adapter::Local::HOLIDAYS_FILE and -f _)