Condition Coverage

blib/lib/Data/Validate/Type.pm
Criterion Covered Total %
condition 49 56 87.5


and 3 conditions

line !l l&&!r l&&r condition
182 48 21 3 not $allow_empty and length $variable == 0
244 330 66 0 defined $element_validate_type and not is_coderef($element_validate_type)
250 18 378 0 defined $variable and ref $variable
269 72 12 3 not $allow_empty and scalar @$variable == 0
326 15 339 0 defined $variable and ref $variable
345 48 6 3 not $allow_empty and scalar keys %$variable == 0
369 3 129 0 defined $variable and ref $variable
423 72 12 6 $positive and $variable < 0
424 66 9 9 $strictly_positive and $variable <= 0
466 9 191 0 defined $variable and &Scalar::Util::blessed($variable)
488 3 57 6 defined $variable && ref $variable eq 'Regexp'

or 2 conditions

line l !l condition
242 66 330 delete $args{'no_blessing'} || 0
321 66 288 delete $args{'no_blessing'} || 0
411 66 264 delete $args{'positive'} || 0
412 66 264 delete $args{'strictly_positive'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
179 9 117 72 not defined $variable or ref $variable
261 75 0 120 &Scalar::Util::reftype($variable) eq 'ARRAY' or overload::Method($variable, '@{}')
337 51 0 123 &Scalar::Util::reftype($variable) eq 'HASH' or overload::Method($variable, '%{}')
417 15 195 120 not defined $variable or ref $variable
460 1 1 200 not defined $class or $class eq ''