Branch Coverage

lib/Any/Template.pm
Criterion Covered Total %
branch 4 30 13.3


line true false branch
21 1 0 unless defined $$options{'Options'}
24 1 0 unless my $backend = $$options{'Backend'} || $ENV{'ANY_TEMPLATE_DEFAULT'}
26 0 0 if $backend =~ /[^\w:]/
28 0 0 unless grep {defined $$options{$_};} @sources
33 0 0 if $@
46 0 0 unless defined $data
47 0 0 unless ref $data
50 0 0 if (defined $collector) { }
69 12 16 unless $_ =~ /\.pm$/
94 0 0 if ref $collector eq 'HASH' or ref $collector eq 'ARRAY'
95 0 0 if ref $collector eq 'SCALAR'
96 0 0 if ref $collector eq 'CODE'
97 0 0 if ref $collector eq 'GLOB'
98 0 0 if ref \$collector eq 'GLOB'
99 0 0 unless ref $collector