Condition Coverage

blib/lib/Audio/TinySoundFont/Preset.pm
Criterion Covered Total %
condition 15 17 88.2


or 2 conditions

line l !l condition
32 3 0 $self->soundfont->_tsf->get_presetname($self->index) // ''
47 4 24 $args{'seconds'} // 0
49 8 20 $args{'note'} // 60
50 8 20 $args{'vel'} // 0.5

or 3 conditions

line l !l&&r !l&&!r condition
48 4 1 23 $seconds * $SR || $args{'samples'}
5 23 0 ($seconds * $SR || $args{'samples'}) // $SR
51 8 6 14 $args{'volume'} // $self->soundfont->db_to_vol($args{'db'})