blib/lib/Math/Formula/Token.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 16 | 62.5 |
line | true | false | branch |
---|---|---|---|
115 | 0 | 30 | unless my $value = $self->child->compute($context) |
157 | 0 | 237 | unless my $left = $self->left->compute($context) |
160 | 0 | 237 | unless my $right = $self->right->compute($context) |
167 | 36 | 201 | if (my $rewrite = $comparison{$op}) |
169 | 36 | 0 | if (my $result = $left->infix($spaceship, $right, $context)) |
195 | 0 | 7 | unless my $cond = $self->condition->compute($context) |
198 | 3 | 4 | $cond->value ? : |
213 | 4 | 0 | defined $v ? : |