Branch Coverage

blib/lib/HiD/App/Command/publish.pm
Criterion Covered Total %
branch 5 46 10.8


line true false branch
89 0 15 if ($self->clean)
93 0 15 if ($self->limit_posts)
97 0 15 if ($self->publish_drafts)
101 0 15 if ($self->to_github_pages)
102 0 0 if $self->verbose
104 0 0 unless -e -d '.git'
107 0 0 unless try_load_class('Git::Wrapper')
112 0 0 if $self->verbose
117 0 14 if ($self->to_github_pages)
119 0 0 if $self->verbose
122 0 0 if $self->verbose
127 0 0 if $self->verbose
133 0 0 if ($self->status->is_dirty) { }
134 0 0 if $self->verbose
143 0 0 if $self->verbose
147 0 0 if $self->verbose
158 0 0 if (grep {$_ eq 'gh-pages';} map({s/\*? ?//u; $_;} $self->branch))
159 0 0 if $self->verbose
160 0 0 unless $self->_get_current_branch eq 'gh-pages'
167 0 0 if $self->verbose
173 0 0 if $self->verbose
176 0 0 if /^.git/u
178 0 0 $_->is_dir ? :