blib/lib/Env/PS1.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 25 | 64.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
44 | 9 | 2 | 1 | $format eq $$self{'format'} and exists $ENV{'CLICOLOR'} |
11 | 0 | 1 | $format eq $$self{'format'} and exists $ENV{'CLICOLOR'} and $ENV{'CLICOLOR'} eq $$self{'clicolor'} | |
84 | 1 | 1 | 0 | ref $item and $format =~ s/^\{(.*?)\}// |
395 | 0 | 0 | 2 | defined $ENV{'CLICOLOR'} and not $ENV{'CLICOLOR'} |
line | l | !l | condition |
---|---|---|---|
24 | 2 | 0 | $var || 'PS1' |
78 | 7 | 13 | $1 || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
79 | 0 | 0 | 8 | $4 eq '[' or $4 eq ']' |
103 | 1 | 1 | 48 | ref $_ or ref $cache[-1] |
111 | 5 | 0 | 0 | $user_info[0] or $ENV{'USER'} |