Branch Coverage

blib/lib/App/BitBucketCli/Command/PullRequests.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
51 0 0 if ($self->opt->create)
57 0 0 unless ($self->opt->{'from_branch'})
62 0 0 if (-s $head)
76 0 0 if $self->opt->{'from_branch'}
77 0 0 $self->opt->{'to_branch'} ? :
91 0 0 if $author and not $pull_request->author->{'user'}{'displayName'} =~ /$author/
92 0 0 if $to_branch and not $pull_request->toRef->{'displayId'} =~ /$to_branch/
93 0 0 if $from_branch and not $pull_request->fromRef->{'displayId'} =~ /$from_branch/
94 0 0 if $title and not $pull_request->title =~ /$title/
95 0 0 if $emails and not grep({/$emails/;} @{$pull_request->emails;})
96 0 0 if $participant and not grep({$_->{'user'}{'displayName'} =~ /$participant/;} @{$pull_request->participants;})
110 0 0 if not $max{$key} or $max{$key} < length $prs[-1]{$key}
119 0 0 if ($self->opt->long)