| line |
true |
false |
branch |
|
62
|
1 |
0 |
unless ($self->bypass_checks) |
|
68
|
1 |
0 |
unless $self->no_log |
|
75
|
0 |
0 |
ref $_[0] ? : |
|
83
|
0 |
0 |
ref $_[0] ? : |
|
85
|
0 |
0 |
unless defined $args->{'msg'} |
|
100
|
0 |
0 |
if defined $spec->{'default'} and $spec->{'required'} |
|
105
|
0 |
0 |
unless ref $spec->{'aliases'} and ref $spec->{'aliases'} eq 'ARRAY' |
|
112
|
0 |
0 |
if exists $self->params->{$alias} |
|
116
|
0 |
0 |
if exists $spec->{'default'} |
|
127
|
0 |
0 |
if $spec->{'required'} and not $self->params->{$arg} |
|
129
|
0 |
0 |
unless ref $choices eq 'ARRAY' |
|
131
|
0 |
0 |
if ($self->params->{$arg} and @{$choices;}) |
|
132
|
0 |
0 |
unless (grep {$self->params->{$arg} eq $_;} $choices) |
|
141
|
0 |
0 |
if ($spec->{'type'}) |
|
142
|
0 |
0 |
if ($spec->{'type'} eq 'dict') { } |
|
|
0 |
0 |
elsif ($spec->{'type'} eq 'list') { } |
|
|
0 |
0 |
elsif ($spec->{'type'} eq 'bool') { } |
|
145
|
0 |
0 |
unless defined($self->params->{$arg} = $self->_to_dict($self->params->{$arg})) |
|
151
|
0 |
0 |
unless defined($self->params->{$arg} = $self->_to_list($self->params->{$arg})) |
|
157
|
0 |
0 |
unless defined($self->params->{$arg} = $self->_to_list($self->params->{$arg})) |
|
161
|
0 |
0 |
if ref $self->params->{$arg} |
|
166
|
0 |
1 |
if @missing |
|
175
|
0 |
0 |
if (ref $val) { } |
|
|
0 |
0 |
elsif ($val =~ /^{/) { } |
|
|
0 |
0 |
elsif ($val =~ /=/) { } |
|
176
|
0 |
0 |
if ref $val eq 'HASH' |
|
183
|
0 |
0 |
if defined $res |
|
195
|
0 |
0 |
if (ref $val) |
|
196
|
0 |
0 |
if ref $val eq 'ARRAY' |
|
207
|
0 |
0 |
if grep {lc $val eq lc $_;} 'yes', 'on', 'true', '1' |
|
208
|
0 |
0 |
if grep {lc $val eq lc $_;} 'no', 'off', 'false', '1' |
|
239
|
0 |
0 |
if ($self->check_invalid_arguments) |
|
241
|
0 |
0 |
unless $self->_legal_inputs->{$param} |
|
244
|
0 |
0 |
if $param eq 'NO_LOG' |
|
245
|
0 |
0 |
if ($param eq 'CHECKMODE') |
|
246
|
0 |
0 |
unless $self->supports_check_mode |
|
253
|
0 |
0 |
if $param eq '_ansible_no_log' |
|
261
|
0 |
0 |
if $self->params->{$terms} |