blib/lib/Parse/Method/Signatures/TypeConstraint.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 24 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
47 | 0 | 0 | 0 | $type and $type->isa('MooseX::Types::UndefinedType') |
57 | 0 | 0 | 0 | $func and defined $proto |
0 | 0 | 0 | $func and defined $proto and not length $proto |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
53 | 0 | 0 | 0 | Class::MOP::class_of($pkg) || 'Class::MOP::Class'->initialize($pkg) |
63 | 8 | 1 | 0 | $type || $registry->find_type_constraint($name) || $name |
84 | 4 | 7 | 0 | $self->_union_node($data) || $self->_params_node($data) || $self->_str_node($data) || $self->_leaf($data) |
121 | 1 | 0 | 7 | $data->isa('PPI::Token::StringifiedWord') or $data->isa('PPI::Token::Number') |
1 | 0 | 7 | $data->isa('PPI::Token::StringifiedWord') or $data->isa('PPI::Token::Number') or $data->isa('PPI::Token::Quote') |