Branch Coverage

blib/lib/Acme/Siteswap.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
49 0 285 unless defined $$self{'pattern'}
50 0 285 unless defined $$self{'balls'}
67 0 566 if ($@)
75 23 2679 if (ref $t eq 'ARRAY') { }
86 1 565 unless ($avg == $$self{'balls'})
99 2459 219 $_ > 0 ? :
23 2678 ref $_ eq 'ARRAY' ? :
103 23 2678 ref $throws[$i] eq 'ARRAY' ? :
107 219 2505 if $throws[$i] == 0
114 3 2692 if ($feeds[$i] != $throw_map[$i])
128 0 4 unless $_[0]{'error'}
143 564 589 if (defined $1) { }
23 566 elsif (defined $2) { }
162 0 0 ref $a eq 'ARRAY' ? :
163 0 0 ref $b eq 'ARRAY' ? :
164 0 0 $a_1 >= $b_1 ? :
170 0 0 if ref $max_throw eq 'ARRAY'
184 0 0 ref $$throws[$i] eq 'ARRAY' ? :