Condition Coverage

blib/lib/Math/Pari.pm
Criterion Covered Total %
condition 26 59 44.0


and 2 conditions

line l !l condition
1359 8 11 /^\\($supported_cmd_rx)\s*(.*)$/ and $_ = [$supported_cmd{$1}, $2, $_]

and 3 conditions

line !l l&&!r l&&r condition
1193 1 1 5 $hex and $1 eq "b"
1230 20 3 0 not $tag =~ /^-?\d+$/ and exists $Math::Pari::sections{$tag}
1232 0 0 20 defined $tag and $tag =~ /^-?\d+$/
1257 1059 0 10884 $_ ne ':DEFAULT' && !$export_ok{$_}++ && (eval { do { &loadPari($_), 1 } } || warn($@), !$@)
1347 0 0 11 $quote && ($quote eq 'define' || ref $quote) && $quote
1348 2 11 0 $def and not ref $def
1349 2 11 0 $quote && !$def
1370 6 0 0 $echo && ref $IN
1371 6 0 0 $c && !($IN =~ /;$/)
1373 6 0 0 $def and not ref $IN
6 0 0 $def and not ref $IN and $IN =~ /^(\w+)\((??{ $matched_par; })\)=(?!=)/
1375 2 0 11 $echo && ref $in
1376 2 0 0 $c && !($in =~ /;$/)
1378 2 11 0 $def and not ref $in
13 0 0 $def and not ref $in and $in =~ /^(\w+)\((??{ $matched_par; })\)=(?!=)/

or 3 conditions

line l !l&&r !l&&!r condition
1325 0 0 0 eval { do { &allocatemem($mem); 1 } } or $@ =~ /^PARI:\s\sat\s+\S*\s+line\s+\d+\.?\s*$/
1363 0 0 13 $quote or not @in
1371 0 0 0 &is_gnil(&PARI_with_default_mem($IN)) || (print("%$c = $v\n"), ++$c)
1376 0 0 0 &is_gnil($v = &PARI_with_default_mem($in)) || (print("%$c = $v\n"), ++$c)