Branch Coverage

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


line true false branch
21 1 3 unless defined $format and length $format
22 1 2 unless defined $options
25 1 2 unless ($Any::Renderer::Formats{$format})
27 1 0 unless $Any::Renderer::Formats{$format}
65 0 1 unless $Any::Renderer::Formats{$format}
66 0 1 unless $Any::Renderer::Formats{$format}
69 0 1 unless my $func = $module->can('requires_template')
88 24 64 unless $_ =~ /\.pm$/
107 2 0 if delete $found{$_}
123 14 2 if $@
125 14 2 unless $func
143 0 19 unless $file =~ /^[\w:]+$/
146 19 0 unless ($INC{"Any/Renderer/$file.pm"})
149 14 5 if $@