Branch Coverage

blib/lib/Net/Dynect/REST/Zone.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
13 0 0 if defined $args{'connection'}
14 0 0 if defined $args{'zone'}
27 0 0 unless ($response->status =~ /^success$/i)
41 0 0 unless defined $$self{'connection'}
42 0 0 unless defined $self->name
43 0 0 unless (defined $args{'rname'})
47 0 0 if (defined $self->serial)
67 0 0 unless $response->status =~ /^success$/i
76 0 0 unless defined $$self{'connection'}
77 0 0 unless defined $self->name and $self->serial
84 0 0 if ($response->status =~ /^success$/i) { }
99 0 0 unless defined $$self{'connection'}
100 0 0 unless defined $self->name and $self->serial
108 0 0 if ($response->status =~ /^success$/i)
109 0 0 if defined $response->data->serial
111 0 0 if defined $response->data->serial_style
113 0 0 if defined $response->data->zone_type
121 0 0 unless defined $$self{'connection'}
122 0 0 unless defined $self->name and $self->serial
130 0 0 if ($response->status =~ /^success$/i)
131 0 0 if defined $response->data->serial
133 0 0 if defined $response->data->serial_style
141 0 0 unless defined $$self{'connection'}
142 0 0 unless defined $self->name
150 0 0 if ($response->status =~ /^success$/i)
157 0 0 if (@_)
159 0 0 if (defined $$self{'name'}) { }
0 0 elsif (not $new =~ /^\S+/) { }
175 0 0 if (@_)
177 0 0 unless ($new =~ /^\d+$/)
188 0 0 if (@_)
190 0 0 unless ($new =~ /^increment|epoch|day|minute$/i)
202 0 0 if (@_)
204 0 0 unless ($new =~ /^Primary|Secondary$/)
215 0 0 if (@_)
225 0 0 if defined $self->name
226 0 0 if defined $self->zone_type
228 0 0 if defined $self->serial
229 0 0 if defined $self->serial_style