Condition Coverage

blib/lib/App/Sys/Info.pm
Criterion Covered Total %
condition 12 38 31.5


and 3 conditions

line !l l&&!r l&&r condition
28 1 0 0 $NEED_CHCP and $OLDCP
67 1 0 0 $self->os->is_winnt && $ENV{'PROMPT'}
224 0 0 0 $user and $real
226 0 0 0 $real && $real ne $user

or 2 conditions

line l !l condition
46 0 0 $@ || 'Unknown error'
221 0 1 $os->login_name || (return)
237 1 0 $cpu[0] || {}
246 2 0 shift() || (return)
291 1 0 $self->meta->{'page_file_total'} || (return)
292 1 0 $self->meta->{'page_file_available'} || (return)
301 5 0 shift() || (return $self->NA)
324 1 0 $self->cpu->bitness || '??'
325 1 0 $self->os->bitness || '??'
332 1 0 $self->meta->{'install_date'} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
32 0 0 0 shift() || croak('No encoding specified')
341 1 0 0 $@ or not $bv