| blib/lib/vars/global.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 22 | 90.9 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 3 | 5 | if lc $param eq 'create' |
| 22 | 1 | 4 | if (lc $param eq ':all') |
| 25 | 0 | 0 | if shift() eq 'create' |
| 48 | 1 | 15 | unless exists $ref_for{$symbol} |
| 61 | 1 | 18 | unless defined $symbol |
| 62 | 1 | 17 | unless length $symbol |
| 64 | 2 | 15 | unless $identifier =~ /\A \w+ \z/msx |
| 72 | 4 | 1 | $sigil eq '%' ? : |
| 6 | 5 | $sigil eq '@' ? : | |
| 4 | 11 | $sigil eq '$' ? : | |
| 83 | 1 | 15 | unless my $ref = $package->has($symbol) |