blib/lib/HTML/Tested/Value/Form.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 13936 | use strict; | |||
1 | 3 | ||||||
1 | 52 | ||||||
2 | 1 | 1 | 7 | use warnings FATAL => 'all'; | |||
1 | 13 | ||||||
1 | 69 | ||||||
3 | |||||||
4 | package HTML::Tested::Value::Form; | ||||||
5 | 1 | 1 | 6 | use base 'HTML::Tested::Value'; | |||
1 | 2 | ||||||
1 | 680 | ||||||
6 | |||||||
7 | sub value_to_string { | ||||||
8 | 5 | 5 | 1 | 11 | my ($self, $name, $val) = @_; | ||
9 | 5 | 25 | return " | ||||
10 | . " action=\"$val\" enctype=\"multipart/form-data\">\n"; | ||||||
11 | } | ||||||
12 | |||||||
13 | 1; |