Branch Coverage

blib/lib/Net/RabbitMQ/Management/API.pm
Criterion Covered Total %
branch 4 170 2.3


line true false branch
66 1 5 unless grep(($_ eq $method), ('DELETE', 'GET', 'PATCH', 'POST', 'PUT'))
83 1 4 if ($data)
137 0 0 unless $args{'name'}
168 0 0 unless $args{'users'}
169 0 0 unless $args{'vhosts'}
170 0 0 unless $args{'permissions'}
171 0 0 unless $args{'queues'}
172 0 0 unless $args{'exchanges'}
173 0 0 unless $args{'bindings'}
195 0 0 unless $args{'name'}
206 0 0 unless $args{'name'}
227 0 0 unless $args{'name'}
248 0 0 unless $args{'vhost'}
259 0 0 unless $args{'name'}
260 0 0 unless $args{'vhost'}
271 0 0 unless $args{'name'}
272 0 0 unless $args{'vhost'}
273 0 0 unless $args{'type'}
285 0 0 unless $args{'name'}
286 0 0 unless $args{'vhost'}
297 0 0 unless $args{'name'}
298 0 0 unless $args{'vhost'}
309 0 0 unless $args{'name'}
310 0 0 unless $args{'vhost'}
321 0 0 unless $args{'name'}
322 0 0 unless $args{'vhost'}
323 0 0 unless $args{'properties'}
324 0 0 unless $args{'routing_key'}
325 0 0 unless $args{'payload'}
326 0 0 unless $args{'payload_encoding'}
348 0 0 unless $args{'vhost'}
359 0 0 unless $args{'name'}
360 0 0 unless $args{'vhost'}
371 0 0 unless $args{'name'}
372 0 0 unless $args{'vhost'}
384 0 0 unless $args{'name'}
385 0 0 unless $args{'vhost'}
396 0 0 unless $args{'name'}
397 0 0 unless $args{'vhost'}
408 0 0 unless $args{'name'}
409 0 0 unless $args{'vhost'}
420 0 0 unless $args{'name'}
421 0 0 unless $args{'vhost'}
422 0 0 unless $args{'encoding'}
423 0 0 unless defined $args{'count'}
424 0 0 unless defined $args{'requeue'}
446 0 0 unless $args{'vhost'}
457 0 0 unless $args{'vhost'}
458 0 0 unless $args{'exchange'}
459 0 0 unless $args{'queue'}
470 0 0 unless $args{'vhost'}
471 0 0 unless $args{'exchange'}
472 0 0 unless $args{'queue'}
484 0 0 unless $args{'vhost'}
485 0 0 unless $args{'exchange'}
486 0 0 unless $args{'queue'}
487 0 0 unless $args{'name'}
498 0 0 unless $args{'vhost'}
499 0 0 unless $args{'exchange'}
500 0 0 unless $args{'queue'}
501 0 0 unless $args{'name'}
512 0 0 unless $args{'vhost'}
513 0 0 unless $args{'exchange'}
514 0 0 unless $args{'queue'}
515 0 0 unless $args{'name'}
536 0 0 unless $args{'name'}
547 0 0 unless $args{'name'}
558 0 0 unless $args{'name'}
569 0 0 unless $args{'name'}
590 0 0 unless $args{'name'}
601 0 0 unless $args{'name'}
602 0 0 unless $args{'tags'}
603 0 0 unless $args{'password'} or $args{'password_hash'}
615 0 0 unless $args{'name'}
626 0 0 unless $args{'name'}
657 0 0 unless $args{'name'}
658 0 0 unless $args{'vhost'}
669 0 0 unless $args{'name'}
670 0 0 unless $args{'vhost'}
671 0 0 unless $args{'write'}
672 0 0 unless $args{'read'}
673 0 0 unless $args{'configure'}
685 0 0 unless $args{'name'}
686 0 0 unless $args{'vhost'}
697 0 0 unless $args{'vhost'}