Branch Coverage

blib/lib/YAML/XS.pm
Criterion Covered Total %
branch 10 14 71.4


line true false branch
35 2 2 if (&openhandle($filename)) { }
40 0 2 if ($filename =~ /^\s*(>{1,2})\s*(.*)$/)
43 0 2 unless open $OUT, $mode, $filename
53 2 3 if (&openhandle($filename)) { }
57 0 3 unless open $IN, $filename
127 8 3 if ($_[0] =~ /\A \(\? ([\^uixsm]*) (?:- (?:[ixsm]*))? : (.*) \) \z/x)
141 0 2 if ($@)