lib/Badger/Config/Item.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 47 | 27.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
204 | 9 | 167 | 0 | &blessed($object) and $method = $self->{'method'} |
224 | 0 | 0 | 0 | @$args and defined $args->[0] |
0 | 0 | 0 | @$args and defined $args->[0] and not $args->[0] =~ /^-/ | |
230 | 0 | 0 | 0 | @$args and defined $args->[0] |
0 | 0 | 0 | @$args and defined $args->[0] and not $args->[0] =~ /^-/ |
line | l | !l | condition |
---|---|---|---|
45 | 59 | 0 | $config->{'name'} || (return $self->error_msg('missing', 'name')) |
66 | 0 | 59 | $config->{'alias'} || {} |
78 | 7 | 52 | $config->{'fallback'} || [] |
91 | 40 | 0 | $fall->fallback($name, $type, $data) || (return $self->error_msg('bad_type', $name, $type)) |
108 | 0 | 59 | $config->{'arity'} || 0 |
172 | 0 | 1 | $self->{'message'} || 'missing' |
188 | 0 | 0 | $target->{$name} ||= [] |
195 | 0 | 0 | $target->{$name} ||= {} |
259 | 0 | 0 | $self->{'args'} || '' |
260 | 0 | 0 | $self->{'about'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
39 | 59 | 0 | 0 | delete $config->{'fallback_provider'} || $self |
103 | 0 | 0 | 59 | $config->{'message'} || $config->{'error'} |
135 | 267 | 0 | 0 | $class ||= $target |
183 | 176 | 0 | 0 | $object ||= $target |