Branch Coverage

blib/lib/Nephia/Chain.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
9 3 79 unless defined $opts{'namespace'}
10 63 19 unless defined $opts{'name_normalize'}
60 21 217 if $name eq 'Head'
61 94 123 if $name eq 'Tail'
64 6 117 if $$self{'chain'}[$i]->isa($normalized_name)
76 1 2 if ref $obj eq $plugin
94 0 77 unless $name
95 2 75 unless $code
96 0 75 if ref $name
104 0 116 if $self->index($name)
105 0 116 if scalar grep({ref $_ eq $name;} @action) > 1
112 45 163 unless $$self{'name_normalize'}
114 77 86 $name =~ /^$namespace\:\:/ ? :
125 115 0 wantarray ? :
131 43 77 if &Scalar::Util::blessed($$opts[0])