Condition Coverage

lib/Test/Mockingbird/DeepMock.pm
Criterion Covered Total %
condition 16 24 66.6


and 3 conditions

line !l l&&!r l&&r condition
508 1 0 6 defined $m->{'with'} and ref $m->{'with'} eq "CODE"
699 0 2 25 defined $arg1 and not defined $arg2
2 1 24 defined $arg1 and not defined $arg2 and $arg1 =~ /^(.*)::([^:]+)$/

or 2 conditions

line l !l condition
435 13 0 $plan->{'mocks'} || []
451 9 3 $plan->{'expectations'} || []
502 21 0 $m->{'type'} || 'mock'
602 5 0 $calls[$i] || []
622 4 0 $calls[$i] || []
643 6 0 $calls[$i] || []

or 3 conditions

line l !l&&r !l&&!r condition
454 10 0 1 !exists $plan->{'globals'}{'restore_on_scope_exit'} || $plan->{'globals'}{'restore_on_scope_exit'}