blib/lib/Eixo/Base/Singleton.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
13 | 3 | 6 | if defined &{$clase . '::SINGLETON';} |
27 | 24 | 0 | if (my $method = $instance->can('__' . $attribute)) { } |
38 | 6 | 0 | if ($instance->can('initialize')) |
49 | 2 | 6 | $class->can('SINGLETON') ? : |
51 | 2 | 6 | if ($self) { } |
61 | 6 | 0 | if $self->can('__initialize') |
77 | 17 | 0 | unless (defined &{$class . '::__' . $attribute;}) |
83 | 6 | 18 | if (defined $value) { } |