Branch Coverage

blib/lib/App/Fasops/Command/concat.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
45 2 4 if (@{$args;} != 2)
52 0 7 if lc $_ eq 'stdin'
53 1 6 unless (Path::Tiny::path($_)->is_file)
58 0 3 if (not exists $opt->{'outfile'})
60 0 0 $opt->{'relaxed'} ? :
70 0 3 if (lc $args->[0] eq 'stdin') { }
78 3 0 if (lc $opt->{'outfile'} eq 'stdout') { }
89 2 72 if $in_fh->eof and $content eq ''
91 72 0 unless ($in_fh->eof)
94 8 64 if ($line eq '' || $line =~ /^\s+$/ and $content ne '') { }
102 16 0 if (exists $info_of->{$name}) { }
111 1 7 if ($opt->{'total'} and $opt->{'total'} < length $$all_seq_of{$names[0]})
122 1 2 if ($opt->{'relaxed'}) { }