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'}
223 0 0 0 $user and $real
225 0 0 0 $real && $real ne $user

or 2 conditions

line l !l condition
45 0 0 $@ || 'Unknown error'
220 0 1 $os->login_name || (return)
236 1 0 $cpu[0] || {}
245 2 0 shift() || (return)
290 1 0 $self->meta->{'page_file_total'} || (return)
291 1 0 $self->meta->{'page_file_available'} || (return)
300 5 0 shift() || (return $self->NA)
323 1 0 $self->cpu->bitness || '??'
324 1 0 $self->os->bitness || '??'
331 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')
340 1 0 0 $@ or not $bv