Condition Coverage

blib/lib/Music/Note/Frequency.pm
Criterion Covered Total %
condition 7 20 35.0


and 3 conditions

line !l l&&!r l&&r condition
17 1 0 0 defined $args[0]{'base'} and $args[0]{'base'} =~ /^\d+$/
27 1 0 0 $base =~ /^\d*\.?\d*$/ && $base =~ /\d/
139 0 0 1 defined $base and $base =~ /^\d*\.?\d*$/
0 0 1 defined $base and $base =~ /^\d*\.?\d*$/ and $base =~ /\d/
0 0 1 defined $base and $base =~ /^\d*\.?\d*$/ and $base =~ /\d/ and $base >= 0

or 2 conditions

line l !l condition
137 1 0 shift() || undef

or 3 conditions

line l !l&&r !l&&!r condition
27 1 0 0 not $base =~ /^\d*\.?\d*$/ && $base =~ /\d/ or $base < 0