Branch Coverage

blib/lib/Hailo/Engine/Default.pm
Criterion Covered Total %
branch 53 72 73.6


line true false branch
60 3 1213 unless defined $pivot_expr_id
84 913 303 if (@$tokens == 1) { }
88 779 134 if (defined $token_info) { }
99 118 16 if (defined $token_info)
109 4 3591 unless defined $token_info
138 276 3284 if @$tokens < $order
145 27739 3986 unless (exists $token_cache{$key})
156 27053 1225 unless (defined $expr_cache{$key})
162 24994 3284 if ($i < @$tokens - $order)
168 24994 3284 if ($i > 0)
175 3284 24994 if $i == 0
176 3284 24994 if $i == @$tokens - $order
187 0 0 if @$tokens < $order
194 0 0 unless (exists $token_cache{$key})
206 0 0 unless (defined $expr_cache{$key})
212 0 0 if ($i < @$tokens - $order)
218 0 0 if ($i > 0)
225 0 0 if $i == 0
226 0 0 if $i == @$tokens - $order
236 1926 0 unless $updates
258 26 1190 unless @$token_ids
262 0 4246 if exists $links{$id}
280 43864 12692 unless ($$self{"_sth_${type}_inc"}->rows)
293 19953 18029 if defined $expr_id
306 8410 19329 unless defined $token_id
315 8410 19329 unless defined $token_id
339 175 1041 if (not defined $token_id) { }
351 1041 13 if defined $expr
355 3 1213 unless defined $expr
366 13446 0 if (defined $key_tokens)
371 25896 1225 unless $has_id
391 0 7279 if ($i % $order == 0 and $i >= $repeat_limit * 3 || $i >= $repeat_limit && &uniq(@$token_ids) <= $order)
398 2426 11020 if $id == $boundary_token
401 4945 6075 if ($what eq 'next') { }
6075 0 elsif ($what eq 'prev') { }
412 10929 91 unless (defined $expr_cache->{$key})