Condition Coverage

blib/lib/Audio/TinySoundFont.pm
Criterion Covered Total %
condition 21 25 84.0


and 3 conditions

line !l l&&!r l&&r condition
147 2 1 5 @script == 1 and ref $script[0] eq 'ARRAY'

or 2 conditions

line l !l condition
97 24 12 $self->_tsf->get_presetname($i) // ''
174 14 16 shift() // 60
175 12 18 shift() // 0.5
192 14 14 shift() // 60
213 2 12 $args{'seconds'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
173 30 1 0 shift() // croak('Preset is required for note_on')
191 28 1 0 shift() // croak('Preset is required for note_off')
214 2 0 12 $seconds * $SR || $args{'samples'}
2 12 0 ($seconds * $SR || $args{'samples'}) // $SR