Branch Coverage

blib/lib/Audio/Nama/Effect.pm
Criterion Covered Total %
branch 0 194 0.0


line true false branch
59 0 0 unless ref $self
64 0 0 if $call eq 'fxname'
83 0 0 if ($id and $self = fxn($id))
89 0 0 unless defined $i
93 0 0 $id ? :
111 0 0 unless ($parent_id or $args{'params'})
131 0 0 if $is_restore
133 0 0 if ($parent_id) { }
143 0 0 unless grep {$id eq $_;} @$owns
151 0 0 unless grep {$id eq $_;} @{$track->ops;}
156 0 0 unless grep {$id eq $_;} @{$track->ops;}
190 0 0 if $entry->{'params'}[$_]{'dir'} eq 'output'
208 0 0 if $ops[$i] eq $id
209 0 0 unless Audio::Nama::fxn($ops[$i])->is_controller
224 0 0 if $ops[$i] eq $id
225 0 0 if Audio::Nama::fxn($ops[$i])->is_controller
239 0 0 if $self->is_controller
241 0 0 if $op eq $id
266 0 0 unless $parent and $parent->parent or $parent
298 0 0 unless defined $i
300 0 0 unless $parameter >= 0 and $parameter < $parameter_count
302 0 0 if $self->is_read_only($parameter)
305 0 0 if ($sign) { }
328 0 0 $parent ? :
330 0 0 $parent ? :
337 0 0 if defined $owns
338 0 0 if defined $owns
342 0 0 if (not $parent) { }
361 0 0 if (my $track = $Audio::Nama::Effect::ti{$n})
368 0 0 if ($minor_version <= 14) { }
397 0 0 if ($pos eq 'ZZZ') { }
404 0 0 unless $track eq $track2
425 0 0 if effect_entry_is_bad($id)
434 0 0 $code =~ /:/u ? :
440 0 0 $dad ? :
445 0 0 if $dad and $dad->is_controller
450 0 0 if $dad
452 0 0 if $self->bypassed
455 0 0 unless ref($owns) =~ /ARRAY/u
533 0 0 if $p->{'chain'}
537 0 0 if ($p->{'track'}) { }
0 0 elsif ($p->{'parent_id'}) { }
0 0 elsif ($p->{'before'}) { }
595 0 0 if $Audio::Nama::Effect::ti{$p->{'chain'}} and $Audio::Nama::Effect::ti{$p->{'chain'}}->forbid_user_ops and not $p->{'type'} =~ /$Audio::Nama::Effect::config->{'latency_op'}/u
601 0 0 defined $p->{'before'} && $p->{'before'} ne 'ZZZ' ? :
614 0 0 if ($args{'effect_chain'}) { }
627 0 0 if (@defaults)
632 0 0 if not defined $args{'params'}[$i] or $args{'params'}[$i] eq '*'
637 0 0 unless ($FX->name)
643 0 0 if $type eq $FX->type
646 0 0 unless $track->hide
650 0 0 if (Audio::Nama::valid_engine_setup())
652 0 0 if (Audio::Nama::engine_running()) { }
656 0 0 if is_array($result)
661 0 0 if is_array($result)
673 0 0 if $args{'before'} eq 'ZZZ'
675 0 0 if $running and Audio::Nama::ChainSetup::really_recording()
678 0 0 if fxn($args{'before'})->is_controller
679 0 0 if ($running)
685 0 0 unless my $pos = fxn($args{'before'})
687 0 0 unless $Audio::Nama::Effect::this_track eq $pos->track
701 0 0 if ($connected)
719 0 0 if ($connected)
723 0 0 if ($running)
736 0 0 unless my $FX = fxn($op_id)
757 0 0 unless my $FX = fxn($id)
778 0 0 if (not $input =~ /\D/u) { }
0 0 elsif ($Audio::Nama::Effect::fx_cache->{'full_label_to_index'}{$input}) { }
799 0 0 unless defined $i or $Audio::Nama::Effect::config->{'opts'}{'E'}
809 0 0 unless defined $p->{'default'}
822 0 0 unless Audio::Nama::ChainSetup::is_ecasound_chain($n)
826 0 0 if defined $Audio::Nama::Effect::this_track
836 0 0 unless Audio::Nama::valid_engine_setup()
844 0 0 unless ecasound_select_chain($n)
850 0 0 if (not $self->is_controller) { }
926 0 0 unless Audio::Nama::valid_engine_setup()
933 0 0 unless my $FX = fxn($id)
936 0 0 unless Audio::Nama::ChainSetup::is_ecasound_chain($chain)
943 0 0 if Audio::Nama::valid_engine_setup()
947 0 0 if ($FX->is_controller) { }
970 0 0 unless defined fxn($id)
983 0 0 unless Audio::Nama::valid_engine_setup()
1027 0 0 if $chain_id =~ /\D/u
1038 0 0 unless @_
1066 0 0 if @outersection
1097 0 0 $bypass_state eq 'on' ? :
1116 0 0 unless $FX
1157 0 0 if $track->vol and not grep({$track->vol eq $_;} @ops)
1159 0 0 if $track->pan and not grep({$track->pan eq $_;} @ops)
1173 0 0 unless defined $_
1175 0 0 if @track_undef_op_pos
1184 0 0 unless fxn($_)
1187 0 0 if @uninstantiated_op_ids
1189 0 0 if $is_track_error
1190 0 0 if $is_track_error
1199 0 0 if (@incomplete_entries)
1215 0 0 if (engine_running() and $Audio::Nama::Effect::config->{'hires_timer'})