lib/Serge/Sync/Plugin/TranslationService/lokalise.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 20 | 85.0 |
line | true | false | branch |
---|---|---|---|
47 | 1 | 7 | unless defined $self->{'data'}{'config_file'} |
48 | 1 | 6 | unless -f $self->{'data'}{'config_file'} |
50 | 1 | 5 | unless defined $self->{'data'}{'resource_directory'} |
51 | 1 | 4 | unless -d $self->{'data'}{'resource_directory'} |
53 | 1 | 3 | unless defined $self->{'data'}{'file_format'} |
55 | 1 | 2 | if (not defined $self->{'data'}{'languages'} or scalar @{$self->{'data'}{'languages'};} == 0) |
84 | 0 | 2 | if ($langs) |
112 | 0 | 2 | if ($cli_return != 0) |
124 | 2 | 0 | unless ($langs) |
137 | 2 | 2 | if -f $_ |