| blib/lib/Tree/Simple/Visitor/Sort.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 12 | 12 | 100.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 35 | 3 | 1 | unless defined $sort_function and ref $sort_function eq 'CODE' | 
| 42 | 4 | 4 | unless &blessed($tree) and $tree->isa('Tree::Simple') | 
| 46 | 1 | 3 | if $tree->isLeaf | 
| 49 | 1 | 2 | if ($self->{'sort_function'}) { } | 
| 55 | 1 | 1 | if ($filter_func) { } | 
| 82 | 13 | 26 | unless $child->isLeaf |