Condition Coverage

blib/lib/WAP/wmls/optim.pm
Criterion Covered Total %
condition 0 162 0.0


and 3 conditions

line !l l&&!r l&&r condition
27 0 0 0 exists $parser->YYData->{'verbose_warning'} and $parser->YYData->{'verbose_warning'}
45 0 0 0 exists $parser->YYData->{'verbose_info'} and $parser->YYData->{'verbose_info'}
57 0 0 0 exists $parser->YYData->{'verbose_debug'} and $parser->YYData->{'verbose_debug'}
1062 0 0 0 $$left{'OpCode'}->isa('LoadConst') and $$left{'OpCode'}{'TypeDef'} eq 'TYPE_INVALID'
0 0 0 $$right{'OpCode'}->isa('LoadConst') and $$right{'OpCode'}{'TypeDef'} eq 'TYPE_INVALID'
0 0 0 $$left{'OpCode'}->isa('LoadConst') and $$right{'OpCode'}->isa('LoadConst')
1168 0 0 0 $opcode->isa('UnaryOp') and $$opcode{'Operator'} eq '!'
1186 0 0 0 $$node{'OpCode'}->isa('UnaryOp') and $$node{'OpCode'}{'Operator'} eq '!'
1258 0 0 0 defined $prev and $$prev{'OpCode'}->isa('LoadConst')
1286 0 0 0 defined $dest and $$dest{'OpCode'}->isa('Jump')
1304 0 0 0 defined $next and $$next{'OpCode'}->isa('Jump')
1306 0 0 0 defined $next2 and $$next2{'OpCode'}->isa('Label')
0 0 0 defined $next2 and $$next2{'OpCode'}->isa('Label') and $$node{'OpCode'}{'Definition'} == $$next2{'OpCode'}{'Definition'}
1330 0 0 0 defined $next and $$next{'OpCode'}->isa('Label')
0 0 0 defined $next and $$next{'OpCode'}->isa('Label') and $label == $$next{'OpCode'}{'Definition'}
1432 0 0 0 $opcode->isa('Label') and $$opcode{'Definition'}{'Index'} > {sign => '+', value => [0]}
1450 0 0 0 $opcode->isa('LoadVar') and $def == $$opcode{'Definition'}
1486 0 0 0 $$def{'Index'} == {sign => '+', value => [0]} and $$def{'NbUse'} != {sign => '+', value => [0]}
1517 0 0 0 not $opcode->isa('Argument') and $nb_modif == {sign => '+', value => [0]}
0 0 0 not $opcode->isa('Argument') and $nb_modif == {sign => '+', value => [0]} and $nb_store == {sign => '+', value => [1]}
1523 0 0 0 $nb_load == {sign => '+', value => [1]} and $store->getNextActive == $load

or 2 conditions

line l !l condition
18 0 0 $msg ||= ".\n"
37 0 0 $msg ||= ".\n"
55 0 0 $msg ||= ".\n"

or 3 conditions

line l !l&&r !l&&!r condition
67 0 0 0 $value > {sign => '+', value => ['147483647', '2']} or $value < {sign => '-', value => ['147483648', '2']}
1035 0 0 0 $type eq 'TYPE_STRING' or $type eq 'TYPE_UTF8_STRING'
1108 0 0 0 $$prev{'OpCode'}{'TypeDef'} eq 'TYPE_INTEGER' or $$prev{'OpCode'}{'TypeDef'} eq 'TYPE_FLOAT'
1119 0 0 0 $$prev{'OpCode'}{'TypeDef'} eq 'TYPE_INTEGER' or $$prev{'OpCode'}{'TypeDef'} eq 'TYPE_FLOAT'
1140 0 0 0 $opcode->isa('IncrVar') or $opcode->isa('DecrVar')
1168 0 0 0 $opcode->isa('FalseJump') or $opcode->isa('ScAnd')
0 0 0 $opcode->isa('FalseJump') or $opcode->isa('ScAnd') or $opcode->isa('ScOr')
0 0 0 $opcode->isa('FalseJump') or $opcode->isa('ScAnd') or $opcode->isa('ScOr') or $opcode->isa('ToBool')
0 0 0 $opcode->isa('FalseJump') or $opcode->isa('ScAnd') or $opcode->isa('ScOr') or $opcode->isa('ToBool') or $opcode->isa('UnaryOp') and $$opcode{'Operator'} eq '!'
1283 0 0 0 $opcode->isa('Jump') or $opcode->isa('FalseJump')
1327 0 0 0 $opcode->isa('Jump') or $opcode->isa('FalseJump')
1354 0 0 0 $opcode->isa('StoreVar') or $opcode->isa('AddAsg')
0 0 0 $opcode->isa('StoreVar') or $opcode->isa('AddAsg') or $opcode->isa('SubAsg')
0 0 0 $opcode->isa('IncrVar') or $opcode->isa('DecrVar')
1426 0 0 0 $$node{'OpCode'}->isa('Jump') or $$node{'OpCode'}->isa('Return')
0 0 0 $$node{'OpCode'}->isa('Jump') or $$node{'OpCode'}->isa('Return') or $$node{'OpCode'}->isa('ReturnES')
1466 0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar')
0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar') or $opcode->isa('StoreVar')
0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar') or $opcode->isa('StoreVar') or $opcode->isa('IncrVar')
0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar') or $opcode->isa('StoreVar') or $opcode->isa('IncrVar') or $opcode->isa('DecrVar')
0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar') or $opcode->isa('StoreVar') or $opcode->isa('IncrVar') or $opcode->isa('DecrVar') or $opcode->isa('AddAsg')
0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar') or $opcode->isa('StoreVar') or $opcode->isa('IncrVar') or $opcode->isa('DecrVar') or $opcode->isa('AddAsg') or $opcode->isa('SubAsg')
1478 0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar')
0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar') or $opcode->isa('StoreVar')
0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar') or $opcode->isa('StoreVar') or $opcode->isa('IncrVar')
0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar') or $opcode->isa('StoreVar') or $opcode->isa('IncrVar') or $opcode->isa('DecrVar')
0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar') or $opcode->isa('StoreVar') or $opcode->isa('IncrVar') or $opcode->isa('DecrVar') or $opcode->isa('AddAsg')
0 0 0 $opcode->isa('Argument') or $opcode->isa('LoadVar') or $opcode->isa('StoreVar') or $opcode->isa('IncrVar') or $opcode->isa('DecrVar') or $opcode->isa('AddAsg') or $opcode->isa('SubAsg')
1495 0 0 0 $$next{'OpCode'}->isa('IncrVar') or $$next{'OpCode'}->isa('DecrVar')
0 0 0 $$next{'OpCode'}->isa('IncrVar') or $$next{'OpCode'}->isa('DecrVar') or $$next{'OpCode'}->isa('AddAsg')
0 0 0 $$next{'OpCode'}->isa('IncrVar') or $$next{'OpCode'}->isa('DecrVar') or $$next{'OpCode'}->isa('AddAsg') or $$next{'OpCode'}->isa('SubAsg')