| line |
true |
false |
branch |
|
60
|
0 |
1 |
if ("Config::Augeas"->is_loadable) |
|
84
|
0 |
0 |
if (not $is_ssh and $has_config_augeas) |
|
103
|
0 |
0 |
if ($action eq 'modify') { } |
|
|
0 |
0 |
elsif ($action eq 'remove') { } |
|
|
0 |
0 |
elsif ($action eq 'insert') { } |
|
|
0 |
0 |
elsif ($action eq 'dump') { } |
|
|
0 |
0 |
elsif ($action eq 'exists') { } |
|
|
0 |
0 |
elsif ($action eq 'get') { } |
|
108
|
0 |
0 |
if ref $config_option->{'on_change'} eq "CODE" |
|
110
|
0 |
0 |
if ($is_ssh or not $has_config_augeas) { } |
|
127
|
0 |
0 |
if $ret and $aug->get("/augeas/events/saved") |
|
143
|
0 |
0 |
if ($options[-2] and $options[-2] eq "on_change" and ref $options[-1] eq "CODE") |
|
155
|
0 |
0 |
if ($is_ssh or not $has_config_augeas) { } |
|
164
|
0 |
0 |
if ($is_ssh or not $has_config_augeas) { } |
|
171
|
0 |
0 |
if $ret and $aug->get("/augeas/events/saved") |
|
197
|
0 |
0 |
if ($options[-2] and $options[-2] eq "on_change" and ref $options[-1] eq "CODE") |
|
205
|
0 |
0 |
if ($is_ssh or not $has_config_augeas) { } |
|
206
|
0 |
0 |
exists $opts->{'before'} ? : |
|
207
|
0 |
0 |
unless (exists $opts->{$position}) |
|
219
|
0 |
0 |
if $key eq "after" or $key eq "before" or $key eq "label" |
|
231
|
0 |
0 |
if (exists $opts->{'before'}) { } |
|
|
0 |
0 |
elsif (exists $opts->{'after'}) { } |
|
249
|
0 |
0 |
if $key eq "after" or $key eq "before" or $key eq "label" |
|
258
|
0 |
0 |
if $ret and $aug->get("/augeas/events/saved") |
|
274
|
0 |
0 |
if ($is_ssh or not $has_config_augeas) { } |
|
301
|
0 |
0 |
if ($is_ssh or not $has_config_augeas) { } |
|
305
|
0 |
0 |
unless $line =~ s/\s=[^=]+$//u |
|
309
|
0 |
0 |
if ($val) { } |
|
318
|
0 |
0 |
if ($ret[0] eq $val) |
|
332
|
0 |
0 |
if ($val) { } |
|
334
|
0 |
0 |
if ($aug->get($k) eq $val) |
|
358
|
0 |
0 |
if ($is_ssh or not $has_config_augeas) { } |
|
376
|
0 |
0 |
if ($on_change and $changed) |
|
381
|
0 |
0 |
if $ret |
|
393
|
0 |
0 |
unless can_run("augtool") |
|
402
|
0 |
0 |
$? == 0 ? : |
|
404
|
0 |
0 |
if ($ret) { } |
|
411
|
0 |
0 |
"$return" =~ /Saved/u ? : |