Branch Coverage

lib/Any/Renderer.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
20 1 3 unless defined $format and length $format
21 1 2 unless defined $options
24 1 2 unless ($Any::Renderer::Formats{$format})
26 1 0 unless $Any::Renderer::Formats{$format}
64 0 1 unless $Any::Renderer::Formats{$format}
65 0 1 unless $Any::Renderer::Formats{$format}
68 0 1 unless my $func = $module->can('requires_template')
87 24 64 unless $_ =~ /\.pm$/
106 2 0 if delete $found{$_}
125 14 2 if $@
128 14 2 unless $func
164 0 19 unless $file =~ /^[\w:]+$/
167 19 0 unless ($INC{"Any/Renderer/$file.pm"})
170 14 5 if $@