Branch Coverage

blib/lib/MyLibrary/Review.pm
Criterion Covered Total %
branch 13 28 46.4


line true false branch
220 0 1 if ($opts{'id'})
223 0 0 if ($opts{'id'} =~ /\D/)
238 0 0 unless ref $rv eq 'HASH'
265 1 1 if ($review)
279 1 1 if ($reviewer_name)
293 1 1 if ($reviewer_email)
308 1 1 if ($date)
322 1 1 if ($review_rating)
336 1 1 if ($resource_id)
353 0 0 if ($self->review_id) { }
357 0 0 if ($return > 1 or not $return)
368 0 0 if ($return > 1 or not $return)
385 0 0 unless $$self{'review_id'}
390 0 0 if ($rv != 1)