Condition Coverage

blib/lib/FFI/Build/Platform.pm
Criterion Covered Total %
condition 15 38 39.4


and 3 conditions

line !l l&&!r l&&r condition
123 0 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"
226 0 0 226 /^\s*(.*)$/ && $1
253 21 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"
317 0 0 5 not $exit and $out =~ /foo\.h/
335 33 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"
350 19 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"
369 8 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"
384 19 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"

or 2 conditions

line l !l condition
282 1 4 $verbose ||= 0
418 2 0 eval { do { _l($self->cxx) } } || '---'
419 2 0 eval { do { _l($self->cxxld) } } || '---'
420 0 2 eval { do { _l($self->for) } } || '---'

or 3 conditions

line l !l&&r !l&&!r condition
20 0 42 0 $config ||= do { require Config; \%Config::Config }
34 35 11 0 $default ||= "FFI::Build::Platform"->new