Condition Coverage

blib/lib/Dpkg/IPC.pm
Criterion Covered Total %
condition 19 35 54.2


and 3 conditions

line !l l&&!r l&&r condition
168 267895 133922 0 exists $opts{$param} and !ref($opts{$param}) || ref $opts{$param} ne 'SCALAR'
175 401795 22 0 exists $opts{$param} and !ref($opts{$param}) || ref $opts{$param} ne 'SCALAR' && !$opts{$param}->isa('IO::Handle')
183 133937 0 2 exists $opts{'timeout'} and defined $opts{'timeout'}
133937 2 0 exists $opts{'timeout'} and defined $opts{'timeout'} and not $opts{'timeout'} =~ /^\d+$/
188 133934 5 0 exists $opts{'env'} and ref $opts{'env'} ne 'HASH'
192 133934 5 0 exists $opts{'delete_env'} and ref $opts{'delete_env'} ne 'ARRAY'
196 133939 0 0 exists $opts{'sig'} and ref $opts{'sig'} ne 'HASH'
200 133939 0 0 exists $opts{'delete_sig'} and ref $opts{'delete_sig'} ne 'ARRAY'

or 2 conditions

line l !l condition
212 0 133939 $opts{'close_in_child'} //= []

or 3 conditions

line l !l&&r !l&&!r condition
168 0 0 133922 !ref($opts{$param}) || ref $opts{$param} ne 'SCALAR'
175 0 0 22 !ref($opts{$param}) || ref $opts{$param} ne 'SCALAR' && !$opts{$param}->isa('IO::Handle')
379 133408 3 0 $opts{'cmdline'} //= g_('child process')