| blib/lib/Doit/Git.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 33 | 72.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 66 | 19 | 1 | 3 | $actual_repository ne $repository and not grep({$_ eq $actual_repository;} @repository_aliases) |
| 130 | 3 | 1 | 4 | $commit_before and $self->git_get_commit_hash ne $commit_before || $self->git_current_branch ne $branch_before |
| 240 | 0 | 0 | 0 | $remote_is_newer and $local_is_newer |
| 294 | 3 | 0 | 3 | defined $first and $first ne "\n" |
| 321 | 6 | 0 | 1 | $ignore_untracked and /^\?\?/ |
| 410 | 41 | 8 | 1 | $all and defined $val |
| 567 | 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' |
| 538 | 0 | 5 | delete $opts{'origin'} || 'origin' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 88 | 0 | 7 | 4 | not defined $current_branch or $current_branch ne $branch |
| 130 | 2 | 2 | 1 | $self->git_get_commit_hash ne $commit_before || $self->git_current_branch ne $branch_before |