Branch Coverage

blib/lib/Math/Formula/Token.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
123 0 30 unless my $value = $self->child->compute($context)
164 0 239 unless my $left = $self->left->compute($context)
167 0 239 unless my $right = $self->right->compute($context)
174 36 203 if (my $rewrite = $comparison{$op})
176 36 0 if (my $result = $left->infix($spaceship, $right, $context))
201 0 7 unless my $cond = $self->condition->compute($context)
204 3 4 $cond->value ? :
218 4 0 defined $v ? :