Branch Coverage

blib/lib/IO/All/Base.pm
Criterion Covered Total %
branch 28 46 60.8


line true false branch
11 340 87 if ($flag eq '-base') { }
0 87 elsif ($flag eq -'mixin') { }
24 63 0 $export eq 'io' ? :
33 8 1 if (s/^-//) { }
39 1 0 if $key
72 6 19 @_ ? :
84 1045 5183 if (@_)
88 1259 3924 unless exists *$self->{$field}
97 0 1173 if defined &{"${package}::$field";}
101 3559 6670 unless (exists *$self->{$field})
102 0 3437 ref $default eq 'HASH' ? :
122 3437 ref $default eq 'ARRAY' ? :
107 6239 3990 unless @_
116 0 95 if defined &{"${package}::$field";}
124 0 348 if defined &{"${package}::$proxy";}
130 0 7 wantarray ? :
138 0 356 if defined &{"${package}::$proxy";}
144 0 60 wantarray ? :
153 116 240 @args && $args[0] eq '>' ? :
158 0 0 if $target_class eq 'mixin'
160 0 0 unless my $mixin_class = shift()
181 0 0 $methods{$_} ? :
191 0 0 if defined &{"${class}::$_";}