Condition Coverage

blib/lib/Catmandu/Fix/Parser.pm
Criterion Covered Total %
condition 12 16 75.0


and 3 conditions

line !l l&&!r l&&r condition
45 27 7 430 exists $env->{'ns'} and exists $env->{'ns'}{$name}
77 0 14 7 ref $err and ref($err) =~ /^Catmandu/

or 2 conditions

line l !l condition
53 0 7 $env->{'ns'} //= {}
352 159 7 $name_parts[0] // "perl"

or 3 conditions

line l !l&&r !l&&!r condition
126 3 4 0 $opts{'as'} // $name
343 430 2 0 $self->get_ns($ns_name) // "Catmandu::FixParseError"->throw("Unknown namespace: $ns_name")