Condition Coverage

blib/lib/WWW/MLite.pm
Criterion Covered Total %
condition 0 95 0.0


and 3 conditions

line !l l&&!r l&&r condition
506 0 0 0 $self->logmode and $log_on
513 0 0 0 defined $logfile and length $logfile
570 0 0 0 $info{'attrs'} && is_hash($info{'attrs'})
571 0 0 0 $info{'returns'} && is_hash($info{'returns'})
671 0 0 0 $methods->{$key} and $methods->{$key}{'name'}
0 0 0 $methods->{$key} and $methods->{$key}{'name'} and $methods->{$key}{'code'}
678 0 0 0 $methods->{$ikey} and $methods->{$ikey}{'deep'}
0 0 0 $methods->{$ikey} and $methods->{$ikey}{'deep'} and $methods->{$ikey}{'name'}
0 0 0 $methods->{$ikey} and $methods->{$ikey}{'deep'} and $methods->{$ikey}{'name'} and $methods->{$ikey}{'code'}
716 0 0 0 $rc and not &is_success($rc)
781 0 0 0 $cl and not $h->header('Content-Length')
784 0 0 0 $self->{'request_method'} && $self->{'request_method'} eq 'HEAD'
785 0 0 0 $cl && !$ishead
790 0 0 0 $cl && !$ishead
795 0 0 0 length $p and $p ne '/'

or 2 conditions

line l !l condition
505 0 0 $config->get('logenable') || $config->get('logenabled') || 0
507 0 0 $args->{'logopts'} || {}
531 0 0 $ENV{'SERVER_NAME'} || 'localhost'
0 0 $ENV{'SERVER_PORT'} || 80
555 0 0 $ENV{'SERVER_NAME'} || 'localhost'
0 0 $ENV{'SERVER_PORT'} || 80
561 0 0 $info{'method'} || 'GET'
563 0 0 $info{'path'} // ''
568 0 0 $info{'name'} || 'default'
569 0 0 $info{'code'} || sub { return 200; }
572 0 0 $info{'description'} || ''
573 0 0 $info{'deep'} || $info{'depth'} || 0
574 0 0 $info{'requires'} || []
579 0 0 $methods->{$key}{'name'} || 'default'
607 0 0 $self->{'name'} || 'default'
612 0 0 $self->{'info'} || {'name', $self->name}
621 0 0 $value || 200
651 0 0 $imeth || 'GET'
659 0 0 $ipath || '/'
758 0 0 $self->message || &HTTP::Status::status_message($rc) || 'Unknown code'
762 0 0 $data // ''
794 0 0 shift() // ''

or 3 conditions

line l !l&&r !l&&!r condition
517 0 0 0 $config->get('logident') // $self->project
628 0 0 0 $value || &HTTP::Status::status_message(200)