Condition Coverage

blib/lib/Test/Mock/Wrapper.pm
Criterion Covered Total %
condition 16 31 51.6


and 3 conditions

line !l l&&!r l&&r condition
330 2 2 9 $$self{'__mocks'}{$method} and $$self{'__mocks'}{$method}->hasMock(@args)
377 1 0 1 defined $method and length $method
394 1 0 1 defined $method and length $method

or 2 conditions

line l !l condition
153 0 32 $options{'recordType'} ||= 'copy'
348 0 0 $$self{'__calls'}{$method} || []

or 3 conditions

line l !l&&r !l&&!r condition
152 16 16 0 $options{'type'} ||= ref $object ? 'wrap' : 'stub'
154 0 32 0 ref $proto || $proto
303 3 26 0 $$self{'__mocks'}{$method} ||= 'Test::Mock::Wrapper::Method'->new
432 0 26 0 ref $proto || $proto
463 0 29 0 ref $proto || $proto
524 0 32 0 ref $proto || $proto