line |
true |
false |
branch |
126
|
0 |
0 |
if (defined $package_config->{'source'}) { } |
|
0 |
0 |
elsif (defined $package_config->{'file_handle'}) { } |
|
0 |
0 |
elsif (defined $package_config->{'path'} or defined $path_to_mocks) { } |
|
0 |
0 |
elsif (ref $default_handler eq 'CODE') { } |
134
|
0 |
0 |
defined $package_config->{'path'} ? : |
136
|
0 |
0 |
unless open $FH, "< $mock_path/$inc_args{'file_name'}" |
138
|
0 |
0 |
unless $FH |
141
|
0 |
0 |
if ($FH) { } |
|
0 |
0 |
elsif (ref $default_handler eq 'CODE') { } |
170
|
0 |
0 |
if ($@) |
173
|
0 |
0 |
unless $mock |
176
|
0 |
0 |
!ref($mock) || ref $mock eq 'SCALAR' ? : |
|
0 |
0 |
ref $mock eq 'GLOB' ? : |
178
|
0 |
0 |
unless $type |
187
|
0 |
0 |
if defined $source and not ref $source |
308
|
0 |
0 |
if $self->{'file_name'} ne $filename |
310
|
0 |
0 |
$self->{'source'} ? : |