Branch Coverage

blib/lib/Gallery/Remote.pm
Criterion Covered Total %
branch 0 84 0.0


line true false branch
158 0 0 if (@_)
162 0 0 if ($$self{'URL'})
177 0 0 if ($response_code != 200)
178 0 0 if ($response_code == 404) { }
195 0 0 if ($response->is_error)
208 0 0 if $$self{'DEBUG'}
213 0 0 if $$self{'DEBUG'}
218 0 0 if $$self{'DEBUG'}
219 0 0 if $field_value ne ''
237 0 0 $$response_fields{"album.perms.add.$i"} eq 'true' ? :
238 0 0 $$response_fields{"album.perms.write.$i"} eq 'true' ? :
239 0 0 $$response_fields{"album.perms.del_item.$i"} eq 'true' ? :
240 0 0 $$response_fields{"album.perms.del_alb.$i"} eq 'true' ? :
241 0 0 $$response_fields{"album.perms.create_sub.$i"} eq 'true' ? :
243 0 0 if $$self{'DEBUG'}
267 0 0 if ($$self{'LOGGEDIN'})
281 0 0 unless $$self{'REMOTE_URL'}
282 0 0 unless $$self{'USERNAME'}
283 0 0 unless $$self{'PASSWORD'}
303 0 0 if $$self{'DEBUG'}
305 0 0 if ($$response_fields{'status'} eq '0') { }
308 0 0 if ($major != '2')
311 0 0 if ($minor < '7')
315 0 0 if $$self{'VERBOSE'}
419 0 0 unless $$self{'LOGGEDIN'}
434 0 0 if ($$response_fields{'status'} ne '0')
543 0 0 unless $$self{'LOGGEDIN'}
558 0 0 if ($$response_fields{'status'} ne '0')
606 0 0 unless $$self{'LOGGEDIN'}
610 0 0 unless ($params{'set_albumName'})
613 0 0 unless ($params{'userfile'})
616 0 0 unless ($params{'userfile_name'})
638 0 0 if ($$response_fields{'status'} ne '0')
692 0 0 unless $$self{'LOGGEDIN'}
696 0 0 unless ($params{'set_albumName'})
718 0 0 if ($$response_fields{'status'} ne '0')
781 0 0 unless $$self{'LOGGEDIN'}
803 0 0 if ($$response_fields{'status'} ne '0')
920 0 0 unless $$self{'LOGGEDIN'}
924 0 0 unless ($params{'set_albumName'})
927 0 0 unless ($params{'set_destalbumName'})
949 0 0 if ($$response_fields{'status'} ne '0')