Condition Coverage

blib/lib/Catalyst/Action.pm
Criterion Covered Total %
condition 32 48 66.6


and 3 conditions

line !l l&&!r l&&r condition
52 0 26 436 scalar @{$self->attributes->{'Args'};} == 1 and &looks_like_number($self->attributes->{'Args'}[0])
96 2 20 2 $tc->can("is_strictly_a_type_of") and $tc->is_strictly_a_type_of("Tuple")
105 0 1 0 $final->can("is_strictly_a_type_of") and $final->is_strictly_a_type_of("Slurpy")
111 0 0 1 ref $final eq "HASH" and $final->{'slurpy'}
162 0 26 211 scalar @arg_protos == 1 and &looks_like_number($arg_protos[0])
193 1 3 1 $tc->can("is_strictly_a_type_of") and $tc->is_strictly_a_type_of("Tuple")
198 0 1 0 defined $parameters[-1] and exists $parameters[-1]{'slurpy'}
247 0 6 61 scalar @arg_protos == 1 and &looks_like_number($arg_protos[0])
264 0 32 0 defined $name and &blessed($name)
32 0 0 defined $name and &blessed($name) and $name->can("check")
328 0 6 105 scalar @{$self->attributes->{'CaptureArgs'};} == 1 and &looks_like_number($self->attributes->{'CaptureArgs'}[0])
386 5 76 8 $self->args_constraint_count == 1 and $self->args_constraints->[0]->is_a_type_of('Ref') || $self->args_constraints->[0]->is_a_type_of('ClassName')
451 11 27 13 $self->captures_constraints_count == 1 and $self->captures_constraints->[0]->is_a_type_of('Ref') || $self->captures_constraints->[0]->is_a_type_of('ClassName')

or 3 conditions

line l !l&&r !l&&!r condition
386 8 0 76 $self->args_constraints->[0]->is_a_type_of('Ref') || $self->args_constraints->[0]->is_a_type_of('ClassName')
400 5 2 1 $self->comparable_arg_number == '18446744073709551615' or scalar @args == $self->comparable_arg_number
451 13 0 27 $self->captures_constraints->[0]->is_a_type_of('Ref') || $self->captures_constraints->[0]->is_a_type_of('ClassName')