| blib/lib/Language/FormulaEngine/Namespace/Default.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 35 | 53 | 66.0 |
| line | l | !l | condition |
|---|---|---|---|
| 102 | 0 | 0 | $_->evaluate($self) and return 1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 127 | 0 | 2 | 24 | &Scalar::Util::looks_like_number($left) && &Scalar::Util::looks_like_number($right) |
| 147 | 0 | 0 | 2 | $_[0] > 0 and $_[0] < @_ |
| 319 | 0 | 0 | 0 | $ofs and $ofs > 0 |
| 326 | 6 | 0 | 4 | defined $comma and !$comma || $comma eq '.' |
| 348 | 34 | 0 | 48 | ref $date and ref($date)->isa('DateTime') |
| 356 | 0 | 0 | 2 | ref $_ && $_->can('message') |
| 404 | 0 | 0 | 24 | $standard >= 12 and $standard <= 17 |
| line | l | !l | condition |
|---|---|---|---|
| 90 | 5 | 1 | $_->evaluate($self) or return 0 |
| 232 | 2 | 2 | $min_length || 0 |
| 258 | 4 | 2 | $_[1] || 0 |
| 274 | 4 | 4 | $_[1] || 0 |
| 277 | 4 | 4 | $_[1] || 0 |
| 361 | 2 | 0 | $unit || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 128 | 2 | 0 | 24 | $op eq '==' or $op eq '!=' |
| 2 | 4 | 18 | $op eq '>=' or $op eq '<' | |
| 2 | 16 | 0 | $op eq '<=' or $op eq '>' | |
| 326 | 2 | 2 | 0 | !$comma || $comma eq '.' |
| 401 | 4 | 4 | 36 | not $standard or $standard == 1 |
| 402 | 4 | 4 | 28 | $standard == 2 or $standard == 11 |