Branch Coverage

blib/lib/Text/Median.pm
Criterion Covered Total %
branch 6 24 25.0


line true false branch
45 1 3 unless (defined $$self{'module'} and defined $$self{'method'})
50 1 2 unless (is_valid_module_name($$self{'module'}))
59 1 1 if ($@)
76 0 0 if (defined $$self{'data'})
90 0 0 unless (defined $$self{'data'} and scalar keys %{$$self{'data'};})
102 0 0 if $i == $j
103 0 0 if ($i < $j) { }
104 0 0 unless (defined $$self{'matrix'}{$i}{$j})
110 0 0 unless (defined $$self{'matrix'}{$j}{$j})
116 0 0 if (defined $$self{'max'}) { }
117 0 0 if (not defined $minsum or $sum > $minsum)
123 0 0 if (not defined $minsum or $sum < $minsum)