Condition Coverage

blib/lib/Test/Expander.pm
Criterion Covered Total %
condition 32 32 100.0


and 3 conditions

line !l l&&!r l&&r condition
122 2 24 1 defined $CLASS and exists $options->{'-builtins'}
298 2 1 24 $CLASS and $METHOD
1 1 23 $CLASS and $METHOD and $METHOD_REF = $CLASS->can($METHOD)
427 1 1 22 @$exports && !($option_value =~ /^-/)
619 2 1 1 @$imports == 1 && $imports->[0] =~ /$Test::Expander::REGEX_VERSION_NUMBER/

or 2 conditions

line l !l condition
153 1 1 $args ||= []
197 16 2 $line[$index] // ""
424 1 1 shift @$exports // ""
426 21 3 $exports->[0] // ""

or 3 conditions

line l !l&&r !l&&!r condition
570 3 2 13 @subtest_names || @subtest_numbers
13 2 3 not @subtest_names || @subtest_numbers or grep {$name =~ /$_/;} @subtest_names
15 2 1 not @subtest_names || @subtest_numbers or grep {$name =~ /$_/;} @subtest_names or grep {/^$number/;} @subtest_numbers