Branch Coverage

blib/lib/WWW/Hetzner/Cloud/API/PrimaryIPs.pm
Criterion Covered Total %
branch 16 38 42.1


line true false branch
42 0 2 unless $id
52 1 4 unless $params{'name'}
53 1 3 unless $params{'type'}
54 1 2 unless $params{'assignee_type'}
55 1 1 unless $params{'datacenter'}
64 0 1 if $params{'assignee_id'}
65 0 1 if exists $params{'auto_delete'}
66 0 1 if $params{'labels'}
75 0 0 unless $id
78 0 0 if exists $params{'name'}
79 0 0 if exists $params{'auto_delete'}
80 0 0 if exists $params{'labels'}
89 0 1 unless $id
97 0 1 unless $id
98 0 1 unless $assignee_id
110 0 1 unless $id
118 0 0 unless $id
119 0 0 unless $ip
120 0 0 unless defined $dns_ptr