Branch Coverage

blib/lib/App/Fasops/Command/maf2fas.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
42 1 3 unless (@{$args;})
49 0 3 if lc $_ eq 'stdin'
50 1 2 unless (Path::Tiny::path($_)->is_file)
55 0 2 if (not exists $opt->{'outfile'})
64 2 0 if (lc $opt->{'outfile'} eq 'stdout') { }
73 0 2 if (lc $infile eq 'stdin') { }
82 2 30 if $in_fh->eof and $content eq ''
84 28 2 unless ($in_fh->eof)
88 4 26 if ($line eq '' || $line =~ /^\s+$/ and $content ne '') { }
16 10 elsif (substr($line, 0, 2) eq 's ') { }
93 1 3 if length $$info_of{$names[0]}{'seq'} < $opt->{'length'}