blib/lib/Pragmatic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 14 | 50.0 |
line | true | false | branch |
---|---|---|---|
19 | 1 | 13 | if $package eq 'Pragmatic' |
39 | 1 | 12 | if @imports |
48 | 0 | 9 | unless exists ${"${package}::PRAGMATA";}{$pragma} |
51 | 9 | 0 | if (ref ${"${package}::PRAGMATA";}{$pragma} eq 'CODE') { } |
0 | 0 | elsif (my $ref = $package->can(${"${package}::PRAGMATA";}{$pragma})) { } | |
52 | 0 | 9 | unless &{${"${package}::PRAGMATA";}{$pragma};}($package, @args) |
58 | 0 | 0 | unless &$ref($package, @args) |