| blib/lib/Test/Stream/Compare/Number.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 24 | 91.6 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 1 | 6 | unless defined $input |
| 18 | 2 | 4 | unless length $input and $input =~ /\S/ |
| 32 | 2 | 9 | unless @_ |
| 35 | 2 | 7 | unless defined $got |
| 36 | 0 | 7 | unless length $got and $got =~ /\S/ |
| 38 | 3 | 4 | if $self->{'negate'} |
| 47 | 2 | 23 | unless $exists |
| 48 | 2 | 21 | unless defined $got |
| 49 | 2 | 19 | if ref $got |
| 50 | 2 | 17 | unless length $got and $got =~ /\S/ |
| 59 | 4 | 13 | $negate ? : |
| 63 | 4 | 0 | if ($warn =~ /numeric/) |