Condition Coverage

blib/lib/Net/PMP/Client.pm
Criterion Covered Total %
condition 0 61 0.0


and 3 conditions

line !l l&&!r l&&r condition
186 0 0 0 not $refresh and $self->{'_token'}
0 0 0 not $refresh and $self->{'_token'} and $self->{'_token'}->expires_in > $warning_ttl
199 0 0 0 $self->{'_token'} and $self->{'_token'}->expires_in <= $warning_ttl
316 0 0 0 exists $params{$p} and defined $params{$p}
0 0 0 exists $params{$p} and defined $params{$p} and length $params{$p}
544 0 0 0 &blessed($doc) and $doc->isa('Net::PMP::CollectionDoc')
579 0 0 0 $response->code =~ /^20[02]$/ and $response->decoded_content
602 0 0 0 &blessed($doc) and $doc->isa('Net::PMP::CollectionDoc')
658 0 0 0 $uri eq $self->host and $self->{'_home_doc'}
664 0 0 0 not $response and $attempts++ < $tries
667 0 0 0 not $response and $attempts < $tries
720 0 0 0 $ENV{'PMP_CLIENT_DEBUG'} and $ENV{'PMP_APPEND_RANDOM_STRING'}
740 0 0 0 &blessed($doc) and $doc->isa('Net::PMP::Profile')
743 0 0 0 &blessed($doc) and $doc->isa('Net::PMP::CollectionDoc')

or 2 conditions

line l !l condition
182 0 0 shift() || 0
183 0 0 shift() || 10
328 0 0 $post_params{'label'} ||= 'null'
655 0 0 shift() || 1
715 0 0 shift() || 1

or 3 conditions

line l !l&&r !l&&!r condition
491 0 0 0 $response->code != 200 or not $response->decoded_content
506 0 0 0 $self->{'_home_doc'} ||= $self->get_doc
654 0 0 0 shift() || $self->host