Branch Coverage

blib/lib/autodie/hints.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
330 0 0 unless not @_
336 0 0 unless not @_
340 7 0 if @_ == 1
400 0 30 unless (defined $package)
409 21 9 if $Hints_loaded{$package}++
416 3 6 if ($package->can('DOES') and $package->DOES('autodie::hints::provider')) { }
2 4 elsif (${"${package}::DOES";}{'autodie::hints::provider'}) { }
427 4 5 unless $hints_available
436 15 0 unless $sub =~ /::/
451 6 18 if (exists $$hints{$sub}{'fail'})
453 0 6 if (exists $$hints{$sub}{'scalar'} or exists $$hints{$sub}{'list'})
474 0 36 unless (exists $$hints{$sub}{$hint})
492 59 30 if (exists $Hints{$subname})
502 5 25 if (exists $Hints{$subname})
516 8 1 if (ref $sub)
521 0 8 unless $sub
524 0 9 if ($DEBUG)