line |
true |
false |
branch |
25
|
1 |
43 |
unless (defined $obj)
|
28
|
1 |
42 |
unless ($obj->isa('Wikibase::Datatype::Value'))
|
34
|
1 |
41 |
if ($type eq 'globecoordinate') { }
|
|
15 |
26 |
elsif ($type eq 'item') { }
|
|
1 |
25 |
elsif ($type eq 'monolingualtext') { }
|
|
1 |
24 |
elsif ($type eq 'property') { }
|
|
1 |
23 |
elsif ($type eq 'quantity') { }
|
|
18 |
5 |
elsif ($type eq 'string') { }
|
|
4 |
1 |
elsif ($type eq 'time') { }
|
58
|
0 |
35 |
unless (exists $struct_hr->{'type'})
|
63
|
1 |
34 |
if ($struct_hr->{'type'} eq 'globecoordinate') { }
|
|
1 |
33 |
elsif ($struct_hr->{'type'} eq 'monolingualtext') { }
|
|
1 |
32 |
elsif ($struct_hr->{'type'} eq 'quantity') { }
|
|
16 |
16 |
elsif ($struct_hr->{'type'} eq 'string') { }
|
|
4 |
12 |
elsif ($struct_hr->{'type'} eq 'time') { }
|
|
11 |
1 |
elsif ($struct_hr->{'type'} eq 'wikibase-entityid') { }
|
74
|
10 |
1 |
if ($struct_hr->{'value'}{'entity-type'} eq 'item') { }
|
|
1 |
0 |
elsif ($struct_hr->{'value'}{'entity-type'} eq 'property') { }
|