Condition Coverage

blib/lib/BusyBird/StatusStorage/Memory.pm
Criterion Covered Total %
condition 23 26 88.4


and 3 conditions

line !l l&&!r l&&r condition
109 69 43 7 $args{'mode'} ne 'insert' and $args{'mode'} ne 'update'
112 7 0 $args{'mode'} ne 'insert' and $args{'mode'} ne 'update' and $args{'mode'} ne 'upsert'
128 435 466 3 defined $$s{'busybird'} and ref $$s{'busybird'} ne 'HASH'
138 339 536 5 $mode eq 'insert' and $existent
560 309 6 $mode eq 'update' and not $existent
237 3971 925 726 defined $start_index and $_ < $start_index

or 2 conditions

line l !l condition
214 375 93 $args{'ack_state'} || 'any'

or 3 conditions

line l !l&&r !l&&!r condition
109 1 0 119 not defined $args{'mode'} or $args{'mode'} ne 'insert' and $args{'mode'} ne 'update' and $args{'mode'} ne 'upsert'
138 5 0 875 $mode eq 'insert' and $existent or $mode eq 'update' and not $existent