Branch Coverage

blib/lib/CTK/Crypt/GPG.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
254 0 0 if defined $_[0]
266 0 0 unless $gpghome
267 0 0 if ($gpghome) { }
268 0 0 unless (preparedir($gpghome, 448))
278 0 0 if (ref $gpgopts eq 'ARRAY') { }
280 0 0 unless (fsave($gpgconf, join("\n", @opts)))
291 0 0 $out && $out =~ /gpg.+?([0-9\.]+)\s*$/m ? :
292 0 0 if ($version)
294 0 0 unless ($tv gt "\cB\000")
299 0 0 if $version
303 0 0 unless $key
304 0 0 unless length $key
305 0 0 unless -e $key
307 0 0 if $pass and length $pass
310 0 0 unless ($recipient)
312 0 0 unless $t
313 0 0 if $t =~ /key\s+([a-z0-9]+)\:/im
314 0 0 if $recipient
319 0 0 $recipient ? :
340 0 0 if defined $_[0]
349 0 0 unless $recipient
350 0 0 unless (defined $inf and length $inf and -e $inf)
354 0 0 unless defined $outf and length $outf
358 0 0 if $armor
368 0 0 if -e $outf
374 0 0 if defined $_[0]
380 0 0 unless (defined $inf and length $inf and -e $inf)
384 0 0 unless (defined $outf and length $outf)
390 0 0 if $self->{'password'}
400 0 0 if -e $outf