Condition Coverage

blib/lib/Doit/Git.pm
Criterion Covered Total %
condition 25 31 80.6


and 3 conditions

line !l l&&!r l&&r condition
66 17 1 3 $actual_repository ne $repository and not grep({$_ eq $actual_repository;} @repository_aliases)
126 1 1 4 $commit_before and $self->git_get_commit_hash ne $commit_before || $self->git_current_branch ne $branch_before
233 0 0 0 $remote_is_newer and $local_is_newer
287 3 0 3 defined $first and $first ne "\n"
314 6 0 1 $ignore_untracked and /^\?\?/
401 14 7 1 defined $val and $unset

or 2 conditions

line l !l condition
33 4 35 delete $opts{'origin'} || 'origin'
37 3 36 delete $opts{'refresh'} || 'always'

or 3 conditions

line l !l&&r !l&&!r condition
84 0 5 4 not defined $current_branch or $current_branch ne $branch
126 2 2 1 $self->git_get_commit_hash ne $commit_before || $self->git_current_branch ne $branch_before
424 4 2 1 not defined $old_val or $old_val ne $val