| blib/lib/Config/Model/TreeSearcher.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 24 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 50 | 0 | 9 | $t eq 'all' ? : |
| 52 | 9 | 0 | unless $t eq "all" |
| 73 | 10 | 417 | if ($need_search->{'value'} and defined $v and $v =~ /$reg/) |
| 76 | 0 | 549 | if ($need_search->{'help'}) |
| 79 | 0 | 0 | if &any(sub { |
| 86 | 18 | 36 | if $loc |
| 92 | 1 | 44 | if ($need_search->{'key'} and $k =~ /$reg/) |
| 109 | 4 | 1382 | if ($need_search->{$_} and $node->get_help_as_text($_, $e) =~ /$reg/) |
| 113 | 0 | 693 | if ($need_search->{'element'} and $e =~ /$reg/) |
| 117 | 4 | 0 | $loc ? : |
| 4 | 689 | if $store | |
| 129 | 0 | 15 | if @loc and $loc[$#loc] eq $p |