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 13 $$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 35 $options{'recordType'} ||= 'copy'
348 0 0 $$self{'__calls'}{$method} || []

or 3 conditions

line l !l&&r !l&&!r condition
152 16 19 0 $options{'type'} ||= ref $object ? 'wrap' : 'stub'
154 0 35 0 ref $proto || $proto
303 6 29 0 $$self{'__mocks'}{$method} ||= 'Test::Mock::Wrapper::Method'->new
432 0 29 0 ref $proto || $proto
468 0 35 0 ref $proto || $proto
529 0 35 0 ref $proto || $proto