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
27 1 0 0 $NEED_CHCP and $OLDCP
66 1 0 0 $self->os->is_winnt && $ENV{'PROMPT'}
230 0 0 0 $user and $real
232 0 0 0 $real && $real ne $user

or 2 conditions

line l !l condition
45 0 0 $@ || 'Unknown error'
227 0 1 $os->login_name || (return)
243 1 0 $cpu[0] || {}
252 2 0 shift() || (return)
297 0 1 $self->meta->{'page_file_total'} || (return)
298 0 0 $self->meta->{'page_file_available'} || (return)
307 2 2 shift() || (return $self->NA)
330 1 0 $self->cpu->bitness || '??'
331 1 0 $self->os->bitness || '??'
338 1 0 $self->meta->{'install_date'} || (return)

or 3 conditions

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