Branch Coverage

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


line true false branch
27 0 1 if $NEED_CHCP and $OLDCP
44 0 1 unless (eval { do { $rv = setlocale(0); 1 } })
74 0 1 unless print "\n", $tb
81 0 1 if $@
87 0 1 if ($NEED_CHCP)
91 0 0 if $OLDCP
123 1 0 if $manu
124 0 1 if $pt
125 0 1 if $bt
135 0 1 if $pid
139 1 0 if $tick
143 1 0 if $st
144 1 0 if $proc
152 1 0 if $loc
153 1 0 if $loc
154 1 0 if $tz
164 1 0 if $page
165 1 0 if $domain
166 0 1 if $logon
167 1 0 if $ip
176 1 0 unless $self->os->is_windows
179 0 0 if $owner
180 0 0 if $org
189 0 1 if $win
190 0 1 if $sys
191 0 1 if $boot
197 1 0 unless $self->os->is_windows
200 0 0 if $manu
201 0 0 if $model
208 1 0 unless $os->is_windows
212 0 0 if $cdkey
213 0 0 if $okey
223 0 0 unless $user and $real
225 0 0 $real && $real ne $user ? :
226 0 0 $os->is_root ? :
246 1 1 unless ${$ref;}
247 0 1 unless ${$ref;} =~ /\sKB\z/msx
254 1 0 if $load
255 0 1 if $L1
256 1 0 if $L2
257 0 1 if $sock
258 0 1 if $id
318 0 0 @office ? :
340 1 0 if $@ or not $bv