| blib/lib/Crypt/FileHandle.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 19 | 32 | 59.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 368 | 2 | 0 | 0 | $self->{$V_EOF} and length $self->{$V_READ_BUFFER} == 0 |
| 377 | 1 | 1 | 1 | $index < 0 and $self->_decrypt_read |
| 526 | 0 | 0 | 1 | $self->{$V_EOF} and length $self->{$V_READ_BUFFER} == 0 |
| 641 | 4 | 1 | 0 | $bw == 0 and length $ciphertext > 0 |
| line | l | !l | condition |
|---|---|---|---|
| 692 | 1 | 0 | $self->{$V_CIPHER}->crypt($ciphertext) || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 36 | 0 | 1 | 0 | ref $proto || $proto |
| 94 | 1 | 0 | 1 | not defined $readsize or $readsize <= 0 |
| 123 | 0 | 1 | 0 | ref $proto || $proto |
| 568 | 1 | 1 | 7 | not defined $mode or $mode =~ /^ |
| 2 | 0 | 7 | not defined $mode or $mode =~ /^ or $mode =~ /\|$/ | |
| 1 | 0 | 6 | $mode =~ /^>(?!>)/ or $mode =~ /^\|/ |