blib/lib/Filter/Crypto/CryptFile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 27 | 74.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
105 | 12 | 4 | 8 | @_ == 2 and !defined($_[1]) || $_[1] eq '' || &_isa_cryptmode($_[1]) |
137 | 72 | 0 | 8 | @_ == 2 && defined $_[1] && $_[1] ne '' |
222 | 4 | 0 | 12 | @_ == 3 and defined $_[2] |
4 | 0 | 12 | @_ == 3 and defined $_[2] and $_[2] ne '' | |
289 | 93 | 0 | 20 | (ref $fh && &reftype($fh) eq 'GLOB' || !ref($fh) && &reftype(\$fh) eq 'GLOB') && defined fileno $fh |
297 | 0 | 0 | 93 | !ref($name) && &reftype(\$name) eq 'SCALAR' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
105 | 0 | 8 | 4 | !defined($_[1]) || $_[1] eq '' || &_isa_cryptmode($_[1]) |
73 | 8 | 16 | @_ == 1 or @_ == 2 and !defined($_[1]) || $_[1] eq '' || &_isa_cryptmode($_[1]) | |
279 | 7 | 4 | 4 | $mode eq CRYPT_MODE_AUTO() || $mode eq CRYPT_MODE_ENCRYPT() || $mode eq CRYPT_MODE_DECRYPT() || $mode eq CRYPT_MODE_ENCRYPTED() || $mode eq CRYPT_MODE_DECRYPTED() |