Condition Coverage

blib/lib/Config/Strict.pm
Criterion Covered Total %
condition 27 49 55.1


and 3 conditions

line !l l&&!r l&&r condition
30 0 0 3 $class and not ref $class
31 0 0 3 @_ and @_ % 2 == 0
97 2 0 15 exists $$opts{'params'} and my $param = delete $$opts{'params'}
112 0 0 13 ref $required and ref $required eq 'ARRAY'
223 1 13 11 $self->param_exists($param) and $self->get_profile($param)->($value)
248 0 0 20 ref $result and $result->isa('Declare::Constraints::Simple::Result')
259 0 0 15 defined $param and ref $param
0 0 15 defined $param and ref $param and ref $param eq 'HASH'
0 0 15 defined $param and ref $param and ref $param eq 'HASH' and %$param
310 0 1 14 $sub and ref $sub
1 0 14 $sub and ref $sub and ref $sub eq 'CODE'
316 4 0 10 $class and $class eq 'Declare::Constraints::Simple::Result'
331 0 0 4 $sub and ref $sub eq 'CODE'

or 2 conditions

line l !l condition
100 8 7 delete $$opts{'required'} || []
101 8 7 delete $$opts{'defaults'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
36 0 1 6 exists $type_registry{$name} or $name eq 'Enum'
1 0 6 exists $type_registry{$name} or $name eq 'Enum' or $name eq 'Anon'