Condition Coverage

lib/FFI/Build/Platform.pm
Criterion Covered Total %
condition 16 38 42.1


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 208 /^\s*(.*)$/ && $1
253 22 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"
317 0 0 5 not $exit and $out =~ /foo\.h/
335 62 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"
350 20 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"
369 7 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"
384 20 0 0 $self->osname eq "MSWin32" and $self->{'config'}{'ccname'} eq "cl"

or 2 conditions

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

or 3 conditions

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