| blib/lib/Lexical/Attributes.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 23 | 26 | 88.4 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 16 | 36 | if not $trait or $trait eq 'priv' |
| 36 | 1 | 63 | if ($attributes{$name}) |
| 44 | 41 | 22 | unless ($trait eq 'pr') |
| 45 | 27 | 14 | if ($sigil eq '$') { } |
| 7 | 7 | elsif ($sigil eq '@') { } | |
| 7 | 0 | elsif ($sigil eq '%') { } | |
| 76 | 29 | 12 | if ($trait eq 'rw') |
| 77 | 17 | 12 | if ($sigil eq '$') { } |
| 6 | 6 | elsif ($sigil eq '@') { } | |
| 6 | 0 | elsif ($sigil eq '%') { } | |
| 151 | 0 | 95 | unless ($attributes{$name}) |
| 157 | 62 | 33 | if ($sigil eq '$') { } |
| 187 | 100 | 22 | defined $1 ? : |