Branch Coverage

blib/lib/DTL/Fast/Expression.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
25 1367 450 if (not $kwargs{'replacement'} || $kwargs{'level'} and $EXPRESSION_CACHE{$expression}) { }
64 1 449 if $expression =~ /[()]/
97 186 1848 if (scalar @source > 1)
102 46 519 if $token eq ''
104 190 329 if ($token =~ /^$operators$/six) { }
117 136 187 if (ref $token) { }
123 186 1 if (scalar @result and ref $result[0]) { }
130 31 0 if (not exists $DTL::Fast::OPS_HANDLERS{$token} and exists $DTL::Fast::KNOWN_OPS_PLAIN{$token})
142 140 46 if ($handler->isa('DTL::Fast::Expression::Operator::Binary')) { }
46 0 elsif ($handler->isa('DTL::Fast::Expression::Operator::Unary')) { }
144 139 1 if (defined $result) { }
159 1 45 if (defined $result) { }
187 179 0 if $result