blib/lib/XML/NodeFilter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 22 | 81.8 |
line | true | false | branch |
---|---|---|---|
142 | 0 | 3 | if (defined $args{'WHAT_TO_SHOW'}) { } |
2 | 1 | elsif (defined $args{-'show'}) { } | |
153 | 1 | 2 | ref $flags ? : |
165 | 8 | 11 | if (my $n = scalar @_) |
166 | 6 | 2 | if ($n == 1) { } |
2 | 0 | elsif ($n > 1) { } | |
168 | 1 | 5 | unless (defined $mask) |
178 | 4 | 0 | if (defined $XML::NodeFilter::FLAGMAPPING{$_} and defined $args{$_} and $args{$_}) |
185 | 0 | 2 | if (defined $args{'SHOW_ALL'}) |
194 | 4 | 15 | if (wantarray) |
197 | 18 | 30 | $mask & $_ ? : |