Branch Coverage

blib/lib/App/RecordStream/Operation/chain.pm
Criterion Covered Total %
branch 14 56 25.0


line true false branch
25 0 1 unless @$args
27 0 1 unless (App::RecordStream::Operation::is_recs_operation($args->[0]))
31 1 0 if $show_chain
33 1 0 if ($dry_run)
59 4 9 if ($arg eq '|')
79 4 1 if (defined $last)
80 3 1 if (App::RecordStream::Operation::is_recs_operation($last->[0]) and App::RecordStream::Operation::is_recs_operation($current_command->[0])) { }
91 4 1 if (App::RecordStream::Operation::is_recs_operation($current_command->[0])) { }
110 0 0 if ($operation->[0] eq 'SHELL') { }
0 0 elsif ($operation->[0] eq 'RECS') { }
114 0 0 if ($in_continuation) { }
147 0 0 if ($arg eq '|')
169 0 0 if (App::RecordStream::Operation::is_recs_operation($single_command->[0])) { }
184 0 0 unless defined $continuation_pid
186 0 0 unless ($continuation_pid)
193 0 0 unless defined $shell_pid
195 0 0 unless ($shell_pid)
212 1 0 if (my $args = $this->{'SAVED_ARGS'})
216 1 0 if ($this->{'DRY_RUN'})
222 0 0 if ($head) { }
225 0 0 if ($head_operation->wants_input)
230 0 0 unless ($head_operation->accept_line($line))
249 0 0 if ($continuation_pid) { }
266 0 0 if (my $tail = $this->{'CHAIN_TAIL'})
365 0 0 unless ($delegate)
368 0 0 if ($idx + 1 < @$operations) { }
370 0 0 if ($next_operation->[0] eq 'RECS') { }
0 0 elsif ($next_operation->[0] eq 'SHELL') { }