Branch Coverage

blib/lib/JCONF/Writer.pm
Criterion Covered Total %
branch 6 24 25.0


line true false branch
17 0 2 if %opts
25 2 2 unless (defined $msg)
31 1 1 if ($$self{'autodie'})
47 2 0 if (ref $ref ne 'HASH')
54 0 0 unless ($name =~ /^\w+$/)
74 0 0 if (my $ref = ref $value)
75 0 0 if ($ref eq 'HASH')
79 0 0 if ($ref eq 'ARRAY')
83 0 0 if ($ref eq 'Parse::JCONF::Boolean' or $ref eq 'JCONF::Writer::Boolean')
88 0 0 unless (defined $value)
92 0 0 if (B::svref_2object(\$value)->FLAGS & 12288 and 0 + $value eq $value and $value * 0 == 0)
133 0 0 $value ? :