Branch Coverage

blib/lib/Zonemaster/Backend/DB.pm
Criterion Covered Total %
branch 4 20 20.0


line true false branch
17 0 1 unless $user
25 0 1 unless $username and $api_key
28 0 1 if $self->user_exists($username)
32 0 1 unless $result
41 0 0 if (length $test_id == 16) { }
45 0 0 if ($test_id <= 'Zonemaster::Backend::Config'->force_hash_id_use_in_API_starting_from_id) { }
64 0 0 if (defined $lock_on_queue) { }
71 0 0 if ($id)
74 0 0 if ($id > 'Zonemaster::Backend::Config'->force_hash_id_use_in_API_starting_from_id) { }
103 0 0 if ($h->{'progress'} eq '100') { }