Branch Coverage

blib/lib/Audio/Nama/Edit.pm
Criterion Covered Total %
branch 0 124 0.0


line true false branch
40 0 0 if grep {not $Audio::Nama::Edit::_is_field{$_};} keys %vals
56 0 0 unless $host
136 0 0 unless $self->play_start_mark_name
140 0 0 unless $self->rec_start_mark_name
144 0 0 unless $self->rec_end_mark_name
206 0 0 if $edit->host_track eq $_->host_track
212 0 0 unless (@sister_edits)
223 0 0 if defined $edit->version_mix
266 0 0 if $Audio::Nama::text->{'term_attribs'}{'line_buffer'} eq 'q' or $Audio::Nama::text->{'term_attribs'}{'line_buffer'} eq 'Q'
268 0 0 if ($Audio::Nama::text->{'term_attribs'}{'line_buffer'} eq 'p' or $Audio::Nama::text->{'term_attribs'}{'line_buffer'} eq 'P') { }
299 0 0 if ($p <= 3)
304 0 0 if ($p == 3) { }
320 0 0 if defined $this_edit
321 0 0 if Audio::Nama::ChainSetup::really_recording()
323 0 0 if engine_running()
347 0 0 unless scalar @{$Audio::Nama::setup->{'edit_points'};}
371 0 0 unless @{$Audio::Nama::setup->{'edit_points'};}
382 0 0 if $rst < $nst and $nst < $ret
385 0 0 if $rst < $net and $net < $ret
388 0 0 if $nst < $rst and $ret < $net
394 0 0 if $overlap
397 0 0 if $name =~ /-v\d+-edit\d+/u
403 0 0 unless $this_track->rec_status eq 'PLAY' or $this_track->rec_status eq 'REC' and grep {/$editre/u;} keys %Audio::Nama::Track::by_name
441 0 0 unless defined $this_edit
466 0 0 if defined $this_edit
471 0 0 unless $this_edit
474 0 0 if ($reply =~ /y/iu)
482 0 0 edit_mode_conditions() ? :
483 0 0 if $Audio::Nama::mode->{'offset_run'}
485 0 0 unless defined $this_edit
486 0 0 unless defined $this_edit->play_start_time
487 0 0 unless $this_edit->host_alias_track->rec_status eq 'PLAY'
493 0 0 unless $this_edit->host_alias_track->monitor_version == $this_edit->host_version
617 0 0 if $end eq '*'
619 0 0 $end < $args->{'setup_length'} ? :
630 0 0 if (not $args->{'region_start'} || $args->{'region_end'}) { }
0 0 elsif (defined $args->{'region_start'} and defined $args->{'region_end'}) { }
632 0 0 if ($args->{'edit_play_end'} < $args->{'playat'}) { }
0 0 elsif ($args->{'edit_play_start'} > $args->{'playat'} + $args->{'setup_length'}) { }
0 0 elsif ($args->{'edit_play_start'} >= $args->{'playat'}) { }
0 0 elsif ($args->{'edit_play_start'} < $args->{'playat'} and $args->{'edit_play_end'} > $args->{'playat'}) { }
645 0 0 if ($args->{'edit_play_end'} < $args->{'playat'}) { }
0 0 elsif ($args->{'edit_play_start'} > $args->{'playat'} + $args->{'region_end'} - $args->{'region_start'}) { }
0 0 elsif ($args->{'edit_play_start'} >= $args->{'playat'}) { }
0 0 elsif ($args->{'edit_play_start'} < $args->{'playat'} and $args->{'playat'} < $args->{'edit_play_end'}) { }
662 0 0 defined $this_edit ? :
667 0 0 defined $this_edit ? :
670 0 0 unless $edit
696 0 0 if $track->is_mix_track
703 0 0 if scalar @versions == 1
711 0 0 if @exists
740 0 0 unless $edit
741 0 0 if $edit->host->monitor_version != $edit->host_version
778 0 0 unless defined $this_edit
793 0 0 unless defined $edit
795 0 0 unless $edit->host_alias_track->rec_status eq 'PLAY'
797 0 0 if edit_mode()
805 0 0 if $tn{$_}->name =~ /edit\d+$/u
841 0 0 if $l > $setup_length
847 0 0 if edit_mode()
871 0 0 if $Audio::Nama::mode->{'offset_run'}
875 0 0 unless defined $this_edit