blib/lib/Beam/Wire.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 47 | 58 | 81.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
263 | 5 | 2 | 136 | ref $config_ref eq 'HASH' and $self->is_meta($config_ref, 1) |
489 | 142 | 6 | 2 | exists $service_info{'value'} and exists $service_info{'class'} || exists $service_info{'extends'} |
549 | 0 | 130 | 1 | $service_info{'class'}->can('DOES') and $service_info{'class'}->DOES('Beam::Service') |
577 | 8 | 0 | 1 | $$conf{$meta{'method'}} and not $$conf{$meta{'sub'}} |
625 | 24 | 2 | 8 | ref $service_info{'args'} eq 'HASH' and ref $base_config{'args'} eq 'HASH' |
669 | 3 | 3 | 2 | exists $args{'file'} and not path($args{'file'})->is_absolute |
784 | 145 | 14 | 139 | $root and scalar @keys eq grep({$meta{$_};} @keys) |
993 | 74 | 21 | 1 | $self->file and not path($self->file)->exists |
1007 | 170 | 3 | 1 | $lifecycle and $lifecycle eq 'eager' |
1069 | 0 | 1 | 2 | exists $config{'value'} and exists $config{'class'} || exists $config{'extends'} |
line | l | !l | condition |
---|---|---|---|
533 | 6 | 127 | $service_info{'method'} || 'new' |
538 | 1 | 3 | $m->{'return'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
266 | 122 | 2 | 5 | not $config{'lifecycle'} or lc $config{'lifecycle'} ne 'factory' |
489 | 5 | 1 | 2 | exists $service_info{'class'} || exists $service_info{'extends'} |
543 | 2 | 1 | 1 | !defined($service) || $return eq 'chain' |
580 | 7 | 1 | 1 | delete $$conf{$meta{'sub'}} || delete $$conf{$meta{'method'}} |
1006 | 4 | 0 | 170 | $config->{'lifecycle'} || $$config{$meta{'lifecycle'}} |
1069 | 2 | 1 | 0 | exists $config{'class'} || exists $config{'extends'} |
1091 | 0 | 0 | 0 | $config{'value'} or $config{'class'} |
0 | 0 | 0 | $config{'value'} or $config{'class'} or $config{'extends'} |