blib/lib/Rose/HTML/Form/Field/Integer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
21 | 7 | 22 | unless $ok |
24 | 1 | 21 | unless defined $value and length $value |
26 | 0 | 0 | unless $self->error_label |
28 | 1 | 20 | unless ($value =~ /^-?\d+$/) |
56 | 18 | 4 | if (@_) { } |