Branch Coverage

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


line true false branch
31 2 2 if ($reader->can('open_handle')) { }
32 1 1 if (&openhandle(scalar $reader->input)) { }
51 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') { }
59 4 0 delete $info->{'explicit'} ? :
62 1 3 delete $info->{'explicit'} ? :
65 4 0 if (delete $info->{'flow'}) { }
73 1 4 if (delete $info->{'flow'}) { }
81 0 51 if (ref $co eq 'CODE') { }