Condition Coverage

blib/lib/Queue/DBI/Admin.pm
Criterion Covered Total %
condition 18 31 58.0


and 3 conditions

line !l l&&!r l&&r condition
367 1 12 1 $queues_table_exists and not $queue_elements_table_exists
369 12 0 1 not $queues_table_exists and $queue_elements_table_exists
674 33 0 43 defined $self->{'table_names'}{'queues'} && $self->{'table_names'}{'queues'} ne ''
692 31 0 40 defined $self->{'table_names'}{'queue_elements'} && $self->{'table_names'}{'queue_elements'} ne ''

or 2 conditions

line l !l condition
405 1 2 delete $args{'drop_if_exist'} || 0
782 26 0 $database_handle->{'Driver'}{'Name'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
162 0 0 2 not defined $queue_name or $queue_name eq ''
206 0 0 4 not defined $queue_name or $queue_name eq ''
250 0 0 12 not defined $queue_name or $queue_name eq ''
284 0 0 2 not defined $queue_name or $queue_name eq ''
362 13 0 5 $queues_table_exists or $queue_elements_table_exists