blib/lib/File/DesktopEntry.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 39 | 61 | 63.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
123 | 2 | 0 | 0 | not $file and $name =~ /-/ |
142 | 5 | 1 | 1 | $m && $c |
231 | 7 | 0 | 0 | $t and $t eq 'true' |
249 | 5 | 0 | 0 | $VERBOSE and $? |
303 | 8 | 54 | 0 | not $s =~ /^\%[FUD]$/ and $s =~ /\%[FUD]/ |
311 | 43 | 17 | 1 | @argv > 1 and $s =~ /\%[fud]/ |
315 | 60 | 0 | 0 | $VERBOSE and $s =~ /%([nNvm])/ |
354 | 6 | 15 | 0 | wantarray and $^O eq 'MSWin32' |
554 | 10 | 15 | 23 | not $group and $k eq 'Exec' |
632 | 4 | 10 | 0 | $enc and $enc ne 'UTF-8' |
667 | 0 | 1 | 0 | $file && -w $file |
0 | 1 | 0 | not $file && -w $file and defined $self->{'name'} |
line | l | !l | condition |
---|---|---|---|
232 | 0 | 0 | $ENV{'TERMINAL'} || 'xterm -e' |
488 | 3 | 111 | join('|', map(quotemeta($_), @lang)) || 'C' |
504 | 6 | 145 | $group ||= 'Desktop Entry' |
541 | 2 | 4 | $group ||= 'Desktop Entry' |
720 | 0 | 2 | $locale ||= 'C' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
134 | 0 | 9 | 8 | not $lang or $lang eq 'C' |
9 | 1 | 7 | not $lang or $lang eq 'C' or $lang eq 'POSIX' | |
538 | 26 | 4 | 4 | $self->{'groups'} or not $self->{'file'} |
593 | 4 | 10 | 0 | $file ||= $self->{'file'} |
652 | 1 | 0 | 0 | shift() || $self->{'file'} |