| lib/Serge/Sync/Plugin/TranslationService/lingohub.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 20 | 85.0 |
| line | true | false | branch |
|---|---|---|---|
| 47 | 1 | 6 | unless defined $self->{'data'}{'project'} |
| 48 | 0 | 6 | unless defined $self->{'data'}{'resource_directory'} |
| 49 | 1 | 5 | unless -d $self->{'data'}{'root_directory'} |
| 53 | 4 | 1 | if (defined $self->{'data'}{'target_languages'}) |
| 57 | 1 | 4 | unless $target_languages_count != 0 |
| 59 | 3 | 1 | unless defined $self->{'data'}{'source_language'} |
| 71 | 0 | 15 | if ($cli_return != 0) |
| 94 | 0 | 3 | if ($cli_return != 0) |
| 122 | 6 | 2 | unless ($langs) |
| 139 | 3 | 3 | if -f $_ |