| blib/lib/Tree/Persist/DB/SelfReferential.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 33 | 6 | 24 | $opts->{$name} ? : |
| 36 | 7 | 3 | if (exists $opts->{'class_col'}) |
| 105 | 4 | 4 | unless $tree |
| 132 | 17 | 5 | if ($self->{'_class_col'}) { } |
| 160 | 2 | 5 | if ($change->{'action'} eq 'change_value') { } |
| 4 | 1 | elsif ($change->{'action'} eq 'add_child') { } | |
| 1 | 0 | elsif ($change->{'action'} eq 'remove_child') { } | |
| 213 | 18 | 3 | if ($self->{'_class_col'}) { } |