Branch Coverage

blib/lib/Config/Any/JSON.pm
Criterion Covered Total %
branch 2 18 11.1


line true false branch
48 0 5 unless open my $fh, "<", $file
53 5 0 if (eval { do { require Cpanel::JSON::XS } }) { }
0 0 elsif (eval { do { require JSON::MaybeXS } }) { }
0 0 elsif (eval { do { require JSON::DWIW } }) { }
0 0 elsif (eval { do { require JSON::XS } }) { }
0 0 elsif (eval { do { require JSON::Syck } }) { }
0 0 elsif (eval { do { require JSON::PP; 'JSON::PP'->VERSION(2) } }) { }
64 0 0 if $error
80 0 0 if (eval { do { 'JSON'->VERSION(2) } }) { }