blib/lib/accessors.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
42 | 7 | 16 | unless my(@properties) = @_ |
51 | 0 | 16 | if $class->Debug |
56 | 8 | 13 | unless $class->isa_valid_name($property) |
58 | 0 | 13 | if $class->Debug > 1 |
73 | 3 | 4 | @_ > 1 ? : |
81 | 2 | 19 | unless $property =~ /^(?!\d)\w+$/ |
82 | 6 | 13 | if grep {$property eq $_;} $class->InvalidNames |