lib/Rex/Resource/Common.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 14 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
94 | 0 | 0 | 36 | not $class->can($name) and $name_save =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/u |
97 | 3 | 0 | 33 | $class ne "main" and $class ne "Rex::CLI" |
112 | 4 | 0 | 32 | exists $options->{'export'} and $options->{'export'} |
line | l | !l | condition |
---|---|---|---|
32 | 0 | 1 | $message ||= "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
85 | 0 | 36 | 0 | $options->{'name'} || ($options->{'export'} ? $name : "${caller_pkg}::$name") |