Condition Coverage

blib/lib/Newtype.pm
Criterion Covered Total %
condition 21 54 38.8


and 3 conditions

line !l l&&!r l&&r condition
43 6 0 6 @_ == 1 && is_HashRef($_[0])
179 9 0 2 $kind eq "Object" and is_Defined($known_class)
194 0 0 0 &Scalar::Util::blessed($r) and $r->can("class")
0 0 0 ref $self and $$self->DOES($r)
0 0 0 ref $self and $$self->can($m)
8 1 0 &Scalar::Util::blessed($c) and $c->can("class")
0 6 2 ref $self and $$self->isa($c)

or 2 conditions

line l !l condition
355 2 9 0 $self->{'methods'} // {}

or 3 conditions

line l !l&&r !l&&!r condition
30 0 0 5 ref $caller or $caller eq "-lexical"
0 0 5 ref $caller or $caller eq "-lexical" or $globals->{'lexical'}
62 27 10 0 $_[0]{'kind'} ||= $_[0]->_build_kind
73 0 1 2 $inner_type->is_a_type_of(&StrictNum()) or $inner_type->is_a_type_of(&LaxNum())
194 0 0 0 $r eq "Newtype" or $r eq "Object"
0 0 0 $r eq "Newtype" or $r eq "Object" or ref $self and $$self->DOES($r)
0 0 0 $r eq "Newtype" or $r eq "Object" or ref $self and $$self->DOES($r) or "Local::Foo"->DOES($r)
1 0 0 ref $self and $$self->can($m) or "Local::Foo"->can($m)
2 0 6 ref $self and $$self->isa($c) or "Local::Foo"->isa($c)
305 8 1 0 $inner_type->type_default // $self->_kind_default