Condition Coverage

blib/lib/Test/MockModule.pm
Criterion Covered Total %
condition 25 30 83.3


and 3 conditions

line !l l&&!r l&&r condition
33 38 0 13 $hints and grep {m[^Test::MockModule/];} keys %{$hints;}
43 1 20 1 $package and my $existing = $mocked{$package}
47 1 0 20 $package and $class
1 19 1 $package and $class and $package eq $class
130 20 1 13 ref $value and builtin::reftype($value) eq "CODE"
219 1 0 19 defined $name and length $name
225 0 0 75 defined $name and length $name

or 3 conditions

line l !l&&r !l&&!r condition
53 1 1 16 $package eq "CORE::GLOBAL" or $package eq "main"
2 4 12 $package eq "CORE::GLOBAL" or $package eq "main" or $args{'no_auto'}
4 6 6 $package eq "CORE::GLOBAL" or $package eq "main" or $args{'no_auto'} or ${"${package}::VERSION";}