Branch Coverage

blib/lib/Crypt/CBCeasy.pm
Criterion Covered Total %
branch 2 30 6.6


line true false branch
33 0 0 unless defined $from
34 0 0 unless defined $key
35 0 0 unless $op and $op =~ /^(encipher|decipher)$/i
38 0 0 if (UNIVERSAL::isa($from, 'GLOB') || UNIVERSAL::isa(\$from, 'GLOB') and defined fileno $from) { }
0 0 elsif (-e $from and -r _) { }
0 0 elsif (-e $from and not -r _) { }
50 0 0 unless open $fhi, $from
61 0 0 if ($fromFile) { }
70 0 0 if $INopened
82 0 0 unless $to
84 0 0 if (UNIVERSAL::isa($to, 'GLOB') || UNIVERSAL::isa(\$to, 'GLOB') and defined fileno $to) { }
94 0 0 unless open $fho, ">$to"
101 0 0 if $OUTopened
109 0 1 @_ ? :
110 3 0 unless defined *{"${_}::encipher";}{'CODE'}