| 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})) |
|
152
|
0 |
0 |
unless defined($self->params->{$arg} = $self->_to_list($self->params->{$arg})) |
|
159
|
0 |
0 |
unless defined($self->params->{$arg} = $self->_to_list($self->params->{$arg})) |
|
164
|
0 |
0 |
if ref $self->params->{$arg} |
|
169
|
0 |
1 |
if @missing |
|
178
|
0 |
0 |
if (ref $val) { } |
|
|
0 |
0 |
elsif ($val =~ /^{/) { } |
|
|
0 |
0 |
elsif ($val =~ /=/) { } |
|
179
|
0 |
0 |
if ref $val eq 'HASH' |
|
186
|
0 |
0 |
if defined $res |
|
199
|
0 |
0 |
if (ref $val) |
|
200
|
0 |
0 |
if ref $val eq 'ARRAY' |
|
211
|
0 |
0 |
if grep {lc $val eq lc $_;} 'yes', 'on', 'true', '1' |
|
212
|
0 |
0 |
if grep {lc $val eq lc $_;} 'no', 'off', 'false', '1' |
|
243
|
0 |
0 |
if ($self->check_invalid_arguments) |
|
245
|
0 |
0 |
unless $self->_legal_inputs->{$param} |
|
248
|
0 |
0 |
if $param eq 'NO_LOG' |
|
249
|
0 |
0 |
if ($param eq 'CHECKMODE') |
|
250
|
0 |
0 |
unless $self->supports_check_mode |
|
257
|
0 |
0 |
if $param eq '_ansible_no_log' |
|
265
|
0 |
0 |
if $self->params->{$terms} |