line |
true |
false |
branch |
57
|
2 |
0 |
if defined $args{'operation'} |
59
|
2 |
0 |
if defined $args{'service'} |
60
|
1 |
1 |
if defined $args{'params'} |
89
|
2 |
6 |
if (@_) |
91
|
0 |
2 |
unless ($new =~ /^create|read|update|delete$/) |
109
|
2 |
5 |
if (@_) |
111
|
0 |
2 |
unless ($new =~ m[^Session|QPSReport|ACL|Contact|Password|User|AAAARecord|ANYRecord|ARecord|CNAMERecord|DNSKEYRecord|DSRecord|KEYRecord|LOCRecord|MXRecord|NSRecord|PTRRecord|RPRecord|SOARecord|SRVRecord|TXTRecord|Job|Node|NodeList|Secondary|Zone|ZoneChanges(/.*)?$]) |
143
|
0 |
11 |
if (@_) |
145
|
0 |
0 |
unless ($new =~ /^JSON|XML|YAML|HTML$/) |
163
|
0 |
2 |
unless (defined $self->format) |
167
|
2 |
0 |
if $self->format eq 'JSON' |
168
|
0 |
0 |
if $self->format eq 'XML' |
169
|
0 |
0 |
if $self->format eq 'YAML' |
170
|
0 |
0 |
if $self->format eq 'HTML' |
181
|
1 |
3 |
if (@_) |
185
|
4 |
0 |
if ($self->format eq 'JSON') |
188
|
2 |
2 |
unless defined $$self{'params'} |
193
|
0 |
0 |
if ($self->format eq 'YAML') |
196
|
0 |
0 |
unless defined $$self{'params'} |
207
|
1 |
0 |
if defined $self->operation |
209
|
1 |
0 |
if defined $self->service |
211
|
1 |
0 |
if defined $self->operation |
213
|
0 |
1 |
if defined $self->params |