Branch Coverage

blib/lib/Python/Bytecode/SAX.pm
Criterion Covered Total %
branch 0 72 0.0


line true false branch
157 0 0 if ($SAX == 1) { }
179 0 0 if ($SAX == 1) { }
196 0 0 unless $$self{'_elem'}
200 0 0 if ($SAX == 1) { }
229 0 0 unless open $fh, '<', \$string
248 0 0 unless open $fh, '<', $file
296 0 0 unless (exists $Python::Bytecode::data{$magic})
355 0 0 if (exists $$self{'stuff'}) { }
373 0 0 unless exists $options{'emit'}
377 0 0 if ($type eq 'c') { }
0 0 elsif ($type eq 's') { }
0 0 elsif ($type eq 'i') { }
0 0 elsif ($type eq 'N') { }
0 0 elsif ($type eq '(') { }
382 0 0 if ($options{'emit'}) { }
386 0 0 if defined $options{'index'}
394 0 0 if ($options{'emit'}) { }
398 0 0 if defined $options{'index'}
406 0 0 if ($options{'emit'}) { }
409 0 0 if defined $options{'index'}
436 0 0 unless $options{'name'}
439 0 0 if defined $options{'index'}
655 0 0 if /^#/ or not /\S/
656 0 0 if (/^def_op\('([^']+)', (\d+)\)/) { }
0 0 elsif (/^(jrel|jabs|name)_op\('([^']+)', (\d+)\)/) { }
0 0 elsif (/(\w+)\s*=\s*(\d+)/) { }
0 0 elsif (/^has(\w+)\.append\((\d+)\)/) { }
678 0 0 unless $code
699 0 0 if ($c >= $$self{'c'}{'HAVE_ARGUMENT'})
703 0 0 if $c == $$self{'c'}{'EXTENDED_ARG'}
708 0 0 if ($$self{'has'}{'const'}{$c}) { }
0 0 elsif ($$self{'has'}{'local'}{$c}) { }
0 0 elsif ($$self{'has'}{'name'}{$c}) { }
0 0 elsif ($$self{'has'}{'compare'}{$c}) { }
0 0 elsif ($$self{'has'}{'jrel'}{$c}) { }
0 0 elsif ($$self{'has'}{'jabs'}{$c}) { }