Branch Coverage

blib/lib/App/Fasops/Command/split.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
44 1 4 unless (@{$args;})
51 0 4 if lc $_ eq 'stdin'
52 1 3 unless (Path::Tiny::path($_)->is_file)
57 0 3 unless (exists $opt->{'outdir'})
60 1 2 if (-e $opt->{'outdir'})
61 0 1 if ($opt->{'rm'})
66 1 2 if (lc $opt->{'outdir'} ne 'stdout')
76 0 3 if (lc $infile eq 'stdin') { }
85 3 81 if $in_fh->eof and $content eq ''
87 81 0 unless ($in_fh->eof)
90 9 72 if ($line eq '' || $line =~ /^\s+$/ and $content ne '') { }
94 6 3 if (lc $opt->{'outdir'} eq 'stdout') { }
96 12 12 if ($opt->{'simple'}) { }
108 3 0 if ($opt->{'chr'}) { }
122 0 12 if ($opt->{'simple'}) { }