Branch Coverage

blib/lib/MyLibrary/Patron/Links.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
118 0 0 if ($opts{'id'})
123 0 0 if (ref $rv eq 'HASH') { }
135 0 0 if ($name) { }
143 0 0 if ($url) { }
144 0 0 unless ($url =~ /^http:.+/)
159 0 0 if ($patron_id) { }
161 0 0 unless (scalar @patron_array)
187 0 0 if ($self->link_id) { }
191 0 0 if ($return > 1 or not $return)
197 0 0 if ($return > 1 or not $return)
210 0 0 unless ($opts{'patron_id'} =~ /^\d+$/)
218 0 0 unless (scalar @patron_array)
224 0 0 unless (scalar @{$link_ids;})
236 0 0 if ($self->link_id)
240 0 0 if ($rv != 1)