blib/lib/Algorithm/NaiveBayes.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 16 | 16 | 100.0 |
pod | 9 | 11 | 81.8 |
line | count | pod | subroutine |
---|---|---|---|
3 | 3 | n/a | BEGIN |
4 | 3 | n/a | BEGIN |
6 | 3 | n/a | BEGIN |
10 | 6 | Yes | new |
29 | 4 | n/a | _load_model_class |
33 | 3 | n/a | BEGIN |
40 | 1 | Yes | save_state |
45 | 1 | Yes | restore_state |
53 | 205 | Yes | add_instance |
66 | 9 | Yes | labels |
67 | 3 | No | instances |
68 | 4 | No | training_data |
71 | 3 | Yes | train |
77 | 1 | Yes | do_purge |
82 | 4 | Yes | purge |
88 | 3 | Yes | predict |