Branch Coverage

blib/lib/Date/QuarterOfYear.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
19 6 6 wantarray ? :
25 8 4 if (@_ == 1) { }
2 2 elsif (@_ == 3) { }
2 0 elsif (@_ == 6) { }
28 2 6 if (&reftype($param) and &reftype($param) eq 'HASH') { }
0 6 elsif (&reftype($param)) { }
4 2 elsif ($param =~ /^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$/) { }
31 2 0 if exists $param->{'year'} and exists $param->{'month'} and exists $param->{'day'}
54 2 0 if exists $hashref->{'year'} and exists $hashref->{'month'} and exists $hashref->{'day'}