Branch Coverage

blib/lib/Venus/Template.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
36 13 0 unless defined $self->markers
37 13 0 unless defined $self->variables
71 0 158 unless ($data)
74 5 153 if (not &Scalar::Util::blessed($data) and ref $data eq "ARRAY")
77 114 39 if (not &Scalar::Util::blessed($data) and ref $data eq "HASH")
80 0 39 if (not &Scalar::Util::blessed($data) or &Scalar::Util::blessed($data) and not $data->isa('Venus::Array') || $data->isa('Venus::Hash')) { }
93 17 21 unless (defined $content)
97 16 22 if (not defined $variables) { }
147 8 5 if (lc $type eq 'if') { }
0 5 elsif (lc $type eq 'if not') { }
5 0 elsif (lc $type eq 'for') { }
188 5 3 if ($boolean) { }
192 1 2 if ($b) { }
222 0 0 if (not $boolean) { }
226 0 0 if ($b) { }
240 0 5 unless ($mappable->isa("Venus::Array"))