Branch Coverage

blib/lib/Audio/Nama/Graphical.pm
Criterion Covered Total %
branch 0 152 0.0


line true false branch
188 0 0 if transport_running()
218 0 0 if $Audio::Nama::gui->{'_track_name'} =~ /^\s*$/u
224 0 0 if $Audio::Nama::gui->{'_track_name'} =~ /^\s*$/u
257 0 0 if transport_running()
351 0 0 if ($Audio::Nama::gui->{'_seek_unit'} == 1) { }
357 0 0 $Audio::Nama::gui->{'_seek_unit'} == 1 ? :
368 0 0 if (user_rec_tracks()) { }
0 0 elsif (Audio::Nama::ChainSetup::really_recording()) { }
0 0 elsif (user_mon_tracks()) { }
383 0 0 unless @user_tracks
385 0 0 unless @selected_user_tracks
394 0 0 unless $Audio::Nama::mode->{'preview'}
430 0 0 if eval_iam('engine-status') eq 'running'
440 0 0 if eval_iam('engine-status') eq 'running'
453 0 0 if $version
477 0 0 unless grep {grep {$v == $_;} @{$Audio::Nama::ti{$_}->versions;};} @user_track_indices
492 0 0 $v ? :
500 0 0 if defined $Audio::Nama::gui->{'tracks'}{$n}
501 0 0 if $Audio::Nama::ti{$n}->hide
508 0 0 if eval_iam('engine-status') eq 'running'
517 0 0 if eval_iam('engine-status') eq 'running'
526 0 0 if eval_iam('engine-status') eq 'running'
535 0 0 if eval_iam('engine-status') eq 'running'
540 0 0 @_ ? :
558 0 0 unless $ref =~ /ARRAY/u and push @versions, @{$Audio::Nama::ti{$n}->versions;}
569 0 0 if $Audio::Nama::ti{$n}->rec_status eq 'REC'
581 0 0 if $n > 2
588 0 0 if eval_iam('engine-status') eq 'running'
596 0 0 if $n > 2
597 0 0 if $n != 2
608 0 0 if eval_iam('engine-status') eq 'running'
610 0 0 if ($v eq 'off') { }
629 0 0 if (need_vol_pan($Audio::Nama::ti{$n}->name, 'vol')) { }
652 0 0 if ($FX->params->[0] != $Audio::Nama::config->{'mute_level'}{$FX->type} and $FX->params->[0] != $Audio::Nama::config->{'fade_out_level'}{$FX->type}) { }
684 0 0 if (need_vol_pan($Audio::Nama::ti{$n}->name, 'pan')) { }
789 0 0 unless $Audio::Nama::gui->{'tracks_remove'}{$n}
810 0 0 if eval_iam('engine-status') eq 'running'
816 0 0 if eval_iam('engine-status') eq 'running'
832 0 0 unless $v
839 0 0 unless $Audio::Nama::ti{$n}->rec_status eq 'REC'
861 0 0 unless defined $display_type
864 0 0 if $display_type eq 'hidden'
867 0 0 if (not $parent) { }
885 0 0 if $parentage
929 0 0 if (@sliders)
959 0 0 if %{$Audio::Nama::gui->{'marks'};}
971 0 0 unless defined $Audio::Nama::gui->{'fx'}{$id}
984 0 0 if ($start >= $Audio::Nama::fx_cache->{'split'}{'ladspa'}{'a'} and $start <= $Audio::Nama::fx_cache->{'split'}{'ladspa'}{'z'})
1033 0 0 unless defined $display_type
1035 0 0 if $display_type eq 'hidden'
1047 0 0 if ($display_type eq 'scale') { }
0 0 elsif ($display_type eq 'field') { }
1066 0 0 $p{'length'} ? :
0 0 $FX->is_read_only($p) ? :
1070 0 0 if (is_log_scale($i, $p)) { }
1084 0 0 $Audio::Nama::fx_cache->{'registry'}[$i]{'params'}[$p]{'name'} =~ /hz|frequency/iu ? :
1121 0 0 if $res
1124 0 0 if abs $end - $beg > 30
1129 0 0 if ($Audio::Nama::gui->{'_markers_armed'}) { }
1153 0 0 $Audio::Nama::gui->{'_seek_unit'} == 1 ? :
1174 0 0 unless $pal =~ /\.json$/u
1176 0 0 -f $pal ? :
1185 0 0 unless $Audio::Nama::gui->{'_old_abg'}
1189 0 0 if $Audio::Nama::gui->{'_palette'}{'mw'}{$_}
1200 0 0 if (defined $new_color)
1207 0 0 unless $field eq 'background'
1220 0 0 if ($color)
1330 0 0 if (grep {$_->rec_status eq 'REC';} map({$Audio::Nama::tn{$_};} $Audio::Nama::bn{'Main'}->tracks)) { }
0 0 elsif (grep {$_->rec_status eq 'PLAY';} map({$Audio::Nama::tn{$_};} $Audio::Nama::bn{'Main'}->tracks)) { }
1352 0 0 unless $status =~ /rec|mon|off/iu
1355 0 0 if $Audio::Nama::gui->{'group_rw'}
1366 0 0 unless $Audio::Nama::gui->{'tracks'}{$n}
1373 0 0 $n > 2 ? :
1384 0 0 $rec_status eq 'REC' && $n > 2 ? :
1392 0 0 $Audio::Nama::ti{$n}->send ? :
0 0 $rec_status eq 'OFF' ? :