blib/lib/Tree/Simple/Visitor.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 20 | 85.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
20 | 1 | 2 | 1 | $depth =~ /\d+/ and $depth == 1 || $depth == 16 |
69 | 1 | 3 | 5 | defined $filter_function and ref $filter_function eq 'CODE' |
92 | 3 | 1 | 6 | &blessed($tree) and $tree->isa('Tree::Simple') |
106 | 0 | 2 | 4 | defined $self->{'_include_trunk'} and $self->{'_include_trunk'} |
line | l | !l | condition |
---|---|---|---|
28 | 6 | 3 | $depth || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
20 | 1 | 1 | 1 | $depth == 1 || $depth == 16 |
24 | 0 | 9 | 0 | ref $_class || $_class |