Condition Coverage

blib/lib/MooseX/App/Meta/Role/Attribute/Option.pm
Criterion Covered Total %
condition 29 62 46.7


and 3 conditions

line !l l&&!r l&&r condition
94 23 178 0 $type_constraint and $type_constraint->isa('Moose::Meta::TypeConstraint::Parameterized')
110 0 0 0 defined $type_constraint and $type_constraint->is_a_type_of('Bool')
114 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 23 33 145 $type_constraint && $type_constraint->is_a_type_of('Bool')
145 55 1 not $type_constraint && $type_constraint->is_a_type_of('Bool') and &first(sub {
125 0 0 6 $type_constraint && $type_constraint->is_a_type_of('Bool')
194 6 0 $self->has_cmd_negate and not $type_constraint && $type_constraint->is_a_type_of('Bool')
133 177 0 0 $self->cmd_count and not $type_constraint->is_a_type_of('Num')
137 177 0 0 $self->has_cmd_split and not $from_constraint && $from_constraint->is_a_type_of('ArrayRef') || $type_constraint->is_a_type_of('ArrayRef')
294 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
300 194 3 1 $self->has_default and not $self->is_default_a_coderef
301 0 0 1 $self->has_type_constraint and $self->type_constraint->is_a_type_of('Bool')
344 0 184 14 $self->can('has_cmd_env') and $self->has_cmd_env
349 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
159 0 5 $singular //= 1

or 3 conditions

line l !l&&r !l&&!r condition
114 0 0 0 $from_constraint and $from_constraint->is_a_type_of('Ref') or $type_constraint and $type_constraint->is_a_type_of('Ref')
137 0 0 0 $from_constraint && $from_constraint->is_a_type_of('ArrayRef') || $type_constraint->is_a_type_of('ArrayRef')
158 5 0 0 $type_constraint //= $self->type_constraint