Branch Coverage

blib/lib/Math/Logic/Ternary/Calculator/Operator.pm
Criterion Covered Total %
branch 10 82 12.2


line true false branch
203 368 12 if (exists $glossary{$name})
209 184 108 $is_arith ? :
212 280 12 if (defined $is_arith) { }
217 184 96 if ($base ne $name)
220 184 96 if (exists $glossary{$base} and not exists $glossary{$name})
239 0 0 unless (defined $items)
242 0 0 unless ($min)
244 0 0 1 == $var ? :
0 0 $var < 0 ? :
0 0 !$var ? :
248 0 0 unless ($var)
249 0 0 1 == $min ? :
251 0 0 if ($var < 0)
252 0 0 1 == $min ? :
255 0 0 1 == $var ? :
268 0 0 unless ($args)
270 0 0 if ($carry->is_nil)
277 0 0 $balanced ? :
279 0 0 if $balanced
282 0 0 if ($carry->is_nil)
315 0 0 $balanced ? :
320 0 0 if ($ld <= 5) { }
338 0 0 $balanced ? :
355 0 0 $balanced ? :
367 0 0 $a == $idx[0] ? :
376 0 0 $balanced ? :
392 0 0 $a == $idx[0] ? :
403 0 0 unless exists $operators{$raw_name}
405 0 0 if ('ARRAY' eq ref $this)
407 0 0 unless (defined $this)
419 0 0 defined $kind ? :
424 0 0 if ('ARRAY' eq ref $orec)
427 0 0 defined $orec ? :
456 0 0 if (defined $ari)
460 0 0 exists $glossary{$name} ? :
466 0 0 if (0 == $this->op_kind or 1 == $this->op_kind)
476 0 0 0 < $var_args ? :
478 0 0 $balanced ? :
480 0 0 unless $meth
482 0 0 if ($result ne '')
485 0 0 if (1 == $ret_vals and $args < @table_funcs)