Branch Coverage

blib/lib/Mock/Quick/Util.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
36 0 65 unless $class
39 8 57 if ($control->strict)
40 1 7 unless exists $$self{$name}
44 7 8 if (@_ and ref $_[0] and $_[0] == \$CLEAR)
52 18 16 if exists $$self{$name} and blessed($$self{$name}) and blessed($$self{$name})->isa('Mock::Quick::Method')
57 1 38 if blessed($_[0]) and blessed($_[0])->isa('Mock::Quick::Method')
67 4 34 if @_
70 20 18 unless exists $$self{$name}
79 13 0 unless blessed($_[0])
92 14 1 if blessed($_[0])
103 0 12 unless $alts{'class'} and $alts{'obj'}
107 20 12 if blessed($_[0])