blib/lib/Data/CosineSimilarity.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 20 | 60.0 |
line | true | false | branch |
---|---|---|---|
51 | 0 | 4 | $opts{'normed'} ? : |
64 | 0 | 9 | unless $label |
65 | 0 | 9 | unless $features |
66 | 0 | 9 | unless ref $features eq 'HASH' |
68 | 0 | 9 | unless keys %$features |
71 | 0 | 9 | $$self{'normed'} ? : |
73 | 0 | 9 | if $norm == 0 |
93 | 5 | 9 | unless my $c2 = $$features2{$_} |
113 | 0 | 7 | if ($$self{'normed'}) { } |
135 | 2 | 4 | if $_ eq $label |