| blib/lib/FormValidator/Simple.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 26 | 76.9 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 1 | 1 | if ($plugin =~ /^\+(.*)/) { } |
| 36 | 0 | 2 | unless ('Class::Inspector'->installed($plugin)) |
| 42 | 0 | 2 | if ($@) |
| 63 | 1 | 3 | if (blessed $proto) { } |
| 65 | 1 | 0 | if ($proto->results) { } |
| 107 | 0 | 1 | unless (ref $self) |
| 112 | 0 | 1 | unless ($name and $type) |
| 123 | 3 | 52 | blessed $proto ? : |
| 141 | 79 | 22 | @$params == 1 ? : |
| 144 | 79 | 22 | if (scalar @$params == 1) |
| 145 | 10 | 69 | unless (defined $$params[0] and $$params[0] ne '') |
| 146 | 10 | 0 | if ($constraints->needs_blank_check) |
| 160 | 6 | 103 | if $data |