Condition Coverage

blib/lib/Language/Zcode/Parser/Opcode.pm
Criterion Covered Total %
condition 28 42 66.6


and 3 conditions

line !l l&&!r l&&r condition
291 1032 0 16 $opcode == 190 and $z_version >= 5
334 967 35 0 $range =~ /^(\d+)$/ and $v == $1
196 0 806 $range =~ /^(\d+)-$/ and $v >= $1
53 23 120 $range =~ /^(\d+)-(\d+)$/ and $v >= $1
76 80 40 $range =~ /^(\d+)-(\d+)$/ and $v >= $1 and $v <= $2
138 0 18 $range =~ /:/ and $range =~ /\b$v\b/
356 266 811 16 $op_style == 3 and $command =~ /^call_v[sn]2$/
513 0 333 1440 $num >= 1 and $num <= 15
0 0 333 $num >= 16 and $num <= 255
583 0 0 0 $zchar >= 1 and $zchar <= 3

or 3 conditions

line l !l&&r !l&&!r condition
334 0 0 1002 $range =~ /^(\d+)$/ and $v == $1 or $range =~ /^(\d+)-$/ and $v >= $1
806 0 196 $range =~ /^(\d+)$/ and $v == $1 or $range =~ /^(\d+)-$/ and $v >= $1 or $range =~ /^(\d+)-(\d+)$/ and $v >= $1 and $v <= $2
40 0 156 $range =~ /^(\d+)$/ and $v == $1 or $range =~ /^(\d+)-$/ and $v >= $1 or $range =~ /^(\d+)-(\d+)$/ and $v >= $1 and $v <= $2 or $range =~ /:/ and $range =~ /\b$v\b/
415 4 4 458 $offset == 1 or $offset == 0