Branch Coverage

blib/lib/Toolforge/MixNMatch/Print/Catalog.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
16 1 5 unless (defined $obj)
19 1 4 unless ($obj->isa('Toolforge::MixNMatch::Object::Catalog'))
23 4 0 unless (defined $opts_hr)
34 4 0 $opts_hr->{'type'} ? :
4 0 $opts_hr->{'count'} ? :
39 2 2 if ($opts_hr->{'year_months'} and @{$obj->year_months;})
43 0 0 unless $a->year <=> $b->year
51 2 2 if ($opts_hr->{'users'} and @{$obj->users;})
61 0 4 wantarray ? :