Condition Coverage

blib/lib/Protocol/DBus/Peer.pm
Criterion Covered Total %
condition 8 14 57.1


and 3 conditions

line !l l&&!r l&&r condition
128 0 1 0 defined wantarray && do { my $serial = $self->{'_last_sent_serial'}; my $on_return_hr = ($self->{'_on_return'} ||= {}); return 'Promise::ES6'->new(sub { my($resolve, $reject) = @_; $on_return_hr->{$serial} = sub { if ($_[0]->get_type == 2) { &$resolve($_[0]); } else { &$reject($_[0]); } ; } ; } ) }
353 1 2 0 $fds_ar and @$fds_ar
3 0 0 $fds_ar and @$fds_ar and not $self->supports_unix_fd

or 2 conditions

line l !l condition
347 1 2 $self->{'_endian'} ||= 'le'

or 3 conditions

line l !l&&r !l&&!r condition
349 1 2 0 $self->{'_to_str_fn'} ||= "to_string_$self->{'_endian'}"