blib/lib/App/Fasops/Command/links.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 24 | 75.0 |
line | true | false | branch |
---|---|---|---|
43 | 1 | 4 | unless (@{$args;}) |
50 | 0 | 4 | if lc $_ eq 'stdin' |
51 | 1 | 3 | unless (Path::Tiny::path($_)->is_file) |
56 | 0 | 3 | if (not exists $opt->{'outfile'}) |
67 | 0 | 3 | if (lc $infile eq 'stdin') { } |
76 | 3 | 81 | if $in_fh->eof and $content eq '' |
78 | 81 | 0 | unless ($in_fh->eof) |
81 | 0 | 81 | if substr($line, 0, 1) eq '#' |
83 | 9 | 72 | if ($line eq '' || $line =~ /^\s+$/ and $content ne '') { } |
89 | 3 | 6 | if ($opt->{'best'}) { } |
3 | 3 | elsif ($opt->{'pair'}) { } | |
150 | 3 | 0 | if (lc $opt->{'outfile'} eq 'stdout') { } |