Condition Coverage

blib/lib/Template/Plex.pm
Criterion Covered Total %
condition 20 39 51.2


and 3 conditions

line !l l&&!r l&&r condition
93 0 12 0 defined $args[1] and ref $args[1] eq "HASH"
147 0 6 0 defined $args[1] and ref $args[1] eq "HASH"
265 0 3 3 defined $data and ref $data
3 0 3 defined $data and ref $data and $data->isa("Template::Plex")
406 0 20 2 $self->[8] and %{$self->[8]}

or 2 conditions

line l !l condition
257 4 2 $slot_name //= "default"
269 2 0 $self->[10] // ""
279 3 0 $data // ""

or 3 conditions

line l !l&&r !l&&!r condition
109 10 2 0 $id //= $path . join("", caller)
124 0 4 0 $self->[7]{$id} //= $template
136 0 6 0 $top_level_cache{$id} //= $template
163 2 4 0 $id //= $path . join("", caller)
264 5 1 0 $data //= $default_value
436 0 0 0 $_[0][11] // ()