Branch Coverage

blib/lib/VM/Dreamer/Validate.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
22 3 39 unless (defined $$machine_definition{$term})
25 9 30 unless (validate_term($term, $$machine_definition{$term}))
36 5 34 if (not $value =~ /^[1-9]\d*$/) { }
4 30 elsif ($value < $$restrictions{$term}{'min'} or $value > $$restrictions{$term}{'max'}) { }
59 0 3 if (not defined $greatest_digit) { }
0 3 elsif (not defined $operand_width) { }
0 3 elsif (not defined $instruction_width) { }