| blib/lib/Scalar/Type.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 26 | 30 | 86.6 |
| line | true | false | branch |
|---|---|---|---|
| 80 | 1 | 6 | $_ eq 'is_*' ? : |
| 108 | 1 | 98 | if $#_ == -1 |
| 110 | 0 | 91 | $BOOL_SUPPORTED && isbool($arg) ? : |
| 2 | 91 | !defined($arg) ? : | |
| 4 | 93 | ref $arg ? : | |
| 1 | 97 | &blessed($arg) ? : | |
| 124 | 1 | 3 | if $#_ == -1 |
| 127 | 1 | 2 | if ($type eq 'INTEGER') { } |
| 1 | 1 | elsif ($type eq 'NUMBER') { } | |
| 148 | 1 | 56 | if $#_ == -1 |
| 149 | 17 | 39 | type(@_) eq 'INTEGER' ? : |
| 160 | 1 | 23 | if $#_ == -1 |
| 161 | 16 | 7 | is_integer(@_) || type(@_) eq 'NUMBER' ? : |
| 173 | 1 | 0 | unless $BOOL_SUPPORTED |
| 174 | 0 | 0 | if $#_ == -1 |