Condition Coverage

blib/lib/MooseX/App/Meta/Role/Attribute/Option.pm
Criterion Covered Total %
condition 20 56 35.7


and 3 conditions

line !l l&&!r l&&r condition
94 0 151 0 $type_constraint and $type_constraint->isa('Moose::Meta::TypeConstraint::Parameterized')
108 0 0 0 defined $type_constraint and $type_constraint->is_a_type_of('Bool')
112 0 0 0 $from_constraint and $from_constraint->is_a_type_of('Ref')
0 0 0 $type_constraint and $type_constraint->is_a_type_of('Ref')
119 151 0 0 $self->has_cmd_negate and !$type_constraint || $type_constraint->is_a_type_of('Bool')
126 151 0 0 $self->cmd_count and not $type_constraint->is_a_type_of('Num')
130 151 0 0 $self->has_cmd_split and not $from_constraint && $from_constraint->is_a_type_of('ArrayRef') || $type_constraint->is_a_type_of('ArrayRef')
287 170 0 28 $self->is_required and not $self->is_lazy_build
170 3 25 $self->is_required and not $self->is_lazy_build and not $self->has_default
293 194 3 1 $self->has_default and not $self->is_default_a_coderef
294 0 0 1 $self->has_type_constraint and $self->type_constraint->is_a_type_of('Bool')
337 0 184 14 $self->can('has_cmd_env') and $self->has_cmd_env
342 0 0 198 $self->can('cmd_tags') and $self->can('cmd_tags')
0 169 29 $self->can('cmd_tags') and $self->can('cmd_tags') and $self->has_cmd_tags

or 2 conditions

line l !l condition
152 0 6 $singular //= 1

or 3 conditions

line l !l&&r !l&&!r condition
112 0 0 0 $from_constraint and $from_constraint->is_a_type_of('Ref') or $type_constraint and $type_constraint->is_a_type_of('Ref')
119 0 0 0 !$type_constraint || $type_constraint->is_a_type_of('Bool')
130 0 0 0 $from_constraint && $from_constraint->is_a_type_of('ArrayRef') || $type_constraint->is_a_type_of('ArrayRef')
151 6 0 0 $type_constraint //= $self->type_constraint