Branch Coverage

blib/lib/Crypt/OpenSSL/Guess.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
21 0 0 unless -x $exec
35 0 0 if (&$cond() and -f "$prefix/$dir/openssl/ssl.h")
47 0 0 unless -x $exec
51 0 0 if -d $_
54 0 0 if ($^O eq 'MSWin32') { }
0 0 elsif ($^O eq 'darwin') { }
0 0 elsif ($^O eq 'VMS') { }
55 0 0 if -d "$prefix/lib/VC"
60 0 0 if $Crypt::OpenSSL::Guess::Config{'cc'} =~ /gcc/
61 0 0 if $Crypt::OpenSSL::Guess::Config{'cc'} =~ /cl/
64 0 0 if $Crypt::OpenSSL::Guess::Config{'cc'} =~ /gcc/ and -f "$dir/lib$p->[0].a" and -f "$dir/lib$p->[1].a"
65 0 0 if $Crypt::OpenSSL::Guess::Config{'cc'} =~ /cl/ and -f "$dir/$p->[0].lib" and -f "$dir/$p->[1].lib"
66 0 0 if ($found)
75 0 0 if (-f "$dir/libcrypto.dylib" and -f "$dir/libssl.dylib")
82 0 0 if (-r 'sslroot:[000000]openssl.cnf') { }
0 0 elsif (-r 'ssl1$root:[000000]openssl.cnf') { }
0 0 elsif (-r 'ssl$root:[000000]openssl.cnf') { }
100 0 0 if (not $other_try++ and $] >= "5.008001")
104 0 0 unless $list =~ /-lssl\b/
106 0 0 if -x "$p/openssl$Crypt::OpenSSL::Guess::Config{'_exe'}"
117 0 0 if (defined $ENV{'OPENSSL_PREFIX'})
122 0 0 if ($^O ne "MSWin32" and my $prefix = readpipe )
152 0 0 if (-x $k)
156 0 0 if (undef, $dir) = check_no_path()
168 0 0 if (-x $path)
172 0 0 if ($prefix) = check_no_path()
183 0 0 unless -x $exec
187 0 0 unless open $pipe, qq["$exec" version |]
193 0 0 if (($major, $minor, $letter) = $output =~ /^OpenSSL\s+(\d+\.\d+)\.(\d+)([a-z]?)/) { }
0 0 elsif (($major, $minor) = $output =~ /^LibreSSL\s+(\d+\.\d+)(?:\.(\d+))?/) { }
197 0 0 unless (defined $minor)