| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Test::Shared::Fixture::Data::OFN::Address::Struct; |
|
2
|
|
|
|
|
|
|
|
|
3
|
29
|
|
|
29
|
|
4273297
|
use base qw(Data::OFN::Address); |
|
|
29
|
|
|
|
|
73
|
|
|
|
29
|
|
|
|
|
20321
|
|
|
4
|
29
|
|
|
29
|
|
231
|
use strict; |
|
|
29
|
|
|
|
|
60
|
|
|
|
29
|
|
|
|
|
1048
|
|
|
5
|
29
|
|
|
29
|
|
159
|
use warnings; |
|
|
29
|
|
|
|
|
61
|
|
|
|
29
|
|
|
|
|
1956
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
29
|
|
|
29
|
|
17525
|
use Class::Utils qw(split_params); |
|
|
29
|
|
|
|
|
37404
|
|
|
|
29
|
|
|
|
|
2240
|
|
|
8
|
29
|
|
|
29
|
|
18290
|
use Data::Text::Simple; |
|
|
29
|
|
|
|
|
9139696
|
|
|
|
29
|
|
|
|
|
1556
|
|
|
9
|
29
|
|
|
29
|
|
294
|
use Unicode::UTF8 qw(decode_utf8); |
|
|
29
|
|
|
|
|
69
|
|
|
|
29
|
|
|
|
|
7006
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = 0.02; |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub new { |
|
14
|
28
|
|
|
28
|
1
|
6088977
|
my ($class, @params) = @_; |
|
15
|
|
|
|
|
|
|
|
|
16
|
28
|
|
|
|
|
345
|
my ($object_params_ar) = split_params(['id'], @params); |
|
17
|
|
|
|
|
|
|
@params = ( |
|
18
|
28
|
|
|
|
|
405
|
@{$object_params_ar}, |
|
|
28
|
|
|
|
|
659
|
|
|
19
|
|
|
|
|
|
|
'house_number' => 12, |
|
20
|
|
|
|
|
|
|
'house_number_type' => decode_utf8('č.p.'), |
|
21
|
|
|
|
|
|
|
'municipality_name' => [ |
|
22
|
|
|
|
|
|
|
Data::Text::Simple->new( |
|
23
|
|
|
|
|
|
|
'lang' => 'cs', |
|
24
|
|
|
|
|
|
|
'text' => decode_utf8('Horní Datová'), |
|
25
|
|
|
|
|
|
|
), |
|
26
|
|
|
|
|
|
|
], |
|
27
|
|
|
|
|
|
|
# XXX not standard, what about it? |
|
28
|
|
|
|
|
|
|
'note' => decode_utf8('dole u řeky'), |
|
29
|
|
|
|
|
|
|
'psc' => '33101', |
|
30
|
|
|
|
|
|
|
'street_name' => [ |
|
31
|
|
|
|
|
|
|
Data::Text::Simple->new( |
|
32
|
|
|
|
|
|
|
'lang' => 'cs', |
|
33
|
|
|
|
|
|
|
'text' => decode_utf8('Hlavní'), |
|
34
|
|
|
|
|
|
|
), |
|
35
|
|
|
|
|
|
|
], |
|
36
|
|
|
|
|
|
|
); |
|
37
|
|
|
|
|
|
|
|
|
38
|
28
|
|
|
|
|
20777
|
my $self = $class->SUPER::new(@params); |
|
39
|
|
|
|
|
|
|
|
|
40
|
28
|
|
|
|
|
429
|
return $self; |
|
41
|
|
|
|
|
|
|
} |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
1; |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
__END__ |