| blib/lib/Mojolicious/Plugin/Export/Git.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 15 | 73.3 |
| line | l | !l | condition |
|---|---|---|---|
| 148 | 0 | 5 | $opt->{'message'} || 'Site update' |
| 178 | 101 | 0 | join("\n", readline $cmd->stdout) // '' |
| 179 | 101 | 0 | join("\n", readline $cmd->stderr) // '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 74 | 21 | 24 | 5 | $opt->{$key} //= $self->$key |
| 79 | 9 | 1 | 3 | -e $repo_root->child('.git') or $repo_root->to_abs eq '/' |
| 109 | 6 | 0 | 2 | $opt->{'clean'} //= $current_branch ne $opt->{'branch'} |