Branch Coverage

blib/lib/Class/Accessor/PackedString/Set.pm
Criterion Covered Total %
branch 47 114 41.2


line true false branch
51 7 10 $idx == 0 ? :
52 7 10 if ($attr eq $name) { }
71 1 0 if $pos >= length $$self
0 0 if (@_ and defined $_[0])
0 0 if ($idx == 0) { }
0 0 elsif ($idx == 1) { }
0 0 elsif ($idx == 2) { }
0 1 unless @_
1 0 if (defined $_[0]) { }
0 0 elsif (defined $val) { }
0 0 if $pos >= length $$self
0 0 if (@_ and defined $_[0])
0 0 if ($idx == 0) { }
0 0 elsif ($idx == 1) { }
0 0 unless @_
0 0 if (defined $_[0]) { }
0 0 elsif (defined $val) { }
2 8 if $pos >= length $$self
1 3 if (@_ and defined $_[0])
4 4 if ($idx == 0) { }
4 0 elsif ($idx == 1) { }
3 2 unless @_
1 1 if (defined $_[0]) { }
1 0 elsif (defined $val) { }
0 0 if $pos >= length $$self
0 0 if (@_ and defined $_[0])
0 0 if ($idx == 0) { }
0 0 elsif ($idx == 1) { }
0 0 unless @_
0 0 if (defined $_[0]) { }
0 0 elsif (defined $val) { }
1 2 if $pos >= length $$self
0 0 if (@_ and defined $_[0])
1 1 if ($idx == 0) { }
1 0 elsif ($idx == 1) { }
0 0 elsif ($idx == 2) { }
0 1 unless @_
1 0 if (defined $_[0]) { }
0 0 elsif (defined $val) { }
1 1 if $pos >= length $$self
0 0 if (@_ and defined $_[0])
0 1 if ($idx == 0) { }
1 0 elsif ($idx == 1) { }
0 0 elsif ($idx == 2) { }
0 1 unless @_
1 0 if (defined $_[0]) { }
0 0 elsif (defined $val) { }
2 5 if $pos >= length $$self
1 3 if (@_ and defined $_[0])
4 1 if ($idx == 0) { }
1 0 elsif ($idx == 1) { }
3 2 unless @_
1 1 if (defined $_[0]) { }
1 0 elsif (defined $val) { }
72 0 7 if $@
96 3 0 unless (*{"${class}::$constructor";}{'CODE'})
98 0 3 if $@