blib/lib/Sub/Meta.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 53 | 53 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
225 | 1 | 1 | 1 | $self->is_method and $v == 0 |
241 | 3 | 1 | 21 | &Scalar::Util::blessed($v) and $v->isa('Sub::Meta::Returns') |
297 | 1 | 1 | 37 | &Scalar::Util::blessed($other) and $other->isa('Sub::Meta') |
328 | 1 | 1 | 37 | &Scalar::Util::blessed($other) and $other->isa('Sub::Meta') |
389 | 1 | 1 | 18 | &Scalar::Util::blessed($other) and $other->isa('Sub::Meta') |
425 | 1 | 1 | 18 | &Scalar::Util::blessed($other) and $other->isa('Sub::Meta') |
line | l | !l | condition |
---|---|---|---|
114 | 217 | 27 | $self->subinfo->[1] // '' |
115 | 31 | 16 | $self->subinfo->[0] // '' |
389 | 1 | 1 | $other // '' |
425 | 1 | 1 | $other // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
70 | 1 | 1 | 22 | $args->{'is_method'} || $args->{'parameters'}{'nshift'} || $args->{'parameters'}{'invocant'} |
74 | 1 | 1 | 21 | exists $args->{'is_method'} || exists $args->{'parameters'}{'nshift'} || exists $args->{'parameters'}{'invocant'} |
81 | 2 | 2 | 14 | $args->{'is_method'} || $args->{'nshift'} || $args->{'invocant'} |
85 | 1 | 2 | 13 | exists $args->{'is_method'} || exists $args->{'nshift'} || exists $args->{'invocant'} |
131 | 8 | 18 | 20 | $self->{'file'} ||= $self->_build_file |
132 | 8 | 18 | 20 | $self->{'line'} ||= $self->_build_line |
133 | 11 | 2 | 60 | $self->{'prototype'} ||= $self->_build_prototype |
134 | 17 | 20 | 36 | $self->{'attribute'} ||= $self->_build_attribute |
135 | 3 | 2 | 44 | $self->{'is_constant'} ||= !!$self->_build_is_constant |