Branch Coverage

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


line true false branch
19 6 6 wantarray ? :
25 12 8 if (@_ == 1) { }
2 6 elsif (@_ == 3) { }
5 1 elsif (@_ == 6) { }
28 5 7 if (&reftype($param) and &reftype($param) eq 'HASH') { }
1 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 1 if exists $param->{'year'} and exists $param->{'month'} and exists $param->{'day'}
54 2 1 if exists $hashref->{'year'} and exists $hashref->{'month'} and exists $hashref->{'day'}