Branch Coverage

blib/lib/Lim/RPC/Call.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
68 0 0 if (scalar @_ == 1) { }
0 0 elsif (scalar @_ == 2) { }
0 0 elsif (scalar @_ == 3) { }
69 0 0 unless (ref $_[0] eq 'CODE')
76 0 0 if (ref $_[0] eq 'CODE') { }
0 0 elsif (ref $_[1] eq 'CODE') { }
89 0 0 unless (ref $_[1] eq 'CODE')
101 0 0 unless (ref $args eq 'HASH')
105 0 0 unless (defined $$self{'call'})
108 0 0 unless (defined $$self{'call_def'} and ref $$self{'call_def'} eq 'HASH')
111 0 0 unless (blessed($$self{'component'}) and $$self{'component'}->isa('Lim::Component::Client'))
114 0 0 unless (defined $cb)
118 0 0 if (defined $$args{'host'}) { }
124 0 0 if (defined $$args{'port'}) { }
132 0 0 unless (defined $$self{'host'})
135 0 0 unless (defined $$self{'port'})
139 0 0 if (defined $data and ref $data ne 'HASH')
142 0 0 if (exists $$self{'call_def'}{'in'}) { }
0 0 elsif (defined $data and %$data) { }
143 0 0 defined $data ? :
163 0 0 if ($$self{'client'}->status == 1) { }
165 0 0 if (exists $$self{'call_def'}{'out'}) { }
0 0 elsif (%$data) { }
169 0 0 if ($@)
187 0 0 if (blessed $data and $data->isa('Lim::Error')) { }
205 0 0 if Lim::OBJ_DEBUG()
211 0 0 if Lim::OBJ_DEBUG()
235 0 0 if (exists $_[0]{'client'})