Condition Coverage

lib/UR/Role/Prototype.pm
Criterion Covered Total %
condition 27 50 54.0


and 3 conditions

line !l l&&!r l&&r condition
87 0 41 1 $extra and %$extra
232 0 12703 59 $desc->{'roles'} and @{$desc->{'roles'};}
446 49 3 5 defined $value and not defined $fallback
451 47 2 3 defined $fallback and defined $value
469 693 58 183 defined $desc->{$meta_prop_name} and $meta_prop_name ne 'valid_signals'
736 0 0 0 defined $func and $func eq 'role'
0 0 0 defined $func and $func eq 'role' and @params > 1
0 0 0 defined $func and $func eq 'role' and @params > 1 and $role_name ne 'UR::Role'
738 0 0 0 @params == 2 and ref $params[1] eq 'HASH'
0 0 0 @params == 2 and ref $params[1] eq 'ARRAY'

or 2 conditions

line l !l condition
482 0 4 $meta_properties_to_add{'valid_signals'} ||= []
571 0 7 $overridden_methods_by_role{$role_name} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
227 0 0 12763 ref $class or ref $desc ne 'HASH'
498 5 7 3 $found_properties_and_methods{$requirement} ||= _class_desc_lineage_has_method_or_property($desc, $requirement)
583 0 5 3 $method_is_overridden{$_} ||= _coderef_overrides_package($this_class_methods{$_}, $role_name)
608 5 1 1 exists $this_role_methods->{$_} || exists $role->has->{$_}

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
452 1 0 1 1 $fallback xor $value