Branch Coverage

blib/lib/PerlBean/Dependency.pm
Criterion Covered Total %
branch 13 32 40.6


line true false branch
185 142 0 defined $_[0] ? :
188 0 142 unless ref $opt eq 'HASH'
191 142 0 if exists $$opt{'dependency_name'}
194 43 99 if exists $$opt{'volatile'}
204 0 0 unless (exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name})
212 0 142 if (ref $val and exists $ALLOW_ISA{$name})
214 0 0 if &UNIVERSAL::isa($val, $class)
219 0 142 if (ref $val and exists $ALLOW_REF{$name})
220 0 0 if exists $ALLOW_REF{$name}{ref $val}
224 142 0 if (defined $val and not ref $val and exists $ALLOW_RX{$name})
226 142 0 if $val =~ /$rx/
231 0 0 if (not ref $val and exists $ALLOW_VALUE{$name})
232 0 0 if exists $ALLOW_VALUE{$name}{$val}
252 43 198 if ($$self{'PerlBean_Dependency'}{'volatile'}) { }
265 0 142 unless &_value_is_allowed('dependency_name', $val)
274 43 0 if (shift()) { }