| blib/lib/Moxy.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 5 | 31 | 16.1 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 118 | 0 | 0 | 0 | blessed $response and $response->isa('HTTP::Response') | 
| 239 | 0 | 0 | 0 | $state->isa('Moxy::Session::State::BasicAuth') and not $auth | 
| 311 | 0 | 0 | 0 | $uri->port != 80 and $location->port != $uri->port | 
| line | l | !l | condition | 
|---|---|---|---|
| 67 | 2 | 9 | $$config{'global'}{'log'}{'level'} ||= 'info' | 
| 72 | 9 | 0 | $libpath ||= './' | 
| 82 | 0 | 0 | $self->conf->{'global'}{'session'}{'store'} ||= {'module', 'File', 'config', {'dir', do { my $dir = File::Temp::tempdir('moxyXXXXXX', 'CLEANUP', 1, 'DIR', 'File::Spec'->tmpdir); $$self{'__session'} = $dir; "$dir" }}} | 
| 90 | 0 | 0 | $self->conf->{'global'}{'log'}{'fh'} ||= \*STDERR | 
| 217 | 0 | 0 | $$conf{'state'}{'module'} || 'BasicAuth' | 
| 226 | 0 | 0 | $$conf{'state'}{'config'} || {} | 
| 413 | 0 | 0 | $self->conf->{'global'}{'timeout'} || 10 | 
| 445 | 0 | 0 | $response->content || '' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 69 | 2 | 9 | 0 | $$config{'global'}{'assets_path'} ||= do { my $libpath = $INC{'Moxy.pm'}; $libpath =~ s[(?:blib/)?lib/+Moxy\.pm$][]; $libpath ||= './'; $libpath = 'File::Spec'->rel2abs($libpath); 'File::Spec'->catdir($libpath, 'assets') } | 
| 393 | 0 | 0 | 0 | $args{'session'}->get('cookies') || 'HTTP::Cookies'->new |