Branch Coverage

blib/lib/Pandoc/Metadata.pm
Criterion Covered Total %
branch 31 34 91.1


line true false branch
43 22 69 @_ % 2 ? :
52 11 0 $opts{'pointer'} eq '' ? :
56 8 7 $_[1] && $_[1] ne 'false' && $_[1] ne 'FALSE' ? :
62 6 5 $_[0]{'c'} ? :
68 1 12 if $opts{'pointer'} ne ''
70 3 9 if (($opts{'boolean'} // '') eq 'JSON::PP') { }
71 2 1 $content ? :
73 5 4 $content ? :
80 9 29 if ($opts{'pointer'} eq '') { }
87 27 2 $map->{$key} ? :
93 3 6 if ($opts{'pointer'} =~ /^[1-9]*[0-9]$/) { }
5 1 elsif ($opts{'pointer'} eq '') { }
95 2 1 defined $value ? :
105 0 16 if $opts{'pointer'} ne ''
107 0 16 if ($opts{'element'} // !1) { }
120 1 3 if $opts{'pointer'} ne ''
122 1 2 if ($opts{'element'} // !1) { }