Branch Coverage

blib/lib/Language/P/Intermediate/BasicBlock.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
22 770 0 unless @{$self->bytecode;}
34 87 45 if ($succ == $from)
43 21 66 if ($$jump{'opcode_n'} == 75) { }
31 35 elsif ($$jump{'attributes'}{'true'} == $from) { }
35 0 elsif ($$jump{'attributes'}{'false'} == $from) { }
57 87 20 if ($$from{'predecessors'}[$i] == $self)
67 27 324 if ($$op{'opcode_n'} == 75 and @{$self->bytecode;} == 1 and @{$self->predecessors;})
88 0 594 unless @{$to->bytecode;}
94 0 681 if grep(($block == $_), @{$self->predecessors;})
102 0 621 if grep(($block == $_), @{$self->successors;})