Branch Coverage

blib/lib/YAML/PP/Schema/JSON.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
32 0 2 if ($opt eq 'empty=str') { }
1 1 elsif ($opt eq 'empty=null') { }
46 1 20 if ($empty_null) { }
105 2 19 if ($schema->bool_class)
134 6 378 if (int $node->{'value'} ne $node->{'value'})
149 48 82 if (exists $special{$node->{'value'}})
154 3 79 if (0 + $node->{'value'} ne $node->{'value'})
157 35 44 if (int $node->{'value'} eq $node->{'value'} and not $node->{'value'} =~ /\./)
167 32 32 $node->{'value'} ? :