Branch Coverage

blib/lib/Anansi/Component.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
207 0 0 unless ref($self) =~ /^$/
208 0 0 if 0 == scalar keys %parameters
210 0 0 if (not ref($key) =~ /^$/) { }
0 0 elsif (ref($parameters{$key}) =~ /^CODE$/i) { }
0 0 elsif (not ref($parameters{$key}) =~ /^$/) { }
0 0 elsif ($parameters{$key} =~ /^[a-zA-Z]+[a-zA-Z0-9_]*(::[a-zA-Z]+[a-zA-Z0-9_]*)*$/) { }
216 0 0 if (exists &{$parameters{$key};}) { }
0 0 elsif (exists &{$package . '::' . $parameters{$key};}) { }
225 0 0 unless defined $CHANNELS{$package}
227 0 0 if (ref($parameters{$key}) =~ /^CODE$/i) { }
0 0 elsif ($parameters{$key} =~ /^[a-zA-Z]+[a-zA-Z0-9_]*(::[a-zA-Z]+[a-zA-Z0-9_]*)*$/) { }
233 0 0 if (exists &{$parameters{$key};}) { }
293 0 0 if 'Anansi::Component' eq $self
295 0 0 unless ref($self) =~ /^$/
296 0 0 if (0 == scalar @_)
297 0 0 unless defined $CHANNELS{$package}
301 0 0 unless ref($channel) =~ /^$/
302 0 0 unless defined $CHANNELS{$package}
303 0 0 unless defined ${$CHANNELS{$package};}{$channel}
333 0 0 unless ref($package) =~ /^$/
334 0 0 if ('Anansi::Component' eq $package)
338 0 0 if 'Anansi::ComponentManager' eq $module
340 0 0 unless eval { do { $module->isa('Anansi::ComponentManager') } }
346 0 0 if scalar @namespaces < 2
351 0 0 unless eval { do { $namespace->isa('Anansi::ComponentManager') } }
394 0 0 unless ref($self) =~ /^$/
395 0 0 if 0 == scalar @parameters
396 0 0 unless defined $CHANNELS{$package}
398 0 0 unless defined ${$CHANNELS{$package};}{$key}