Branch Coverage

File:blib/lib/Sub/Prototype/Util.pm
Coverage:100.0%

line%coveragebranch
54100TFif (not defined $a or not defined($r = reftype $a))
55100TFdefined $a ? :
58100TFunless exists $sigils{$r} and $p =~ /\Q$sigils{$r}\E/
79100TFunless defined $proto
83100TFif ($1) { }
100TFelsif ($p =~ /[\@\%]/) { }
86100TF$r eq 'GLOB' ? :
100TF$r eq 'HASH' ? :
100TF$r eq 'ARRAY' ? :
100TF$r eq 'SCALAR' ? :
102100TFunless @_
164100TFif $p =~ /^\[([^\]]+)\]/
166100TFif ($ref) { }
100TFelsif ($p =~ /[\@\%]/) { }
100TFelsif ($p =~ /\&/) { }
100TFelsif ($p eq '_') { }
167100TFif (length $p > 1) { }
186100TFif (not exists $h{$i}) { }
206100TFunless $name
209100TFif (not $r) { }
100TFelsif ($r eq 'HASH') { }
212100TFunless keys %$name == 1
224100TFif @_ % 2
227100TFif not defined $opts{'sub'}
228100TFif not defined $opts{'compile'} and $opts{'sub'}
229100TFif not defined $opts{'wrong_ref'}
232100TFif (defined $proto) { }
237100TFif (@cr)
243100TFif $opts{'sub'}
244100TFif ($opts{'compile'})
246100TFif $@
267100TFif $@