Branch Coverage

blib/lib/Physics/Water/SoundSpeed.pm
Criterion Covered Total %
branch 15 34 44.1


line true false branch
61 0 0 if (ref $_[0] eq 'HASH') { }
87 0 2 if (ref $_[0] eq 'HASH') { }
115 0 1 if (ref $arg1 eq 'ARRAY' and ref $arg2 eq 'ARRAY') { }
0 1 elsif (ref $arg1 eq 'ARRAY' and not ref $arg2 and $arg2 =~ /\d+/) { }
0 1 elsif (not ref $arg1 and $arg1 =~ /\d+/ and ref $arg2 eq 'ARRAY') { }
0 1 elsif (ref $arg1 eq 'ARRAY') { }
1 0 elsif (not ref $arg1 and $arg1 =~ /\d+/ and not ref $arg2 and $arg2 =~ /\d+/) { }
0 0 elsif ($arg1) { }
180 1 2 if ($$self{'units'} eq 'US')
192 1 2 if ($$self{'units'} eq 'US')
208 0 1 if ($$self{'units'} eq 'US')
242 0 1 if ($$self{'units'} eq 'US')
259 0 2 if ($$self{'units'} eq 'US')
356 1 0 if (ref $depth eq 'ARRAY')
361 0 4 if ($$self{'units'} eq 'US')
368 0 0 if ($depth =~ /\d+/)
370 0 0 if ($$self{'units'} eq 'US')