Condition Coverage

blib/lib/Test/MonkeyMock.pm
Criterion Covered Total %
condition 26 30 86.6


or 2 conditions

line l !l condition
81 15 0 $registry->{$new_package}{'mocks'} ||= {}
94 7 12 $$registry{ref $self}{'mocks'} ||= {}
109 4 2 $$registry{ref $self}{'mocks'} ||= {}
110 3 3 $$registry{ref $self}{'calls'} ||= {}
121 3 1 $calls->{$method}{'called'} || 0
128 6 4 $frame ||= 0
144 9 2 $$registry{ref $self}{'calls'} ||= {}
145 9 2 $$registry{ref $self}{'mocks'} ||= {}
166 4 2 $frame ||= 0
182 7 0 $$registry{ref $self}{'returns'} ||= {}
183 7 0 $$registry{ref $self}{'mocks'} ||= {}
208 5 0 $$registry{ref $self}{'mocks'} ||= {}
229 25 22 $registry->{$ref_self}{'calls'} ||= {}
230 25 22 $registry->{$ref_self}{'returns'} ||= {}
231 46 1 $registry->{$ref_self}{'mocks'} ||= {}