Condition Coverage

blib/lib/XML/XSH2/Completion.pm
Criterion Covered Total %
condition 0 36 0.0


and 3 conditions

line !l l&&!r l&&r condition
45 0 0 0 defined $c and not ref $c
46 0 0 0 defined $c and defined $c->[3]
72 0 0 0 length $result[0] and length $result[0] >= $i
150 0 0 0 @result == 1 and -d $result[0]
167 0 0 0 @result == 1 and -d $result[0]
282 0 0 0 @ballance and $1 eq $ballance[$#ballance]
0 0 0 not @ballance and $1 eq '['
327 0 0 0 $XML::XSH2::Functions::XPATH_AXIS_COMPLETION eq 'always' || $XML::XSH2::Functions::XPATH_AXIS_COMPLETION eq 'when-empty' && !@completions and $str =~ m<[ \n\t\r|([=<>+-/]([[:alpha:]][-:[:alnum:]]*)?$>
0 0 0 $XML::XSH2::Functions::XPATH_AXIS_COMPLETION eq 'always' || $XML::XSH2::Functions::XPATH_AXIS_COMPLETION eq 'when-empty' && !@completions and $str =~ m<[ \n\t\r|([=<>+-/]([[:alpha:]][-:[:alnum:]]*)?$> and not $1 =~ /::/

or 3 conditions

line l !l&&r !l&&!r condition
43 0 0 0 $3 || $4
228 0 0 0 $1 eq ')' or $1 eq ']'
327 0 0 0 $XML::XSH2::Functions::XPATH_AXIS_COMPLETION eq 'always' || $XML::XSH2::Functions::XPATH_AXIS_COMPLETION eq 'when-empty' && !@completions