Branch Coverage

blib/lib/App/GHPT/WorkSubmitter.pm
Criterion Covered Total %
branch 14 48 29.1


line true false branch
137 4 4 $want ? :
144 8 4 $want ? :
147 1 2 if @projects == 1
156 4 2 $want ? :
159 1 2 if @memberships == 1
174 0 0 unless (-s dir('File::HomeDir'->my_home)->file('.config', 'hub'))
180 0 0 unless ($requester)
183 0 0 unless ($chosen_story)
206 0 0 unless defined $qa_markdown and length $qa_markdown
228 0 0 if ($self->create_story)
233 0 0 if ($self->dry_run)
271 0 0 unless @$stories
284 0 0 unless ($story_name)
295 0 0 if $l
301 5 7 $_->story_type eq 'chore' ? :
303 2 1 if $chore_stories
315 0 0 if $result eq 'Accept'
321 0 0 $story->description ? :
0 0 $self->_include_requester_name_in_pr ? :
334 0 0 if ($self->dry_run)
351 0 0 if $err
352 0 0 if $?
371 0 0 if ($error or $?)
372 0 0 defined $error ? :