Branch Coverage

lib/FormValidator/Simple/Plugin/HTML.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
24 0 14 unless defined $data
25 12 2 &Scalar::Util::Numeric::isnum($data) ? :
35 0 2 unless defined $maxlength and &Scalar::Util::Numeric::isnum($maxlength)
39 1 1 length $data <= $maxlength ? :
45 0 3 unless &Scalar::Util::Numeric::isnum($data)
48 0 3 unless defined $max and &Scalar::Util::Numeric::isnum($max)
52 2 1 $data <= $max ? :
58 0 5 unless &Scalar::Util::Numeric::isnum($data)
61 0 5 unless defined $min and &Scalar::Util::Numeric::isnum($min)
65 3 2 $data >= $min ? :
70 5 0 defined $$params[0] ? :
71 5 0 defined $$args[0] ? :
73 2 3 $data =~ qr/^(?:$pattern)$/ ? :