Condition Coverage

lib/Neo4j/Driver/Result/JSON.pm
Criterion Covered Total %
condition 47 72 65.2


and 3 conditions

line !l l&&!r l&&r condition
159 351 0 52 ref $data eq "HASH" and ref $rest eq "HASH"
351 8 44 ref $data eq "HASH" and ref $rest eq "HASH" and ref $rest->{'metadata'} eq "HASH"
8 0 44 ref $data eq "HASH" and ref $rest eq "HASH" and ref $rest->{'metadata'} eq "HASH" and $rest->{'self'}
0 12 32 ref $data eq "HASH" and ref $rest eq "HASH" and ref $rest->{'metadata'} eq "HASH" and $rest->{'self'} and $rest->{'self'} =~ m[/db/[^/]+/node/]
166 351 0 20 ref $data eq "HASH" and ref $rest eq "HASH"
351 8 12 ref $data eq "HASH" and ref $rest eq "HASH" and ref $rest->{'metadata'} eq "HASH"
8 0 12 ref $data eq "HASH" and ref $rest eq "HASH" and ref $rest->{'metadata'} eq "HASH" and $rest->{'self'}
0 0 12 ref $data eq "HASH" and ref $rest eq "HASH" and ref $rest->{'metadata'} eq "HASH" and $rest->{'self'} and $rest->{'self'} =~ m[/db/[^/]+/relationship/]
178 238 111 10 ref $data eq "ARRAY" and ref $rest eq "HASH"
205 341 0 8 ref $data eq "HASH" and ref $rest eq "HASH"
341 8 0 ref $data eq "HASH" and ref $rest eq "HASH" and ref $rest->{'crs'} eq "HASH"
210 132 0 217 ref $data eq "" and ref $rest eq ""
132 217 0 ref $data eq "" and ref $rest eq "" and ref $meta eq "HASH"
217 0 0 ref $data eq "" and ref $rest eq "" and ref $meta eq "HASH" and $meta->{'type'}
0 0 0 ref $data eq "" and ref $rest eq "" and ref $meta eq "HASH" and $meta->{'type'} and $meta->{'type'} =~ /date|time|duration/
216 238 0 111 ref $data eq "ARRAY" and ref $rest eq "ARRAY"
224 230 0 8 ref $data eq "HASH" and ref $rest eq "HASH"
234 13 0 217 ref $data eq "" and ref $rest eq ""
237 2 0 11 $data == $TRUE and $rest == $TRUE
0 0 2 $data == $FALSE and $rest == $FALSE
252 189 8 12 $want_jolt and $want_jolt ne "v1"

or 3 conditions

line l !l&&r !l&&!r condition
218 13 4 94 ref $meta ne "ARRAY" or @$data != @$meta
227 8 0 0 ref $meta ne "HASH" or scalar keys %$data != scalar keys %$meta
237 11 2 0 $data == $TRUE and $rest == $TRUE or $data == $FALSE and $rest == $FALSE