Condition Coverage

blib/lib/App/Alice/HTTPD.pm
Criterion Covered Total %
condition 1 20 5.0


and 3 conditions

line !l l&&!r l&&r condition
121 0 0 0 my $user = $req->param('username') and my $pass = $req->param('password')
381 0 0 0 $name =~ /^(.+?)_(.+)/ and exists $$new_config{'servers'}

or 2 conditions

line l !l condition
210 0 0 $req->param('msgid') || 0

or 3 conditions

line l !l&&r !l&&!r condition
97 0 0 0 $req->path eq '/login' or $self->is_logged_in($req)
121 0 0 0 not $self->app->auth_enabled or $self->is_logged_in($req)
194 22 0 0 $self->no_streams or not @data
382 0 0 0 $2 eq 'channels' or $2 eq 'on_connect'