Condition Coverage

blib/lib/Hub/Parse/Parser.pm
Criterion Covered Total %
condition 1 55 1.8


and 3 conditions

line !l l&&!r l&&r condition
210 0 0 0 $im > -1 and $im < $p3
240 0 0 0 defined $inner_val and $inner_val ne $inner_str
429 0 0 0 not defined $value and defined $params
0 0 0 not defined $value and defined $params and @$params
436 0 0 0 defined $params{'or'} and $params{'or'} ne $name
462 0 0 0 defined $value and not ref $value
464 0 0 0 defined $params and @$params
0 0 0 defined $params and @$params and not $name =~ /^\!/
467 0 0 0 @$params == 2 and defined $args{'or'}
660 0 0 0 $next_c eq "\r" || $next_c eq "\n" and $next_c ne $last_c
670 0 0 0 defined $prefix && defined $suffix
687 0 0 0 $p_if > -1 and $p_if < $p_else

or 2 conditions

line l !l condition
404 0 0 $params ||= []
407 0 0 $vd ||= []

or 3 conditions

line l !l&&r !l&&!r condition
72 0 7 0 ref $self || $self
96 0 0 0 $$opts{'template'} ||= shift()
383 0 0 0 $$result{'goto'} ||= $$pos + $$result{'width'}
644 0 0 0 $prev_c eq "\r" or $prev_c eq "\n"
660 0 0 0 $next_c eq "\r" || $next_c eq "\n"