Condition Coverage

blib/lib/IPC/Manager/Client.pm
Criterion Covered Total %
condition 13 28 46.4


and 3 conditions

line !l l&&!r l&&r condition
107 18 0 8 @_ == 2 and $_[1] ne "content"
116 8 0 0 builtin::blessed($_[0]) && $_[0]->isa('IPC::Manager::Message')
0 0 8 @_ == 1 and not builtin::blessed($_[0]) && $_[0]->isa('IPC::Manager::Message')
218 0 0 8 $self->{'pid'} and $self->{'pid'} == $$

or 2 conditions

line l !l condition
101 0 8 $self->{'stats'} //= {"read", {}, "sent", {}}
141 0 0 $@ // "unknown error"

or 3 conditions

line l !l&&r !l&&!r condition
84 2 0 6 not $PID or $PID != $$
95 8 0 0 $self->{'id'} // croak("'id' is a required attribute")
99 0 8 0 $self->{'pid'} //= $$
179 3 3 6 $self->pending_messages or $self->ready_messages