Branch Coverage

blib/lib/MojoX/Plugin/PODRenderer.pm
Criterion Covered Total %
branch 0 88 0.0


line true false branch
29 0 0 unless &$handler($renderer, $c, $output, $options)
61 0 0 unless $_ =~ /\.(pm|pl|pod)$/
80 0 0 if ($path =~ /\.pod$/) { }
94 0 0 if ($name =~ /::Role::/) { }
0 0 elsif ($name =~ /::Models::/) { }
0 0 elsif ($name =~ /::Controllers::/) { }
0 0 elsif ($name =~ /::Adapter::/) { }
0 0 elsif ($name =~ /::Plugins?::/) { }
100 0 0 $has_pod ? :
130 0 0 if ($module eq 'DocIndex')
154 0 0 if ($extension and $extension eq 'pm')
157 0 0 if $module =~ /\.pm$/
159 0 0 if ($is_perl_source) { }
169 0 0 if (not -e $path) { }
175 0 0 $is_perl_source ? :
185 0 0 if not $is_perl_source and $html =~ /\[\[ATTRIBUTES\]\]/
194 0 0 if $$attrs{'href'} =~ s[^http://search\.cpan\.org/perldoc\?][$perldoc]
204 0 0 if $e->all_text =~ /^\s*\$\s+/m
208 0 0 defined $class ? :
228 0 0 if $e->type eq 'h1' or not @parts
252 0 0 unless ($text =~ /\[(.+)\] *(\w+) *\((.*)\)/)
268 0 0 unless ($is_perl_source)
283 0 0 if ($e->all_text =~ /$re/)
286 0 0 if ($line =~ /^ *$/)
287 0 0 $has_seen_tags ? :
290 0 0 if ($line =~ /$re/)
297 0 0 if (defined $context)
299 0 0 unless $context =~ /before|after/
310 0 0 if (scalar @{$parts{'after'}[0];})
314 0 0 if (@{$parts{'returns'};} or @{$parts{'param'};} or @{$parts{'named'};})
318 0 0 if (scalar @{$parts{'param'};})
328 0 0 if (scalar @{$parts{'named'};})
338 0 0 if (scalar @{$parts{'returns'};})
346 0 0 if (scalar @{$parts{'throws'};})
359 0 0 if (scalar @{$parts{'before'}[0];})
377 0 0 $is_perl_source ? :
405 0 0 unless defined(my $pod = shift())
408 0 0 if ref $pod eq 'CODE'
416 0 0 unless eval { do { $parser->parse_string_document("$pod"); 1 } }
439 0 0 if ($meta->can('get_attribute_list'))
445 0 0 if ($meta->can('get_all_attributes'))
447 0 0 unless (exists $local_attributes{$attr->name})
458 0 0 if ($local and $inherited)
460 0 0 if ($local or $inherited)