Branch Coverage

blib/lib/App/Greple/xlate/Cache.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
20 0 0 unless exists $obj->current->{$key}
63 0 0 if $obj->name
70 0 0 if not $obj->accessed->{$key}++
82 0 0 if (ref $a eq 'ARRAY' and ref $b eq 'ARRAY') { }
83 0 0 unless @$a == @$b
87 0 0 if (not defined $c or $c ne $b)
103 0 0 if ($obj->clear)
104 0 0 unless -f $file
105 0 0 unless CORE::open my $fh, ">", $file
109 0 0 if (CORE::open my $fh, $file) { }
111 0 0 $data eq '' ? :
113 0 0 if (ref $json eq 'HASH') { }
0 0 elsif (ref $json eq 'ARRAY') { }
127 0 0 if (not $obj->force_update and $obj->updated == 0)
128 0 0 if (%{$obj->saved;} == 0) { }
0 0 elsif ($obj->accumulate) { }
137 0 0 unless defined $v
139 0 0 unless %{$obj->current;} > 0
141 0 0 if (CORE::open my $fh, '>', $file) { }
142 0 0 $obj->format eq 'list' ? :
161 0 0 if (exists $hash{$key}) { }
171 0 0 if %hash