Branch Coverage

blib/lib/Term/Detect/Software.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
18 0 0 unless ($dt_cache)
26 0 0 if ($engine eq 'konsole') { }
0 0 elsif ($engine eq 'xterm') { }
0 0 elsif ($engine eq 'cygwin') { }
0 0 elsif ($engine eq 'linux') { }
0 0 elsif ($engine eq 'gnome-terminal') { }
0 0 elsif ($engine eq 'windows') { }
0 0 elsif ($engine eq 'dumb') { }
0 0 elsif ($engine eq 'rxvt') { }
0 0 elsif ($engine eq 'st') { }
0 0 elsif ($engine eq 'putty') { }
0 0 elsif ($engine eq 'xvt') { }
106 0 0 if (defined $ENV{'PERL_TERM_DETECT_SOFTWARE_ENGINE'})
112 0 0 unless (defined $ENV{'TERM'})
119 0 0 if ($ENV{'KONSOLE_DBUS_SERVICE'} or $ENV{'KONSOLE_DBUS_SESSION'})
125 0 0 if ($ENV{'XTERM_VERSION'})
131 0 0 if ($ENV{'TERM'} eq "xterm" and ($ENV{'OSTYPE'} // "") eq "cygwin")
137 0 0 if ($ENV{'TERM'} eq "linux")
152 0 0 $_[0] =~ /xfce4/ ? :
154 0 0 if (grep {$_ eq $_[0];} 'mlterm') { }
161 0 0 if (grep {$_ eq ($ENV{'COLORTERM'} // "");} @$gnome_terminal_terms)
167 0 0 if ($ENV{'TERM'} eq "dumb" and $ENV{'windir'})
173 0 0 if ($ENV{'TERM'} eq "dumb")
183 0 0 if $^O =~ /Win/
185 0 0 unless $ENV{'PERL_TERM_DETECT_SOFTWARE_CHECK_PS'}
189 0 0 unless (defined $ppids)
195 0 0 @$ppids >= 2 ? :
197 0 0 if (grep {$_ eq $proc;} @$gnome_terminal_terms) { }
0 0 elsif (grep {$_ eq $proc;} 'rxvt', 'mrxvt') { }
0 0 elsif ($proc eq 'st' and $ENV{'TERM'} eq 'xterm-256color') { }
0 0 elsif (grep {$_ eq $proc;} 'pterm') { }
0 0 elsif (grep {$_ eq $proc;} 'xvt') { }
225 0 0 unless (exists $info->{'color_depth'})
226 0 0 if ($ENV{'TERM'} =~ /256color/) { }
231 0 0 if (File::Which::which("tput"))
234 0 0 if $res == 8
253 0 0 if ($ENV{'INSIDE_EMACS'})