line |
true |
false |
branch |
25
|
1 |
51 |
unless (defined $obj)
|
28
|
1 |
50 |
unless ($obj->isa("Wikibase::Datatype::Value"))
|
34
|
1 |
49 |
if ($type eq 'globecoordinate') { }
|
|
19 |
30 |
elsif ($type eq 'item') { }
|
|
1 |
29 |
elsif ($type eq 'monolingualtext') { }
|
|
1 |
28 |
elsif ($type eq 'property') { }
|
|
1 |
27 |
elsif ($type eq 'quantity') { }
|
|
21 |
6 |
elsif ($type eq 'string') { }
|
|
5 |
1 |
elsif ($type eq 'time') { }
|
58
|
0 |
43 |
unless (exists $struct_hr->{'type'})
|
63
|
1 |
42 |
if ($struct_hr->{'type'} eq 'globecoordinate') { }
|
|
1 |
41 |
elsif ($struct_hr->{'type'} eq 'monolingualtext') { }
|
|
1 |
40 |
elsif ($struct_hr->{'type'} eq 'quantity') { }
|
|
19 |
21 |
elsif ($struct_hr->{'type'} eq 'string') { }
|
|
5 |
16 |
elsif ($struct_hr->{'type'} eq 'time') { }
|
|
15 |
1 |
elsif ($struct_hr->{'type'} eq 'wikibase-entityid') { }
|
74
|
14 |
1 |
if ($struct_hr->{'value'}{'entity-type'} eq 'item') { }
|
|
1 |
0 |
elsif ($struct_hr->{'value'}{'entity-type'} eq 'property') { }
|