Branch Coverage

blib/lib/Firefox/Sync/Client.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
144 0 0 if $$self{'username'} =~ /[^A-Z0-9._-]/i
147 0 0 unless $$self{'base_url'} =~ m[^(http|https)://([^:/]*):?(\d+)?]
149 0 0 $1 eq 'http' ? :
0 0 $3 ? :
152 0 0 unless $$self{'base_url'} =~ m[/$]
159 0 0 if (defined $$self{'cachefile'})
193 0 0 unless $$self{'bulk_keys'}{'default'}
237 0 0 unless $$bm{'payload'}{'parentid'} and $$bm{'payload'}{'parentid'} eq 'places'
239 0 0 if defined $bm
286 0 0 unless $$self{'bulk_keys'}{'default'}
334 0 0 if ($$bm{'payload'}{'children'} and scalar $$bm{'payload'}{'children'})
339 0 0 unless $$_{'id'} eq $child_id
386 0 0 if ($collection eq 'crypto') { }
390 0 0 if ($$self{'bulk_keys'}{$collection}) { }
405 0 0 if (defined $$self{'cachefile'}) { }
406 0 0 unless -z $$self{'cachefile'}
408 0 0 if (defined $$self{'cache'}{$url} and time - $$self{'cache'}{$url . '_ts'} <= $$self{'cachelifetime'}) { }
440 0 0 if $$res{'_rc'} != '200'
448 0 0 unless $json =~ /\}$/
453 0 0 if ($left > $right) { }
0 0 elsif ($left < $right) { }