| blib/lib/Test2/Compare/Number.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 24 | 91.6 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 1 | 8 | unless defined $input |
| 24 | 2 | 6 | unless length $input and $input =~ /\S/ |
| 38 | 2 | 12 | unless @_ |
| 41 | 2 | 10 | unless defined $got |
| 42 | 0 | 10 | unless length $got and $got =~ /\S/ |
| 44 | 6 | 4 | if $self->{'negate'} |
| 53 | 2 | 29 | unless $exists |
| 54 | 2 | 27 | unless defined $got |
| 55 | 2 | 25 | if ref $got |
| 56 | 2 | 23 | unless length $got and $got =~ /\S/ |
| 65 | 8 | 15 | $negate ? : |
| 69 | 5 | 0 | if ($warn =~ /numeric/) |