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
230 0 0 if ($self->create_story)
235 0 0 if ($self->dry_run)
273 0 0 unless @$stories
286 0 0 unless ($story_name)
297 0 0 if $l
303 5 7 $_->story_type eq 'chore' ? :
305 2 1 if $chore_stories
320 0 0 if $result eq 'Accept'
326 0 0 $story->description ? :
0 0 $self->_include_requester_name_in_pr ? :
339 0 0 if ($self->dry_run)
356 0 0 if $err
357 0 0 if $?
376 0 0 if ($error or $?)
377 0 0 defined $error ? :