Branch Coverage

blib/lib/YAML/PP/Ref/Parser.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
29 2 2 if ($reader->can('open_handle')) { }
30 1 1 if (&openhandle(scalar $reader->input)) { }
49 1 50 if ($event eq 'alias_event') { }
16 34 elsif ($event eq 'scalar_event') { }
4 30 elsif ($event eq 'document_start_event') { }
4 26 elsif ($event eq 'document_end_event') { }
4 22 elsif ($event eq 'sequence_start_event') { }
5 17 elsif ($event eq 'mapping_start_event') { }
57 4 0 delete $info->{'explicit'} ? :
60 1 3 delete $info->{'explicit'} ? :
63 4 0 if (delete $info->{'flow'}) { }
71 1 4 if (delete $info->{'flow'}) { }
79 0 51 if (ref $co eq 'CODE') { }