| blib/lib/AI/MaxEntropy/Model.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 16 | 62.5 |
| line | true | false | branch |
|---|---|---|---|
| 13 | 1 | 7 | if defined $model |
| 51 | 0 | 42 | if ref $x eq 'HASH' |
| 53 | 0 | 0 | ref $$x{$attr} eq 'ARRAY' ? : |
| 59 | 42 | 0 | if (defined(my $y1 = $$self{'y_bucket'}{$y})) |
| 61 | 54 | 0 | if (defined $x1) |
| 63 | 54 | 0 | if $lambda_i != -1 |
| 77 | 19 | 23 | unless defined $max_y |
| 78 | 12 | 30 | if $score[$y] > $max_score |