blib/lib/Data/FormValidator/Constraints/Upload.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 20 | 20 | 100.0 |
pod | 4 | 8 | 50.0 |
line | count | pod | subroutine |
---|---|---|---|
2 | 3 | n/a | BEGIN |
3 | 3 | n/a | BEGIN |
30 | 5 | Yes | file_format |
32 | 5 | n/a | __ANON__ |
39 | 5 | Yes | image_max_dimensions |
42 | 6 | n/a | __ANON__ |
49 | 2 | Yes | file_max_bytes |
51 | 2 | n/a | __ANON__ |
58 | 2 | Yes | image_min_dimensions |
61 | 2 | n/a | __ANON__ |
68 | 8 | No | valid_file_format |
114 | 3 | n/a | BEGIN |
150 | 12 | n/a | _is_allowed_type |
163 | 10 | No | valid_image_max_dimensions |
191 | 4 | No | valid_file_max_bytes |
226 | 4 | No | valid_image_min_dimensions |
259 | 14 | n/a | _get_img_size |
296 | 26 | n/a | _get_upload_fh |
303 | 3 | n/a | BEGIN |
321 | 8 | n/a | _get_upload_mime_type |