Condition Coverage

lib/Params/Profile.pm
Criterion Covered Total %
condition 21 30 70.0


and 3 conditions

line !l l&&!r l&&r condition
172 4 1 1 $type and $type ne 'dv'
181 3 1 0 $type and $type ne 'pc'

or 3 conditions

line l !l&&r !l&&!r condition
127 3 4 2 UNIVERSAL::isa($_[0], 'HASH') or UNIVERSAL::isa($_[0], 'ARRAY')
7 2 0 UNIVERSAL::isa($_[0], 'HASH') or UNIVERSAL::isa($_[0], 'ARRAY') or not ref $_[0]
6 0 0 UNIVERSAL::isa($_[0], 'HASH') or UNIVERSAL::isa($_[0], 'ARRAY') or not ref $_[0] or $_[0] eq {}
155 10 0 3 ref $profiles[$i] or 'Params::Profile'->Profiles->{$class->_full_method_name($profiles[$i], $caller)}
167 6 0 4 UNIVERSAL::isa($profiles[$i]{'required'}, 'ARRAY') or UNIVERSAL::isa($profiles[$i]{'optional'}, 'ARRAY')
210 19 8 0 shift() || $class->_get_caller_class
369 4 0 1 UNIVERSAL::isa($$profile{'required'}, 'ARRAY') or UNIVERSAL::isa($$profile{'optional'}, 'ARRAY')
422 2 0 1 UNIVERSAL::isa($$profile{'required'}, 'ARRAY') or UNIVERSAL::isa($$profile{'optional'}, 'ARRAY')