| lib/Class/Dot/Meta/Accessor/Constrained.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 22 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 47 | 0 | 0 | unless (&$check_constraint($value)) |
| 53 | 0 | 0 | if ($$options{'-optimized'}) { } |
| 72 | 3 | 4 | if (defined $value) |
| 73 | 1 | 2 | unless $$priv{'has_setter'} |
| 75 | 0 | 2 | unless (&$check_constraint($value)) |
| 80 | 2 | 0 | if ($$options{'-optimized'}) { } |
| 89 | 0 | 4 | unless ($$priv{'has_getter'}) |
| 93 | 2 | 2 | unless (exists $$self{$property_key}) |
| 95 | 2 | 0 | if (_NEWSCHOOL_TYPE($isa)) { } |
| 0 | 0 | elsif (_OLDSCHOOL_TYPE($isa)) { } | |
| 106 | 4 | 0 | $$options{'-optimized'} ? : |