| blib/lib/FormValidator/Simple/Constants.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| statement | 8 | 10 | 80.0 | 
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 6 | 66.6 | 
| pod | 0 | 4 | 0.0 | 
| total | 12 | 20 | 60.0 | 
| line | stmt | bran | cond | sub | pod | time | code | 
|---|---|---|---|---|---|---|---|
| 1 | package FormValidator::Simple::Constants; | ||||||
| 2 | 28 | 28 | 149 | use strict; | |||
| 28 | 47 | ||||||
| 28 | 951 | ||||||
| 3 | 28 | 28 | 142 | use base qw/Exporter/; | |||
| 28 | 49 | ||||||
| 28 | 5090 | ||||||
| 4 | our @EXPORT = qw/SUCCESS FAIL TRUE FALSE/; | ||||||
| 5 | |||||||
| 6 | 0 | 0 | 0 | 0 | sub SUCCESS { 1 } | ||
| 7 | 0 | 0 | 0 | 0 | sub FAIL { !SUCCESS } | ||
| 8 | 913 | 913 | 0 | 8012 | sub TRUE { 1 } | ||
| 9 | 612 | 612 | 0 | 1387 | sub FALSE { !TRUE } | ||
| 10 | |||||||
| 11 | 1; | ||||||
| 12 | __END__ |