Condition Coverage

blib/lib/Music/VoiceGen.pm
Criterion Covered Total %
condition 10 23 43.4


and 3 conditions

line !l l&&!r l&&r condition
48 5 2 0 exists $param->{'pitches'} and exists $param->{'intervals'}

or 2 conditions

line l !l condition
58 1 1 $param->{'weightfn'} // sub { 1; }

or 3 conditions

line l !l&&r !l&&!r condition
52 0 0 2 not defined $param->{'pitches'} or ref $param->{'pitches'} ne 'ARRAY'
0 0 2 not defined $param->{'pitches'} or ref $param->{'pitches'} ne 'ARRAY' or not @{$param->{'pitches'};}
56 0 0 2 not defined $param->{'intervals'} or ref $param->{'intervals'} ne 'ARRAY'
0 0 2 not defined $param->{'intervals'} or ref $param->{'intervals'} ne 'ARRAY' or not @{$param->{'intervals'};}
79 0 0 4 not defined $param->{'possibles'} or ref $param->{'possibles'} ne 'HASH'
132 0 0 8 not defined $possibles or ref $possibles ne 'HASH'