Branch Coverage

blib/lib/Anansi/Library.pm
Criterion Covered Total %
branch 0 104 0.0


line true false branch
100 0 0 unless ref($abstract) =~ /^$/
101 0 0 unless $abstract =~ /[a-zA-Z]+[a-zA-Z0-9_]*(::[a-zA-Z]+[a-zA-Z0-9_]*)+$/
108 0 0 unless ref($key) =~ /^$/
109 0 0 unless $key =~ /^[a-zA-Z_]*[a-zA-Z0-9_]+$/
110 0 0 if 'NAMESPACE' eq $key
111 0 0 if (ref($parameters{$key}) =~ /^CODE$/i) { }
0 0 elsif (not ref($parameters{$key}) =~ /^$/i) { }
0 0 elsif ($parameters{$key} =~ /^[a-zA-Z]+[a-zA-Z0-9_]*(::[a-zA-Z]+[a-zA-Z0-9_]*)+$/) { }
119 0 0 if (exists &{$parameters{$key};}) { }
178 0 0 unless ref($abstract) =~ /^$/
179 0 0 unless $abstract =~ /[a-zA-Z]+[a-zA-Z0-9_]*(::[a-zA-Z]+[a-zA-Z0-9_]*)+$/
184 0 0 unless ref($key) =~ /^$/
185 0 0 unless $key =~ /^[a-zA-Z_]*[a-zA-Z0-9_]+$/
186 0 0 if 'NAMESPACE' eq $key
187 0 0 if (ref($parameters{$key}) =~ /^CODE$/i) { }
0 0 elsif (not ref($parameters{$key}) =~ /^$/i) { }
0 0 elsif ($parameters{$key} =~ /^[a-zA-Z]+[a-zA-Z0-9_]*(::[a-zA-Z]+[a-zA-Z0-9_]*)+$/) { }
192 0 0 if (exists &{$parameters{$key};}) { }
236 0 0 if 0 == scalar @_
238 0 0 if ref($self) =~ /^(|ARRAY|CODE|FORMAT|GLOB|HASH|IO|LVALUE|REF|Regexp|SCALAR|VSTRING)$/i
241 0 0 unless $name =~ /\.pm$/
243 0 0 if $name =~ m[/]
244 0 0 unless $self->isa($name)
245 0 0 if $self eq $name
248 0 0 if (0 == scalar @_)
249 0 0 if 0 < scalar keys %modules
254 0 0 unless ref($name) =~ /^$/
255 0 0 unless defined $modules{$name}
288 0 0 if 0 == scalar @_
290 0 0 if ref($self) =~ /^(|ARRAY|CODE|FORMAT|GLOB|HASH|IO|LVALUE|REF|Regexp|SCALAR|VSTRING)$/i
293 0 0 unless $name =~ /\.pm$/
295 0 0 if $name =~ m[/]
296 0 0 unless $name->isa($self)
297 0 0 if $self eq $name
300 0 0 if (0 == scalar @_)
301 0 0 if 0 < scalar keys %modules
306 0 0 unless ref($name) =~ /^$/
307 0 0 unless defined $modules{$name}
353 0 0 if 0 == scalar @_
355 0 0 if ref($self) =~ /^(|ARRAY|CODE|FORMAT|GLOB|HASH|IO|LVALUE|REF|Regexp|SCALAR|VSTRING)$/i
358 0 0 unless $name =~ /\.pm$/
360 0 0 if $name =~ m[/]
363 0 0 if (0 == scalar @_)
364 0 0 if 0 < scalar keys %modules
369 0 0 unless ref($name) =~ /^$/
370 0 0 unless defined $modules{$name}
534 0 0 if 0 == scalar @_
536 0 0 if ref($self) =~ /^(|ARRAY|CODE|FORMAT|GLOB|HASH|IO|LVALUE|REF|Regexp|SCALAR|VSTRING)$/i
539 0 0 if (0 == scalar @_)
540 0 0 if 0 < scalar keys %subroutines
545 0 0 unless ref($name) =~ /^$/
546 0 0 unless defined $subroutines{$name}