Branch Coverage

blib/lib/Perl/PrereqScanner/Scanner/PodWeaver/PluginBundle.pm
Criterion Covered Total %
branch 17 30 56.6


line true false branch
55 7 15 if $element->isa('PPI::Token::Quote')
56 5 10 if ($element->isa('PPI::Token::Word'))
58 1 4 if defined $next and $next->isa('PPI::Token::Operator') and $next eq '=>'
61 8 6 if $element->isa('PPI::Structure::List') or $element->isa('PPI::Statement::Expression')
64 8 6 if defined $str
76 8 0 if @elements == 1 and $elements[0]->isa('PPI::Statement')
82 16 26 if ($element->isa('PPI::Token::Operator') and $element =~ /^(?:,|=>)$/u) { }
93 0 8 unless @groups == 3
95 0 8 unless @$options == 1
98 0 8 unless $options->isa('PPI::Structure::Constructor') and ($options->braces // '') eq '{}'
103 8 0 if (defined $name) { }
109 0 0 if @$plugin
113 0 0 if defined($file // $line)
114 0 0 if defined $file
115 0 0 if defined $line