Condition Coverage

blib/lib/Disassemble/X86.pm
Criterion Covered Total %
condition 114 211 54.0


and 3 conditions

line !l l&&!r l&&r condition
118 2 1 1 $$self{'addr_size'} == 16 && $$self{'data_size'} == 16
586 0 701 4 $byte >= 0 and $byte <= 5
0 699 2 $byte >= 8 and $byte <= 13
0 541 2 $byte >= 16 and $byte <= 21
0 539 2 $byte >= 24 and $byte <= 29
0 537 2 $byte >= 32 and $byte <= 37
0 533 2 $byte >= 40 and $byte <= 45
0 525 2 $byte >= 48 and $byte <= 53
0 519 2 $byte >= 56 and $byte <= 61
0 513 2 $byte >= 64 and $byte <= 71
0 511 2 $byte >= 72 and $byte <= 79
0 511 0 $byte >= 80 and $byte <= 87
0 511 0 $byte >= 88 and $byte <= 95
0 278 0 $byte >= 112 and $byte <= 127
0 258 10 $byte >= 136 and $byte <= 139
0 250 0 $byte >= 145 and $byte <= 151
0 218 2 $byte >= 176 and $byte <= 183
0 214 4 $byte >= 184 and $byte <= 191
913 66 27 10 $mod == 0 and $rm == 5
1020 8 0 4 $seg >= 4 and ($$op{'proc'} || 0) < 386
1153 54 0 2 $op == 2 and $rm == 0
1222 0 0 0 $op == 5 and $rm == 1
1282 0 0 2 $op != 2 and $op != 3
1333 0 2 2 $op != 2 and $op != 3
0 0 2 $op == 3 and $rm == 1
1353 2 0 0 $op == 4 and $rm == 0
1493 0 100 4 $byte >= 64 and $byte <= 79
0 66 0 $byte >= 128 and $byte <= 143
0 64 2 $byte >= 144 and $byte <= 159
0 12 2 $byte >= 200 and $byte <= 207
2039 0 0 0 $op == 3 and $$self{'mmx_pre'}
0 0 0 $op == 7 and $$self{'mmx_pre'}

or 2 conditions

line l !l condition
63 0 2 $args{'start'} || 0
70 2 0 $args{'addr_size'} || $args{'size'} || 32
71 2 0 $args{'data_size'} || $args{'size'} || 32
74 0 2 $args{'format'} || 'Text'
160 354 100 $$op{'proc'} || 0
1020 0 4 $$op{'proc'} || 0
1042 48 55 $$op{'proc'} || 0
1058 83 25 $$op{'proc'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
81 1 0 1 $size eq '16' or $size eq 'word'
1 0 0 $size eq '32' or $size eq 'dword'
1 0 0 $size eq '32' or $size eq 'dword' or $size eq 'long'
94 1 0 1 $size eq '16' or $size eq 'word'
1 0 0 $size eq '32' or $size eq 'dword'
1 0 0 $size eq '32' or $size eq 'dword' or $size eq 'long'
163 84 370 0 $Disassemble::X86::proc_xlat{$proc} || $proc
222 68 0 0 $size ||= $self->dsize
233 152 0 0 $size ||= $self->dsize
249 0 20 0 $size ||= $self->dsize
258 4 8 0 $size ||= $self->dsize
267 2 2 0 $size ||= $self->dsize
276 4 6 0 $size ||= $self->dsize
288 8 0 0 $data_size ||= $self->dsize
354 83 85 0 $$self{'dsize'} || $$self{'data_size'}
361 108 110 0 $$self{'asize'} || $$self{'addr_size'}
586 2 0 276 $byte == 128 or $byte == 130
918 0 18 0 $seg ||= $self->seg_reg(2)
0 18 75 $rm == 4 or $rm == 5
930 0 4 0 $seg ||= $self->seg_reg(2)
934 2 18 0 $seg ||= $self->seg_reg(2)
942 0 8 0 $seg ||= $self->seg_reg(2)
1092 423 12 0 $size ||= $self->dsize
1384 5 5 0 $$self{'asize'} || $$self{'addr_size'}
1401 5 9 0 $$self{'asize'} || $$self{'addr_size'}
1409 0 2 2 $instr eq 'cmps' || $instr eq 'scas'
1453 6 2 0 $data_size ||= $self->dsize
1454 4 4 0 $addr_size ||= $self->asize
1466 4 6 0 $data_size ||= $self->dsize
1467 4 6 0 $addr_size ||= $self->asize
1520 0 0 0 $mod == 3 or $op > 3
1687 0 0 2 $op != 1 or $mod == 3
2382 0 0 2 $proc || $Disassemble::X86::mmx_proc