| blib/lib/Resource/Silo/Container.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 28 | 92.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 136 | 145 | 3 | 2 | $self->{'-locked'} and not $spec->{'derived'} |
| 148 | 1 | 1 | $self->{'-locked'} and not $spec->{'derived'} and not $self->{'-override'}{$name} | |
| 174 | 105 | 9 | 27 | $opt{'fork'} and not $opt{'force'} |
| 114 | 18 | 9 | $opt{'fork'} and not $opt{'force'} and $spec->{'fork_safe'} | |
| 222 | 161 | 9 | 5 | $self->{'-allow'} and not $self->{'-allow'}{$name} |
| 226 | 132 | 1 | 37 | defined $arg && !ref($arg) |
| line | l | !l | condition |
|---|---|---|---|
| 122 | 29 | 126 | $arg //= "" |
| 261 | 1 | 10 | builtin::reftype($init) // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 51 | 69 | 2 | 0 | $Resource::Silo::metadata{ref $self} // _silo_find_metaclass($self) |
| 156 | 8 | 139 | 0 | $self->{'-override'}{$name} // $spec->{'init'} |