Condition Coverage

blib/lib/Minions.pm
Criterion Covered Total %
condition 40 57 70.1


and 3 conditions

line !l l&&!r l&&r condition
576 0 43 7 not $spec->{'implementation'}{'methods'}{$name} and $meta->{'reader'}
43 0 7 not $spec->{'implementation'}{'methods'}{$name} and $meta->{'reader'} and $in_interface->{$name}
585 7 43 0 not $spec->{'implementation'}{'methods'}{$name} and $meta->{'writer'}
43 0 0 not $spec->{'implementation'}{'methods'}{$name} and $meta->{'writer'} and $in_interface->{$name}
624 66 0 1 exists $spec->{'implementation'}{'semiprivate'}{$called} and $caller_pkg eq ref $self

or 2 conditions

line l !l condition
156 30 53 $from_role ||= {}
169 4 26 $meta->{'roles'} || []
183 0 49 $from_traitlib ||= {}
196 0 0 $meta->{'traitlibs'} || []
236 49 47 $type ||= 'required_by_traitlib'
678 77 109 $type ||= 'interface'

or 3 conditions

line l !l&&r !l&&!r condition
61 53 0 0 $spec->{'name'} ||= "Minions::Class_${\++$Class_count;}"
73 51 2 0 $cls_stash ||= 'Package::Stash'->new($spec->{'name'})
78 4 45 0 $Bound_implementation_of{$spec->{'name'}} || $spec->{'implementation'}
245 1 1 1 defined $spec->{'implementation'}{'methods'}{$name} or defined $spec->{'implementation'}{'semiprivate'}{$name}
334 0 40 2 $in_role_interface->{$name} or $in_class_interface->{$name}
398 1 48 0 $spec->{'class_methods'} ||= $stash->get_all_symbols('CODE')
481 12 26 7 $spec->{'construct_with'}{$name}{'optional'} or defined $arg->{$name}
505 2 1 44 $spec->{'build_args'} || $spec->{'class_methods'}{'BUILDARGS'}
559 8 1 0 $r eq $spec->{'interface_name'} || $spec->{'name'} eq $r || $spec->{'composed_role'}{$r} || $self->isa($r)
665 4 10 0 $target_method->{$meth} || $meth