| line |
true |
false |
branch |
|
29
|
0 |
2 |
unless @_ == 1 |
|
32
|
2 |
0 |
wantarray ? : |
|
36
|
0 |
0 |
unless @_ == 1 |
|
43
|
0 |
0 |
unless @_ == 2 |
|
48
|
0 |
0 |
if ref $desktop_file |
|
49
|
0 |
0 |
unless length $desktop_file |
|
51
|
0 |
0 |
unless $desktop_file =~ /\.desktop$/ |
|
56
|
0 |
0 |
unless @_ == 2 |
|
60
|
0 |
0 |
unless my $word = $1 |
|
94
|
2 |
0 |
unless (-f $user || $system && -f $system || $deprecated && -f $deprecated || $distro && -f $distro || $legacy && -f $legacy and -r _) |
|
106
|
0 |
0 |
if @list == 0 |
|
120
|
2 |
2 |
if grep {$_ eq $cache;} @done |
|
122
|
0 |
2 |
unless -f $cache and -r _ |
|
125
|
0 |
2 |
unless -f $file and -r _ |
|
141
|
2 |
0 |
if (open LIST, "<", $file) |
|
144
|
4 |
2 |
unless /^\Q$mimetype\E=(.*)$/ |
|
151
|
0 |
2 |
unless ($succeeded) |
|
162
|
0 |
0 |
if (-f $file) { } |
|
163
|
0 |
0 |
unless open LIST, "<", $file |
|
165
|
0 |
0 |
unless /^\Q$mimetype\E=/ |
|
175
|
0 |
0 |
unless open LIST, ">", $file |
|
178
|
0 |
0 |
unless close LIST |
|
185
|
0 |
0 |
if $file |
|
192
|
0 |
0 |
if -d $dir |
|
202
|
0 |
0 |
unless -d $path |