Condition Coverage

blib/lib/App/GHPT/WorkSubmitter.pm
Criterion Covered Total %
condition 4 49 8.1


and 3 conditions

line !l l&&!r l&&r condition
296 0 0 0 defined $qa_markdown and length $qa_markdown
464 0 0 0 $uri->can("host") and $uri->can("path")

or 2 conditions

line l !l condition
173 0 0 $self->_hub_config->{$host}[0] // {}
202 0 0 (($ENV{"GITHUB_PROTOCOL"} // $self->_config_val("submit-work.github.protocol")) // $$hub_config{"protocol"}) // "https"
393 2 1 $non_chore_stories // []
399 0 0 $ENV{"SUBMIT_WORK_CLEAR"} // 0
456 0 0 $self->_git_config->{"remote.origin.url"} // ""

or 3 conditions

line l !l&&r !l&&!r condition
202 0 0 0 $ENV{"GITHUB_PROTOCOL"} // $self->_config_val("submit-work.github.protocol")
0 0 0 ($ENV{"GITHUB_PROTOCOL"} // $self->_config_val("submit-work.github.protocol")) // $$hub_config{"protocol"}
212 0 0 0 $ENV{$env_key} // $self->_config_val($key)
0 0 0 ($ENV{$env_key} // $self->_config_val($key)) // $$hub_config{"oauth_token"}
0 0 0 (($ENV{$env_key} // $self->_config_val($key)) // $$hub_config{"oauth_token"}) // $self->_require_env_or_git_config($env_key, $key)
218 1 0 0 $ENV{$env_key} // $self->_config_val($key)
1 0 0 ($ENV{$env_key} // $self->_config_val($key)) // $self->_require_env_or_git_config($env_key, $key)
306 0 0 0 choose(@_) || exit 1
488 0 0 0 $error or $?
500 0 0 0 $ENV{"XDG_CONFIG_HOME"} // "File::HomeDir"->my_home . "/.config"
516 0 0 0 $error or $?