Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
482 0 0 0 $self->logmode and $log_on
489 0 0 0 defined $logfile and length $logfile
546 0 0 0 $info{'attrs'} && is_hash($info{'attrs'})
547 0 0 0 $info{'returns'} && is_hash($info{'returns'})
647 0 0 0 $methods->{$key} and $methods->{$key}{'name'}
0 0 0 $methods->{$key} and $methods->{$key}{'name'} and $methods->{$key}{'code'}
654 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->{$key}{'code'}
749 0 0 0 $cl and not $h->header('Content-Length')
752 0 0 0 $self->{'request_method'} && $self->{'request_method'} eq 'HEAD'
753 0 0 0 $cl && !$ishead
758 0 0 0 $cl && !$ishead
763 0 0 0 length $p and $p ne '/'

or 2 conditions

line l !l condition
481 0 0 $config->get('logenable') || $config->get('logenabled') || 0
483 0 0 $args->{'logopts'} || {}
507 0 0 $ENV{'SERVER_NAME'} || 'localhost'
0 0 $ENV{'SERVER_PORT'} || 80
531 0 0 $ENV{'SERVER_NAME'} || 'localhost'
0 0 $ENV{'SERVER_PORT'} || 80
537 0 0 $info{'method'} || 'GET'
539 0 0 $info{'path'} // ''
544 0 0 $info{'name'} || 'default'
545 0 0 $info{'code'} || sub { return 200; }
548 0 0 $info{'description'} || ''
549 0 0 $info{'deep'} || $info{'depth'} || 0
550 0 0 $info{'requires'} || []
555 0 0 $methods->{$key}{'name'} || 'default'
583 0 0 $self->{'name'} || 'default'
588 0 0 $self->{'info'} || {'name', $self->name}
597 0 0 $value || 200
627 0 0 $imeth || 'GET'
635 0 0 $ipath || '/'
726 0 0 $self->message || &HTTP::Status::status_message($rc) || 'Unknown code'
730 0 0 $data // ''
762 0 0 shift() // ''

or 3 conditions

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