Branch Coverage

blib/lib/WebService/BitbucketServer/Response.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
49 2 0 if (($self->raw->{'headers'}{'content-type'} || '') =~ /json/)
76 2 0 if $self->is_success
85 1 1 if $self->is_paged
108 1 1 if $self->request_args->{'method'} ne 'GET' or ref $content ne 'HASH' or @envelope_keys != grep({exists $content->{$_};} @envelope_keys)
124 1 1 unless my $page_info = $self->page_info
126 1 0 if $page_info->{'is_last_page'} or not $page_info->{'next_page_start'}
137 0 0 unless my $field = shift()