blib/lib/Test/MockModule.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 18 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
30 | 1 | 18 | 1 | $package and my $existing = $mocked{$package} |
34 | 1 | 17 | 1 | $package and $package eq $class |
115 | 18 | 1 | 11 | ref $value and &reftype($value) eq 'CODE' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
40 | 1 | 1 | 14 | $package eq 'CORE::GLOBAL' or $package eq 'main' |
2 | 4 | 10 | $package eq 'CORE::GLOBAL' or $package eq 'main' or $args{'no_auto'} | |
4 | 6 | 4 | $package eq 'CORE::GLOBAL' or $package eq 'main' or $args{'no_auto'} or ${"${package}::VERSION";} |