Condition Coverage

blib/lib/MIDI/Ngram.pm
Criterion Covered Total %
condition 15 33 45.4


and 3 conditions

line !l l&&!r l&&r condition
328 2 0 0 $self->analyze and keys @{$self->analyze;}
2 0 0 $self->analyze and keys @{$self->analyze;} and not grep({$_ == $channel;} @{$self->analyze;})
368 7 0 0 $self->max_phrases > 0 and $j > $self->max_phrases
403 23 0 0 $self->max_phrases > 0 and $j > $self->max_phrases
426 24 0 0 $self->max_phrases > 0 and $j > $self->max_phrases
632 0 1 10 defined $_[0] and $_[0] =~ /^\d+$/
637 0 0 46 defined $_[0] and $_[0] =~ /^\d+$/
0 4 42 defined $_[0] and $_[0] =~ /^\d+$/ and $_[0] > 0
647 0 4 16 defined $_[0] and $_[0] =~ /^\d$/
4 0 16 defined $_[0] and $_[0] =~ /^\d$/ and $_[0] == 1 || $_[0] == 0

or 3 conditions

line l !l&&r !l&&!r condition
647 0 16 0 $_[0] == 1 || $_[0] == 0