| blib/lib/OptArgs2/StatusLine.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 20 | 70.0 |
| line | true | false | branch |
|---|---|---|---|
| 21 | 1 | 11 | if ('SCALAR' eq ref $arg) { } |
| 4 | 7 | elsif ($arg =~ /$RS/) { } | |
| 1 | 6 | elsif (not defined $self->[0]) { } | |
| 6 | 0 | elsif ($self->[0] =~ /(.*)$RS/) { } | |
| 22 | 0 | 1 | if (not defined $self->[0]) { } |
| 44 | 0 | 12 | $str =~ s/\n\z// ? : |
| 47 | 0 | 12 | if (-t $fh) { } |
| 54 | 0 | 12 | if $NL eq "\n" |
| 64 | 1 | 1 | if ($arg =~ /^\$(.*)/) { } |
| 1 | 0 | elsif ($arg eq 'RS') { } |