Branch Coverage

blib/lib/OpenThought.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
187 0 0 if exists $$self{'_settings'}
208 0 0 unless scalar @{$$self{'_settings'}{$setting};} > 0
219 0 0 unless ($$self{'settings_persist'})
220 0 0 if (@settings)
231 0 0 if $OpenThought::DEBUG
246 0 0 if (ref $data eq 'ARRAY')
255 0 0 if ($options)
300 0 0 unless ($url)
306 0 0 if (ref $url eq 'ARRAY') { }
0 0 elsif (not ref $url) { }
307 0 0 if ($$url[0])
308 0 0 unless (not ref $$url[0])
314 0 0 if ($$url[1])
315 0 0 unless (ref $$url[1] eq 'HASH')
319 0 0 if (defined $$url[1]{$param}) { }
346 0 0 unless (ref $settings eq 'HASH')
357 0 0 if ($name eq 'settings_persist') { }
0 0 elsif ($$self{'_settings'}{$name}) { }
367 0 0 unless ($return_only)
379 0 0 if ($return_only) { }
764 0 0 if (length @_ and ref $_[0] eq 'HASH') { }
780 0 0 if $method ne ''
820 0 0 unless (ref $data eq 'HASH')
834 0 0 if (not ref $val) { }
0 0 elsif (ref $val eq 'ARRAY' and not ref $$val[0]) { }
0 0 elsif (ref $val eq 'ARRAY' and ref $$val[0] eq 'HASH') { }
0 0 elsif (ref $val eq 'ARRAY' and ref $$val[0] eq 'ARRAY') { }
0 0 elsif (ref $val eq 'HASH') { }
835 0 0 if (defined $val) { }
852 0 0 unless (defined $$val[0] and $$val[0] ne '')
894 0 0 unless defined $$array[1]
911 0 0 unless defined $$val{$key2}
949 0 0 unless defined $code