Branch Coverage

blib/lib/MyLibrary/Stylesheet.pm
Criterion Covered Total %
branch 8 30 26.6


line true false branch
124 0 1 if ($opts{'id'}) { }
0 1 elsif ($opts{'name'}) { }
128 0 0 if (ref $rv eq 'HASH') { }
137 0 0 if (ref $rv eq 'HASH') { }
150 1 1 if ($name) { }
158 1 1 if ($desc) { }
166 1 1 if ($sheet) { }
182 0 0 if ($self->stylesheet_id) { }
186 0 0 if ($return > 1 or not $return)
192 0 0 if ($return > 1 or not $return)
208 0 0 if (defined $opts{'sort'})
209 0 0 if ($opts{'sort'} eq 'name')
216 0 0 if ($opts{'sort'}) { }
231 0 0 if ($self->stylesheet_id)
236 0 0 if (scalar @patron_ids >= 1)