Condition Coverage

blib/lib/POE/Component/XUL.pm
Criterion Covered Total %
condition 13 104 12.5


and 3 conditions

line !l l&&!r l&&r condition
119 0 0 0 $r and 'HASH' eq $r
133 0 0 0 not $r and $controler->package_ctor($A)
282 0 0 0 defined $SID and $controler->exists($SID)
371 0 0 0 $app and $event
555 0 0 1 $lastmod and not $ct =~ m[^application/vnd\.mozilla\.xul\+xml$]
578 0 0 0 $lastmod and $since
0 0 0 $lastmod and $since and $since >= $lastmod
590 1 0 0 $uri eq '/' || $uri =~ m[^/index.html?] and $c =~ /\[APP-LIST\]/
624 0 0 0 $app eq 'IGDAIP' and 1 != $count
664 1 0 0 $cage and $cage > $bage
726 0 0 0 defined $uri->port and 0 == $uri->port
729 0 0 0 $referer and $referer =~ /https/
750 0 0 0 $ct eq 'text/plain' and $code != 404
855 0 0 0 $op eq 'read' and $errnum == 0 || ($errnum = 104)
857 0 0 0 $self->{'controler'} and $request
972 0 0 0 $log[-1] eq '127.0.0.1' and $req->header('X-Forwarded-For')
982 0 0 0 $query and $req->method eq 'GET'

or 2 conditions

line l !l condition
77 6 0 $args->{'root'} || '/usr/local/poe-xul/xul'
78 2 4 $args->{'alias'} ||= 'component-poe-xul'
81 0 6 $args->{'timeout'} ||= 1800
112 0 6 $self->{'app_names'} ||= {}
366 0 0 $req->param('SID') || ''
367 0 0 $req->param('event') || 'boot'
368 0 0 $req->param('app') || ''
408 0 0 $rc ||= -1
432 0 0 $2 || ''
706 2 1 $ct ||= 'application/octet-stream'
746 0 0 $ct ||= 'text/plain'
776 0 0 $message ||= 'unknown'
778 0 0 $what ||= ''
855 0 0 $errnum == 0 || ($errnum = 104)
987 0 0 $resp->code || '000'
0 0 $resp->content_length || 0

or 3 conditions

line l !l&&r !l&&!r condition
96 0 6 0 $self->{'static_root'} ||= 'File::Spec'->catfile($self->{'root'}, 'xul')
97 0 6 0 $self->{'log_root'} ||= 'File::Spec'->catfile($self->{'root'}, 'log')
467 0 0 0 $method eq 'GET' or $method eq 'HEAD'
590 0 0 1 $uri eq '/' || $uri =~ m[^/index.html?]
625 0 0 0 $self->{'app_names'}{$app}{$lang} || $app
643 0 0 0 $self->{'acceptor'} ||= 'I18N::AcceptLanguage'->new('defaultLanguage', $self->{'default_language'}, 'strict', 0)
966 0 0 0 eval { do { $req->param('app') } } || $self->{'logging'}{'app'}