Condition Coverage

blib/lib/Mock/Sub/Child.pm
Criterion Covered Total %
condition 28 34 82.3


and 3 conditions

line !l l&&!r l&&r condition
27 7 6 58 $_[0] and $_[0] =~ /::/
33 58 10 3 $caller ne 'Mock::Sub::mock' and $sub_passed_in
35 0 2 1 ref $self eq 'Mock::Sub::Child' and not $self->{'name'}
41 58 11 1 $caller ne 'Mock::Sub::mock' and $caller ne 'Mock::Sub::Child::remock'
56 2 0 1 defined &$core_sub and ${^GLOBAL_PHASE} eq 'START'
114 2 1 65 !wantarray && @{$mock->{'return'};} == 1
132 9 0 64 defined $self->{'orig'} and not $sub =~ /CORE::GLOBAL/
174 111 23 4 defined $_[1] and ref $_[1] ne 'CODE'

or 2 conditions

line l !l condition
31 71 0 (caller 1)[3] || ''
147 26 7 (shift())->{'called_count'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
46 11 58 0 $self->name || shift()
70 65 0 4 exists &$sub or $sub =~ /CORE::GLOBAL/