blib/lib/JSON/Create.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 16 | 68.7 |
line | true | false | branch |
---|---|---|---|
44 | 0 | 8 | unless ($fformat) |
48 | 6 | 2 | if ($fformat =~ /^%(?:(?:([0-9]+)?(?:\.([0-9]+)?)?)?[fFgGeE])$/) { } |
51 | 2 | 4 | if (defined $d1 and $d1 > 20 or defined $d2 and $d2 > 20) { } |
97 | 2 | 0 | if ($value) |
108 | 24 | 24 | if ($xsok) { } |
125 | 0 | 2 | if ($options{'downgrade_utf8'}) |
128 | 0 | 2 | unless open my $out, ">$encoding", $filename |
130 | 0 | 2 | unless close $out |