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