Branch Coverage

blib/lib/JSON/ON.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
98 3 0 if (my $m = $$self{'_modules'})
99 1 2 $_[0][2] eq 'SCALAR' ? :
104 0 0 unless $mod->can('VERSION')
106 0 1 unless exists $$self{'module_handler'}
116 1 1 $rt eq 'ARRAY' ? :
1 2 $rt eq 'HASH' ? :
132 0 1 unless my $encode = $j->can('encode')
139 0 1 if $@
154 0 1 unless my $decode = $j->can('decode')
159 1 0 if %$mod
162 1 0 $hook ? :