Condition Coverage

blib/lib/Terminal/Identify.pm
Criterion Covered Total %
condition 13 24 54.1


and 3 conditions

line !l l&&!r l&&r condition
142 0 4 24 defined $_[0] && $_[0] ne ''
164 0 0 12 defined $_[0] and length $_[0] > 0
221 0 4 0 defined $user and $user ne ""
370 64 4 24 $shell ne "nologin" and $shell ne "sync"
68 20 4 $shell ne "nologin" and $shell ne "sync" and $shell ne "false"
372 4 0 0 grep /^$user$/, @user_array and grep /^$shell$/, @shell_array

or 3 conditions

line l !l&&r !l&&!r condition
320 4 0 0 $method1 || $method2 || $method3 || $method4
350 0 4 0 not defined $term_path or $term_path eq ""