Condition Coverage

blib/lib/Params/Check/Faster.pm
Criterion Covered Total %
condition 35 51 68.6


and 3 conditions

line !l l&&!r l&&r condition
263 0 38 0 $_[0] and $_[1]
342 30 3 4 $arg_template{'defined'} || $Params::Check::Faster::ONLY_ALLOW_DEFINED and not defined $arg_value
352 28 3 2 $arg_template{'strict_type'} || $Params::Check::Faster::STRICT_TYPE and ref $arg_value ne ref $arg_template{'default'}
364 17 9 5 exists $arg_template{'allow'} and not do { local $Params::Check::Faster::_ERROR_STRING; allow($arg_value, $arg_template{'allow'}) }
423 0 16 1 $Params::Check::Faster::SANITY_CHECK_TEMPLATE and exists $$t_value{'store'}
16 0 1 $Params::Check::Faster::SANITY_CHECK_TEMPLATE and exists $$t_value{'store'} and not ref $$t_value{'store'}
433 21 17 0 $wrong || $warned and $Params::Check::Faster::WARNINGS_FATAL
465 0 6 0 $Params::Check::Faster::SANITY_CHECK_TEMPLATE and not ref $ref
573 0 0 11 defined $_[0] && defined $_[1]

or 2 conditions

line l !l condition
269 0 38 $_[2] || $Params::Check::Faster::VERBOSE || 0
353 2 0 ref $arg_template{'default'} || 'SCALAR'
582 11 11 $_[0] || 0
584 5 17 (caller 2 + $Params::Check::Faster::CALLER_DEPTH + $level)[3] || 'ANON'
603 0 18 $verbose ||= 0
604 0 18 $offset ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
297 40 0 1 not $Params::Check::Faster::PRESERVE_CASE or $Params::Check::Faster::STRIP_LEADING_DASHES
342 5 0 32 $arg_template{'defined'} || $Params::Check::Faster::ONLY_ALLOW_DEFINED
352 3 0 30 $arg_template{'strict_type'} || $Params::Check::Faster::STRICT_TYPE
433 14 3 21 $wrong || $warned