Condition Coverage

blib/lib/App/DuckPAN/Cmd/Server.pm
Criterion Covered Total %
condition 0 35 0.0


and 3 conditions

line !l l&&!r l&&r condition
123 0 0 0 $from_file->exists and not $to_file->exists
221 0 0 0 $_->attr('type') and $_->attr('type') eq 'text/css'
0 0 0 defined $_->attr('href') and substr($_->attr('href'), 0, 1) eq '/'
388 0 0 0 $asset->{'internal'} and $asset->{'external'}
395 0 0 0 $to_file->exists and time - $to_file->stat->ctime < $self->app->cachesec
412 0 0 0 $expected_length and not defined $progress
0 0 0 $progress and $bytes_received > $next_update
426 0 0 0 $expected_length and $bytes_received < $expected_length
434 0 0 0 $progress and $expected_length

or 2 conditions

line l !l condition
410 0 0 $res->content_length || 0

or 3 conditions

line l !l&&r !l&&!r condition
170 0 0 0 $file_info->{'name'} || $internal
410 0 0 0 $expected_length //= $res->content_length || 0