Branch Coverage

blib/lib/Net/iContact.pm
Criterion Covered Total %
branch 8 70 11.4


line true false branch
28 0 16 if $name =~ /^[A-Z]+$/
30 0 16 unless $ok_field{$name}
34 0 3 unless $#_ >= 4
37 0 3 if $#_ == 5
61 0 0 unless $root
86 0 0 unless ($root)
0 0 unless ($root)
0 0 unless ($root)
0 0 unless ($root)
0 0 unless ($root)
0 0 unless ($root)
0 0 unless ($root)
0 0 unless ($root)
0 0 unless ($root)
123 0 0 unless $root
130 0 0 $id ? :
134 0 0 $id ? :
138 0 0 unless $root
154 0 0 unless $root
186 0 1 if $self->debug
188 1 0 unless $response->is_success
192 0 0 if $self->debug
196 0 0 unless (_success($root))
209 0 0 if $self->debug
211 0 0 unless $response->is_success
215 0 0 if $self->debug
219 0 0 unless (_success($root))
268 0 0 unless $status eq 'success'
280 1 0 if (ref $ar eq 'ARRAY') { }
285 0 0 if (defined $$ar{'id'}{'value'})
303 0 1 if $key =~ /(value|pos)/
318 0 0 if (ref $subscription eq 'ARRAY') { }
323 0 0 if (defined $$subscription{'id'}{'value'})
338 0 0 if (ref $fields eq 'ARRAY') { }
347 0 0 if (defined $$fields{'name'}{'value'})