line |
true |
false |
branch |
25
|
0 |
0 |
if $second++ |
35
|
0 |
144 |
if ($node->isa('Tree::XPathEngine::NodeSet')) |
65
|
1 |
2 |
if @params |
72
|
1 |
3 |
if (@params) |
82
|
1 |
1 |
unless $params[0]->isa('Tree::XPathEngine::NodeSet') |
89
|
0 |
0 |
unless @params == 1 |
91
|
0 |
0 |
if ($params[0]->isa('Tree::XPathEngine::NodeSet')) { } |
104
|
0 |
0 |
if (my $found = $node->get_element_by_id($id)) |
115
|
0 |
0 |
if (@params > 1) { } |
|
0 |
0 |
elsif (@params) { } |
131
|
0 |
101 |
if @params > 1 |
132
|
0 |
101 |
if (@params) |
144
|
0 |
1 |
if @params < 2 |
152
|
0 |
2 |
unless @params == 2 |
154
|
1 |
1 |
if (substr($string1, 0, length $string2) eq $string2) |
163
|
0 |
2 |
unless @params == 2 |
165
|
1 |
1 |
if ($params[0]->xpath_string_value =~ /\Q$value\E/) |
174
|
0 |
3 |
unless @params == 2 |
177
|
1 |
2 |
if ($long =~ /^(.*?)\Q$short\E/) { } |
188
|
0 |
1 |
unless @params == 2 |
191
|
1 |
0 |
if ($long =~ /\Q$short\E(.*)$/) { } |
203
|
0 |
3 |
if @params < 2 or @params > 3 |
208
|
2 |
1 |
if (@params == 3) { } |
220
|
0 |
2 |
if @params > 1 |
221
|
2 |
0 |
if (@params) { } |
234
|
0 |
4 |
if @params > 1 |
236
|
4 |
0 |
if (@params) { } |
251
|
0 |
3 |
if @params != 3 |
258
|
8 |
8 |
defined $repl{$1} ? : |
|
16 |
2 |
exists $repl{$1} ? : |
267
|
0 |
2 |
if @params != 1 |
274
|
0 |
1 |
unless $params[0]->isa('Tree::XPathEngine::Boolean') |
275
|
0 |
1 |
$params[0]->value ? : |
281
|
0 |
1 |
if @params > 0 |
288
|
0 |
2 |
if @params > 0 |
295
|
0 |
0 |
if @params != 1 |
299
|
0 |
0 |
if (substr(lc $lang, 0, length $lclang) eq $lclang) { } |
312
|
0 |
11 |
if @params > 1 |
313
|
5 |
6 |
if (@params) |
314
|
0 |
5 |
if ($params[0]->isa('Tree::XPathEngine::Node')) |
328
|
0 |
1 |
unless $params[0]->isa('Tree::XPathEngine::NodeSet') |