Branch Coverage

blib/lib/App/Sys/Info.pm
Criterion Covered Total %
branch 34 88 38.6


line true false branch
28 0 1 if $NEED_CHCP and $OLDCP
45 0 1 unless (eval { do { $rv = setlocale(0); 1 } })
75 0 1 unless print "\n", $tb
82 0 1 if $@
88 0 1 if ($NEED_CHCP)
92 0 0 if $OLDCP
124 1 0 if $manu
125 0 1 if $pt
126 0 1 if $bt
136 0 1 if $pid
140 1 0 if $tick
144 1 0 if $st
145 1 0 if $proc
153 1 0 if $loc
154 1 0 if $loc
155 1 0 if $tz
165 1 0 if $page
166 1 0 if $domain
167 0 1 if $logon
168 1 0 if $ip
177 1 0 unless $self->os->is_windows
180 0 0 if $owner
181 0 0 if $org
190 0 1 if $win
191 0 1 if $sys
192 0 1 if $boot
198 1 0 unless $self->os->is_windows
201 0 0 if $manu
202 0 0 if $model
209 1 0 unless $os->is_windows
213 0 0 if $cdkey
214 0 0 if $okey
224 0 0 unless $user and $real
226 0 0 $real && $real ne $user ? :
227 0 0 $os->is_root ? :
247 1 1 unless ${$ref;}
248 0 1 unless ${$ref;} =~ /\sKB\z/msx
255 1 0 if $load
256 0 1 if $L1
257 1 0 if $L2
258 0 1 if $sock
259 0 1 if $id
319 0 0 @office ? :
341 1 0 if $@ or not $bv