Branch Coverage

blib/lib/String/Validator/Common.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
64 13 11 if (0 == length $string2) { }
6 5 elsif ($string1 ne $string2) { }
77 3 10 if ($strlen < $self->{'min_len'})
82 8 2 if ($self->{'max_len'})
83 3 5 if ($strlen > $self->{'max_len'})
94 1 12 if ($self->Start($string1, $string2))
97 5 7 if ($self->Length)
123 1 2 if ($self->Check($string1, $string2)) { }
129 1 2 if ($self->Check($string1, $string2)) { }