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
72 6 3 0 exists $param->{'pitches'} and exists $param->{'intervals'}

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
76 0 0 3 not defined $param->{'pitches'} or ref $param->{'pitches'} ne 'ARRAY'
0 0 3 not defined $param->{'pitches'} or ref $param->{'pitches'} ne 'ARRAY' or not @{$param->{'pitches'};}
80 0 0 3 not defined $param->{'intervals'} or ref $param->{'intervals'} ne 'ARRAY'
0 0 3 not defined $param->{'intervals'} or ref $param->{'intervals'} ne 'ARRAY' or not @{$param->{'intervals'};}
103 0 0 5 not defined $param->{'possibles'} or ref $param->{'possibles'} ne 'HASH'
171 0 0 11 not defined $possibles or ref $possibles ne 'HASH'