| blib/lib/Bash/History/Read.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 3 | 2 | unless (defined $main::TS) |
| 27 | 0 | 5 | if ($main::PRINT) |
| 28 | 0 | 0 | if defined $ts |
| 35 | 0 | 1 | if ($which eq 'each_hist') { } |
| 43 | 2 | 5 | if ($line =~ /\A#(\d+)$/u) { } |
| 62 | 0 | 1 | unless open my $fh, '<', $path |