Condition Coverage

lib/App/pherkin.pm
Criterion Covered Total %
condition 19 35 54.2


and 3 conditions

line !l l&&!r l&&r condition
290 0 0 2 $reftype eq "HASH" and $key eq "extensions"
516 3 10 5 defined $1 and $1 eq "~"

or 2 conditions

line l !l condition
77 1 0 $features_path ||= "./features/"
354 0 0 $App::pherkin::VERSION || '(development)'
396 5 0 $keys{$key} || die("Unknown configuration option [$key]")
405 1 0 $value->{$_} || {}
407 0 1 $additions{0 + $target} ||= []
425 1 2 $additions{0 + $target} ||= []
479 7 0 &$deref('output') || 'TermColor'

or 3 conditions

line l !l&&r !l&&!r condition
136 0 0 0 $result eq "pending" or $result eq "undefined"
174 1 5 2 $ENV{'PHERKIN_CONFIG'} || ()
201 2 0 1 $ENV{$inval} // "Environment variable $inval not defined"
398 1 0 4 $key eq "extensions" or $key eq "extension"
615 3 0 0 $step_object->verb_original || $step_object->verb