Condition Coverage

blib/lib/Params/Check.pm
Criterion Covered Total %
condition 41 58 70.6


and 3 conditions

line !l l&&!r l&&r condition
252 1 37 0 $utmpl and $href
271 36 0 1 $Params::Check::PRESERVE_CASE and not $Params::Check::STRIP_LEADING_DASHES
297 36 4 3 $$tmpl{'required'} and not exists $$args{$key}
377 27 3 4 $tmpl{'defined'} || $Params::Check::ONLY_ALLOW_DEFINED and not defined $arg
385 25 3 2 $tmpl{'strict_type'} || $Params::Check::STRICT_TYPE and ref $arg ne ref $tmpl{'default'}
396 14 9 5 exists $tmpl{'allow'} and not do { local $Params::Check::_ERROR_STRING; allow($arg, $tmpl{'allow'}) }
418 20 14 0 $wrong || $warned and $Params::Check::WARNINGS_FATAL
516 0 0 11 defined $_[0] && defined $_[1]

or 2 conditions

line l !l condition
259 0 37 $Params::Check::VERBOSE || 0
357 0 2 $warned ||= 1
372 0 1 $warned ||= 1
380 0 4 $wrong ||= 1
388 2 0 ref $tmpl{'default'} || 'SCALAR'
390 0 2 $wrong ||= 1
407 0 5 $wrong ||= 1
522 11 11 $_[0] || 0
524 5 17 (caller 2 + $Params::Check::CALLER_DEPTH + $level)[3] || 'ANON'
543 1 18 $verbose ||= 0
544 0 19 $offset ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
259 0 0 37 $verbose ||= $Params::Check::VERBOSE || 0
377 5 0 29 $tmpl{'defined'} || $Params::Check::ONLY_ALLOW_DEFINED
385 3 0 27 $tmpl{'strict_type'} || $Params::Check::STRICT_TYPE
418 11 3 20 $wrong || $warned