Branch Coverage

blib/lib/Net/MCMP.pm
Criterion Covered Total %
branch 2 100 2.0


line true false branch
14 0 1 unless (exists $$ref{'uri'})
22 0 1 if (exists $$ref{'debug'} and $$ref{'debug'})
88 0 0 unless (ref $ref eq 'HASH')
93 0 0 unless (defined $$ref{$key})
98 0 0 unless ($$ref{'JvmRoute'})
102 0 0 if (length $$ref{'JvmRoute'} > 80)
106 0 0 if (length $$ref{'Balancer'} > 40)
110 0 0 unless ($$ref{'StickySession'} =~ /^(yes|no)$/i)
114 0 0 if (length $$ref{'StickySessionCookie'} > 30)
118 0 0 if (length $$ref{'StickySessionPath'} > 30)
122 0 0 unless ($$ref{'StickySessionRemove'} =~ /^(yes|no)$/i)
126 0 0 unless ($$ref{'StickySessionForce'} =~ /^(yes|no)$/i)
130 0 0 if ($$ref{'WaitWorker'} < 0)
134 0 0 if ($$ref{'MaxAttempts'} < 1)
138 0 0 if (length $$ref{'Domain'} > 20)
142 0 0 if (length $$ref{'Host'} > 64)
146 0 0 if (length $$ref{'Port'} < 0 or length $$ref{'Port'} > 65545)
150 0 0 unless ($$ref{'Type'} =~ /^(https|http|ajp)$/i)
154 0 0 unless ($$ref{'FlushPackets'} =~ /^(on|off|auto)$/i)
158 0 0 if ($$ref{'FlushWait'} < 0)
162 0 0 if ($$ref{'Ping'} < 0)
166 0 0 if ($$ref{'Ttl'} < 0)
170 0 0 if ($$ref{'Timeout'} < 0)
203 0 0 unless (ref $ref eq 'HASH')
208 0 0 unless (defined $$ref{$key})
213 0 0 unless ($$ref{'JvmRoute'})
217 0 0 unless ($$ref{'Context'})
221 0 0 unless ($$ref{'Alias'})
247 0 0 unless (ref $ref eq 'HASH')
251 0 0 unless ($$ref{'JvmRoute'})
261 0 0 unless (ref $ref eq 'HASH')
265 0 0 unless ($$ref{'JvmRoute'})
269 0 0 unless ($$ref{'Load'})
278 0 0 unless (ref $ref eq 'HASH')
282 0 0 unless ($$ref{'JvmRoute'})
304 0 0 unless (exists $$self{'_ua'})
310 0 0 if (defined $params)
312 0 0 unless defined $$params{$key}
319 0 0 if ($self->debug)
320 0 0 if ($path->query) { }
334 0 0 if ($response->is_success) { }
335 0 0 if ($response->content) { }
337 0 0 if ($self->debug)
341 0 0 if ($method eq 'DUMP') { }
0 0 elsif ($method eq 'INFO') { }
357 0 0 if ($key =~ /jvmroute/i)
373 0 0 if ($self->debug)
374 0 0 if ($path->query) { }
393 0 0 if ($error) { }
394 0 0 if ($self->debug)