Branch Coverage

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


line true false branch
23 1367 450 if (not $kwargs{'replacement'} || $kwargs{'level'} and $EXPRESSION_CACHE{$expression}) { }
62 1 449 if $expression =~ /[()]/
95 186 1848 if (scalar @source > 1)
100 46 519 if $token eq ''
102 190 329 if ($token =~ /^$operators$/six) { }
115 136 187 if (ref $token) { }
121 186 1 if (scalar @result and ref $result[0]) { }
128 31 0 if (not exists $DTL::Fast::OPS_HANDLERS{$token} and exists $DTL::Fast::KNOWN_OPS_PLAIN{$token})
140 140 46 if ($handler->isa('DTL::Fast::Expression::Operator::Binary')) { }
46 0 elsif ($handler->isa('DTL::Fast::Expression::Operator::Unary')) { }
142 139 1 if (defined $result) { }
157 1 45 if (defined $result) { }
185 179 0 if $result