line |
true |
false |
branch |
91
|
1 |
89 |
unless $opt{'name'} |
98
|
9 |
68 |
ref $opt{'type'} eq 'ARRAY' ? : |
|
12 |
77 |
!$opt{'type'} ? : |
101
|
8 |
81 |
if ($opt{'enum'}) { } |
|
2 |
79 |
elsif ($type eq 'boolean') { } |
|
12 |
67 |
elsif ($type eq 'integer' or $type eq 'number') { } |
|
67 |
0 |
elsif ($type eq 'string') { } |
110
|
11 |
1 |
if ($type eq "integer") |
119
|
4 |
63 |
if ($format eq 'textarea') { } |
|
14 |
49 |
elsif ($format eq 'email') { } |
|
7 |
42 |
elsif ($format eq 'date-time') { } |
|
1 |
41 |
elsif ($format eq 'markdown') { } |
|
9 |
32 |
elsif ($format eq 'password') { } |
137
|
5 |
84 |
if (my $readonly = delete $opt{'readOnly'} || delete $opt{'readonly'}) |
159
|
4 |
0 |
exists $opt{'required'} ? : |
171
|
0 |
4 |
$required ? : |
|
0 |
4 |
$opt{'class'} ? : |
179
|
0 |
4 |
if ($field->{'type'} eq "boolean") |
205
|
33 |
35 |
$required ? : |
|
1 |
67 |
$opt{'class'} ? : |
253
|
7 |
1 |
if (not exists $opt{'csrf'} or $opt{'csrf'}) |
256
|
1 |
6 |
unless ($c->tx->remote_address) |