Branch Coverage

blib/lib/Date/Holidays/CA.pm
Criterion Covered Total %
branch 12 34 35.2


line true false branch
62 1 3 if scalar @_ != 2
66 2 1 if (exists $self->{$field})
76 0 32 if scalar @_ != 2
83 42 0 if ($new_value = _validate($field, $value))
94 0 0 is_ca_holiday(@_) ? :
101 0 0 if ref $_[0]
110 0 0 unless (defined $self)
118 0 0 if ($month == $holiday_dt->month and $day == $holiday_dt->day)
132 0 0 ref $_ eq 'DateTime' ? :
160 19 0 if ref $_[0]
165 0 19 unless (defined $self)
198 0 45 unless @valid_values
201 42 92 if uc $value eq $valid_value
443 0 0 $self->{'language'} eq 'FR/EN' ? :
0 0 $self->{'language'} eq 'EN/FR' ? :
0 0 $self->{'language'} eq 'FR' ? :
228 0 $self->{'language'} eq 'EN' ? :