Condition Coverage

blib/lib/Sub/Meta.pm
Criterion Covered Total %
condition 50 50 100.0


and 3 conditions

line !l l&&!r l&&r condition
36 105 91 4 @args == 1 && (ref $args[0] || '') ne 'HASH'
64 163 26 1 exists $args->{'parameters'} and exists $args->{'parameters'}{'nshift'}
65 163 25 1 exists $args->{'parameters'} and exists $args->{'parameters'}{'invocant'}
196 1 1 1 $self->is_method and $v == 0
212 168 10 21 &Scalar::Util::blessed($v) and $v->isa("Sub::Meta::Returns")
274 1 1 37 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta")
298 1 1 37 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta")
356 2 1 19 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta")
382 2 1 20 &Scalar::Util::blessed($other) and $other->isa("Sub::Meta")

or 2 conditions

line l !l condition
91 218 49 $self->subinfo->[1] // ""
92 33 16 $self->subinfo->[0] // ""
356 1 2 $other // "Undef"
382 1 2 $other // "Undef"

or 3 conditions

line l !l&&r !l&&!r condition
108 9 26 20 $self->{'file'} ||= $self->_build_file
109 9 26 20 $self->{'line'} ||= $self->_build_line
110 11 2 70 $self->{'prototype'} ||= $self->_build_prototype
111 19 28 36 $self->{'attribute'} ||= $self->_build_attribute
112 3 2 53 $self->{'is_constant'} ||= !!$self->_build_is_constant