| blib/lib/Resource/Silo/Container.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 31 | 34 | 91.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 136 | 151 | 3 | 2 | $self->{'-locked'} and not $spec->{'derived'} |
| 154 | 1 | 1 | $self->{'-locked'} and not $spec->{'derived'} and not $self->{'-override'}{$name} | |
| 164 | 0 | 2 | 1 | ref $entity eq "" and $entity eq "" |
| 179 | 110 | 9 | 27 | $opt{'fork'} and not $opt{'force'} |
| 119 | 18 | 9 | $opt{'fork'} and not $opt{'force'} and $spec->{'fork_safe'} | |
| 227 | 167 | 9 | 5 | $self->{'-allow'} and not $self->{'-allow'}{$name} |
| 231 | 136 | 1 | 39 | defined $arg && !ref($arg) |
| line | l | !l | condition |
|---|---|---|---|
| 122 | 31 | 130 | $arg //= "" |
| 266 | 1 | 10 | builtin::reftype($init) // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 51 | 73 | 2 | 0 | $Resource::Silo::metadata{ref $self} // _silo_find_metaclass($self) |
| 156 | 8 | 145 | 0 | $self->{'-override'}{$name} // $spec->{'init'} |
| 164 | 1 | 1 | 2 | not defined $entity or ref $entity eq "" and $entity eq "" |