| blib/lib/File/Replace/DualHandle.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 14 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 1 | 16 | unless @_ == 2 |
| 22 | 2 | 14 | unless &blessed($repl) and $repl->isa('File::Replace') |
| 35 | 2 | 6 | unless @_ == 1 or @_ == 2 |
| 36 | 2 | 4 | if $_[0] =~ /^\s*\+?[<>]/ |
| 39 | 2 | 2 | @_ == 2 ? : |
| 59 | 5 | 6 | if (@_) { } |
| 69 | 1 | 1 | +(shift())->{'repl'}->is_open ? : |