Branch Coverage

blib/lib/WWW/MetaForge/GameMapData.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
73 11 0 unless $self->debug
90 1 0 if defined $self->cache_dir
97 2 3 if ($self->use_cache)
99 1 1 if (defined $cached)
113 0 4 unless ($response->is_success)
119 0 4 if $@
121 1 3 if ($self->use_cache)
132 0 4 unless ref $response eq "HASH"
135 4 0 if (exists $response->{'allData'})
139 0 0 if (exists $response->{'markers'})
142 0 0 if (exists $response->{'data'} and ref $response->{'data'} eq "HASH")
152 0 4 unless defined $data
156 4 0 if (ref $data eq 'ARRAY') { }
0 0 elsif (ref $data eq 'HASH') { }