Branch Coverage

blib/lib/AI/ConfusionMatrix.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
15 2 2 unless (defined $delem)
19 0 4 if ref $matrix ne 'HASH'
23 0 4 unless tie my @output_array, 'Tie::File', $file
73 0 1 if ref $matrix ne 'HASH'
87 10 5 unless (defined $stats{$expected}{'fp'})
92 15 20 if $expected eq $predicted
93 20 15 if ($expected ne $predicted)
99 23 12 unless _findIndex($predicted, \@columns)
126 40 104 if $string eq @{$array;}[$_]