Condition Coverage

lib/Rex/Resource/Common.pm
Criterion Covered Total %
condition 7 14 50.0


and 3 conditions

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'}

or 2 conditions

line l !l condition
32 0 1 $message ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
85 0 36 0 $options->{'name'} || ($options->{'export'} ? $name : "${caller_pkg}::$name")