Branch Coverage

blib/lib/App/Fasops/Command/separate.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
45 1 3 unless (@{$args;})
52 0 3 if lc $_ eq 'stdin'
53 1 2 unless (Path::Tiny::path($_)->is_file)
58 0 2 unless (exists $opt->{'outdir'})
61 0 2 if (-e $opt->{'outdir'})
62 0 0 if ($opt->{'rm'})
67 0 2 if (lc $opt->{'outdir'} ne 'stdout')
77 0 2 if (lc $infile eq 'stdin') { }
86 2 54 if $in_fh->eof and $content eq ''
88 54 0 unless ($in_fh->eof)
91 6 48 if ($line eq '' || $line =~ /^\s+$/ and $content ne '') { }
97 12 12 if ($opt->{'nodash'})
100 6 18 if ($opt->{'rc'} and $info->{'strand'} ne '+')
106 24 0 if (lc $opt->{'outdir'} eq 'stdout') { }