Condition Coverage

blib/lib/Linux/DesktopFiles.pm
Criterion Covered Total %
condition 7 31 22.5


and 3 conditions

line !l l&&!r l&&r condition
391 2 0 0 defined $self->{'skip_entry'} and ref $self->{'skip_entry'} eq "ARRAY"
393 0 0 0 exists $info{$pair_ref->{'key'}} and $info{$pair_ref->{'key'}} =~ /$pair_ref->{'re'}/u
400 2 0 0 defined $self->{'substitutions'} and ref $self->{'substitutions'} eq "ARRAY"
452 2 0 0 $self->{'terminalize'} and defined $info{'Terminal'}
2 0 0 $self->{'terminalize'} and defined $info{'Terminal'} and exists $TRUE_VALUES{$info{'Terminal'}}

or 2 conditions

line l !l condition
414 2 0 $info{'Categories'} // ""
488 1 0 $self->parse_desktop_file($desktop_file) // (next)

or 3 conditions

line l !l&&r !l&&!r condition
333 0 0 0 index($dir, '/local/') != -1 || index($dir, '/.local/') != -1
341 0 0 0 $is_local or not exists $table{$file}
385 2 0 0 $info{'Name'} //= substr($desktop_file, rindex($desktop_file, "/") + 1, -8)
388 0 0 0 $Chr{$1} // $1