| blib/lib/Const/Dual.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 18 | 88.8 |
| line | true | false | branch |
|---|---|---|---|
| 62 | 0 | 5 | $] >= 5.008 && $] < 5.015004 ? : |
| 71 | 4 | 8 | ref $_[0] ? : |
| 72 | 1 | 11 | if $storehash and ref $storehash ne 'HASH' |
| 73 | 1 | 10 | if @_ % 2 |
| 77 | 1 | 15 | if ref $name or not $name =~ /^[a-zA-Z_][a-zA-Z0-9_]*$/ |
| 78 | 1 | 14 | if $forbidden{$name} |
| 80 | 8 | 6 | &Scalar::Util::looks_like_number($value) ? : |
| 81 | 6 | 8 | if $storehash |
| 83 | 0 | 14 | if _DOWNGRADE() and utf8::is_utf8($name) |