blib/lib/Brick/Bucket.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 17 | 64.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
136 | 14 | 6 | 0 | do { exists $bucket->{$sub} } && do { no warnings; my $old_name = $bucket->{$sub}{'name'} } |
line | l | !l | condition |
---|---|---|---|
126 | 0 | 20 | $unique ||= 0 |
176 | 14 | 6 | $entry->get_description || $description || 'This spot left intentionally blank by a naughty programmer' |
184 | 6 | 14 | $entry->{'created_by'} ||= [map({$_->{'sub'} =~ /add_to_bucket/ ? () : $_->{'sub'};} @caller)] |
381 | 0 | 14 | $self->{'comprises'} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
132 | 0 | 2 | 0 | $name ||= $default |
158 | 6 | 14 | 0 | $bucket->{$sub} || $bucket->entry_class->new($setup) |