blib/lib/Bag/Similarity/Cosine.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 10 | 10 | 100.0 |
pod | 1 | 1 | 100.0 |
line | count | pod | subroutine |
---|---|---|---|
3 | 1 | n/a | BEGIN |
4 | 1 | n/a | BEGIN |
6 | 1 | n/a | BEGIN |
11 | 22 | Yes | from_bags |
21 | 44 | n/a | _make_vector |
28 | 22 | n/a | _cosine |
31 | 44 | n/a | _norm |
41 | 44 | n/a | _normalize |
51 | 22 | n/a | _dot |
66 | 44 | n/a | _div |