line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
use strict; |
3
|
17
|
|
|
17
|
|
9080
|
use warnings; |
|
17
|
|
|
|
|
40
|
|
|
17
|
|
|
|
|
448
|
|
4
|
17
|
|
|
17
|
|
90
|
|
|
17
|
|
|
|
|
37
|
|
|
17
|
|
|
|
|
385
|
|
5
|
|
|
|
|
|
|
use Moo; |
6
|
17
|
|
|
17
|
|
495
|
use utf8; |
|
17
|
|
|
|
|
5854
|
|
|
17
|
|
|
|
|
96
|
|
7
|
17
|
|
|
17
|
|
6969
|
use namespace::clean; |
|
17
|
|
|
|
|
43
|
|
|
17
|
|
|
|
|
110
|
|
8
|
17
|
|
|
17
|
|
821
|
|
|
17
|
|
|
|
|
12290
|
|
|
17
|
|
|
|
|
167
|
|
9
|
|
|
|
|
|
|
with 'Dancer2::Plugin::FormValidator::Role::Validator'; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
return { |
12
|
|
|
|
|
|
|
en => '%s is required', |
13
|
|
|
|
|
|
|
ru => '%s обязательно для заполнения', |
14
|
3
|
|
|
3
|
0
|
1709
|
de => '%s ist erforderlich', |
15
|
|
|
|
|
|
|
}; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
around 'stop_on_fail' => sub { |
19
|
|
|
|
|
|
|
return 1; |
20
|
|
|
|
|
|
|
}; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
my ($self, $field, $input) = @_; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
return $self->_field_defined_and_non_empty($field, $input); |
25
|
41
|
|
|
41
|
0
|
100
|
} |
26
|
|
|
|
|
|
|
|
27
|
41
|
|
|
|
|
130
|
1; |