| blib/lib/Doit/Git.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 27 | 36 | 75.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 66 | 19 | 1 | 3 | $actual_repository ne $repository and not grep({$_ eq $actual_repository;} @repository_aliases) |
| 129 | 3 | 1 | 4 | $commit_before and $self->git_get_commit_hash ne $commit_before || $self->git_current_branch ne $branch_before |
| 239 | 0 | 0 | 0 | $remote_is_newer and $local_is_newer |
| 293 | 3 | 0 | 3 | defined $first and $first ne "\n" |
| 320 | 6 | 0 | 1 | $ignore_untracked and /^\?\?/ |
| 407 | 14 | 7 | 1 | defined $val and $unset |
| 473 | 0 | 0 | 2 | defined $info_res and $info_res ne "" |
| line | l | !l | condition |
|---|---|---|---|
| 33 | 4 | 38 | delete $opts{'origin'} || 'origin' |
| 37 | 3 | 39 | delete $opts{'refresh'} || 'always' |
| 444 | 0 | 5 | delete $opts{'origin'} || 'origin' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 87 | 0 | 7 | 4 | not defined $current_branch or $current_branch ne $branch |
| 129 | 2 | 2 | 1 | $self->git_get_commit_hash ne $commit_before || $self->git_current_branch ne $branch_before |
| 430 | 4 | 2 | 1 | not defined $old_val or $old_val ne $val |