line |
true |
false |
branch |
50
|
0 |
1 |
if ($json->{'meta'} and $json->{'meta'}{'api_version'} and $json->{'meta'}{'api_version'} =~ /^[^01]\./) |
59
|
1 |
0 |
if ($json->{'meta'} and $json->{'meta'}{'query'} and $json->{'meta'}{'query'}{'representation'}) |
62
|
1 |
0 |
if ($json->{'meta'}{'query'}{'representation'} =~ /\?/) { } |
65
|
1 |
0 |
if ($query->{'response_fields'}) { } |
79
|
0 |
1 |
unless $json->{'data'} |
82
|
1 |
0 |
if (ref $json->{'data'} eq 'HASH' and $json->{'data'}{'attributes'}) { } |
|
0 |
0 |
elsif (ref $json->{'data'} eq 'ARRAY') { } |
95
|
0 |
1 |
if (&any(sub {
not exists $attributes->{$_};
}
, @mandatory_fields)) |
110
|
0 |
1 |
if (exists $species->{'mass'}) |