Condition Coverage

blib/lib/Perl/PrereqScanner/Scanner/PodWeaver/PluginBundle.pm
Criterion Covered Total %
condition 13 25 52.0


and 3 conditions

line !l l&&!r l&&r condition
58 0 4 1 defined $next and $next->isa('PPI::Token::Operator')
4 0 1 defined $next and $next->isa('PPI::Token::Operator') and $next eq '=>'
76 0 0 8 @elements == 1 and $elements[0]->isa('PPI::Statement')
82 26 0 16 $element->isa('PPI::Token::Operator') and $element =~ /^(?:,|=>)$/u
98 0 0 8 $options->isa('PPI::Structure::Constructor') and ($options->braces // '') eq '{}'

or 2 conditions

line l !l condition
72 16 0 $_->braces // ''
98 8 0 $options->braces // ''

or 3 conditions

line l !l&&r !l&&!r condition
61 4 4 6 $element->isa('PPI::Structure::List') or $element->isa('PPI::Statement::Expression')
113 0 0 0 $file // $line