Branch Coverage

blib/lib/Crypt/OpenSSL/Guess.pm
Criterion Covered Total %
branch 0 58 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 '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)
74 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') { }
92 0 0 if (not $other_try++ and $] >= 5.008001)
96 0 0 unless $list =~ /-lssl\b/
98 0 0 if -x "$p/openssl$Crypt::OpenSSL::Guess::Config{'_exe'}"
109 0 0 if (defined $ENV{'OPENSSL_PREFIX'})
114 0 0 if ($^O ne 'MSWin32' and my $prefix = readpipe )
143 0 0 if (-x $k)
147 0 0 if (undef, $dir) = check_no_path()
159 0 0 if (-x $path)
163 0 0 if ($prefix) = check_no_path()
174 0 0 unless -x $exec
178 0 0 unless open $pipe, qq["$exec" version |]
184 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+))?/) { }
188 0 0 unless (defined $minor)