line |
!l |
l&&!r |
l&&r |
condition |
211
|
3 |
0 |
16 |
ref $file and ref $file eq "SCALAR" |
248
|
2 |
0 |
0 |
$mod_name and -f "$file_path/$mod_name.pm" |
293
|
15 |
0 |
4 |
Rex::CMDB::cmdb_active() and "Rex::Config"->get_register_cmdb_template |
452
|
42 |
9 |
2 |
exists $option->{'ensure'} and $option->{'ensure'} eq "directory" |
456
|
50 |
0 |
3 |
exists $option->{'source'} and not $is_directory |
465
|
2 |
47 |
4 |
$option->{'ensure'} ne "absent" and $fs->is_symlink($file) |
488
|
49 |
1 |
3 |
$option->{'on_change'} && !$is_directory |
496
|
53 |
0 |
0 |
exists $option->{'no_overwrite'} and $option->{'no_overwrite'} |
|
0 |
0 |
0 |
exists $option->{'no_overwrite'} and $option->{'no_overwrite'} and $fs->is_file($file) |
|
11 |
0 |
42 |
exists $option->{'content'} || exists $option->{'source'} and not $is_directory |
539
|
0 |
12 |
30 |
$new_md5 and $old_md5 |
|
12 |
26 |
4 |
$new_md5 and $old_md5 and $new_md5 eq $old_md5 |
674
|
42 |
2 |
9 |
not exists $option->{'content'} || exists $option->{'source'} and $option->{'ensure'} ne "absent" |
691
|
0 |
0 |
0 |
exists $option->{'ensure'} and $option->{'ensure'} eq "directory" |
728
|
0 |
0 |
51 |
%stat_old and %stat_new |
|
0 |
36 |
15 |
%stat_old and %stat_new and $stat_old{'mode'} ne $stat_new{'mode'} |
736
|
0 |
0 |
51 |
%stat_old and %stat_new |
|
0 |
51 |
0 |
%stat_old and %stat_new and $stat_old{'uid'} ne $stat_new{'uid'} |
743
|
0 |
0 |
51 |
%stat_old and %stat_new |
|
0 |
51 |
0 |
%stat_old and %stat_new and $stat_old{'gid'} ne $stat_new{'gid'} |
755
|
2 |
0 |
0 |
$old_md5 and $new_md5 |
|
2 |
0 |
0 |
$old_md5 and $new_md5 and $old_md5 eq $new_md5 |
776
|
12 |
2 |
39 |
$__ret->{'changed'} == 1 and $on_change_done == 0 |
1127
|
3 |
2 |
10 |
exists $option->{'regexp'} and ref $option->{'regexp'} eq "Regexp" |
1144
|
3 |
0 |
5 |
$m[$i] eq $option->[0] and ref $m[$i + 1] eq "CODE" |
1194
|
5 |
8 |
6 |
$action eq "append_if_no_such_line" and $found |
1209
|
0 |
0 |
3 |
$old_md5 and $new_md5 |
|
0 |
2 |
1 |
$old_md5 and $new_md5 and $old_md5 ne $new_md5 |
1230
|
0 |
0 |
19 |
$old_md5 and $new_md5 |
|
0 |
6 |
13 |
$old_md5 and $new_md5 and $old_md5 ne $new_md5 |
line |
l |
!l&&r |
!l&&!r |
condition |
217
|
0 |
2 |
1 |
$file =~ m[^/]u or $file =~ /^\@/u |
496
|
39 |
3 |
11 |
exists $option->{'content'} || exists $option->{'source'} |
674
|
39 |
3 |
11 |
exists $option->{'content'} || exists $option->{'source'} |
680
|
7 |
2 |
0 |
$fs->is_file($file) or $is_directory |
1037
|
0 |
0 |
0 |
$on_change or $on_no_change |
1208
|
3 |
0 |
16 |
$on_change or $on_no_change |
1292
|
0 |
0 |
0 |
$type eq "tgz" or $file =~ /\.tar\.gz$/u |
|
0 |
0 |
0 |
$type eq "tgz" or $file =~ /\.tar\.gz$/u or $file =~ /\.tgz$/u |
|
0 |
0 |
0 |
$type eq "tgz" or $file =~ /\.tar\.gz$/u or $file =~ /\.tgz$/u or $file =~ /\.tar\.Z$/u |
|
0 |
0 |
0 |
$type eq "tbz" or $file =~ /\.tar\.bz2/u |
|
0 |
0 |
0 |
$type eq "tbz" or $file =~ /\.tar\.bz2/u or $file =~ /\.tbz2/u |
|
0 |
0 |
0 |
$type eq "tar" or $file =~ /\.(tar|box)/u |
|
0 |
0 |
0 |
$type eq "zip" or $file =~ /\.(zip|war|jar)$/u |
|
0 |
0 |
0 |
$type eq "gz" or $file =~ /\.gz$/u |
|
0 |
0 |
0 |
$type eq "bz2" or $file =~ /\.bz2$/u |