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 306 if (int $node->{'value'} ne $node->{'value'})
149 48 69 if (exists $special{$node->{'value'}})
154 3 66 if (0 + $node->{'value'} ne $node->{'value'})
157 33 33 if (int $node->{'value'} eq $node->{'value'} and not $node->{'value'} =~ /\./)
167 32 31 $node->{'value'} ? :