Condition Coverage

blib/lib/AI/Perceptron/Simple.pm
Criterion Covered Total %
condition 21 27 77.7


and 3 conditions

line !l l&&!r l&&r condition
434 3 21 0 $display_stats and not defined $identifier
468 324 72 33 $output >= $self->threshold and $row->{$expected_output_header} eq 0
72 48 276 $output < $self->threshold and $row->{$expected_output_header} eq 1
72 0 48 $output < $self->threshold and $row->{$expected_output_header} eq 0
0 0 72 $output >= $self->threshold and $row->{$expected_output_header} eq 1
882 22 12 10 $row->{$actual_header} == 1 and $row->{$predicted_header} == 1
14 4 16 $row->{$actual_header} == 0 and $row->{$predicted_header} == 0
6 0 12 $row->{$actual_header} == 1 and $row->{$predicted_header} == 0
2 0 4 $row->{$actual_header} == 0 and $row->{$predicted_header} == 1