Branch Coverage

lib/Serge/Sync/Plugin/TranslationService/mojito.pm
Criterion Covered Total %
branch 37 38 97.3


line true false branch
57 1 11 unless defined $self->{'data'}{'repository_name'}
59 10 1 if ($self->{'data'}{'application_properties'} ne '')
60 1 9 unless -f $self->{'data'}{'application_properties'}
63 1 9 unless defined $self->{'data'}{'source_files_path'}
64 2 7 unless -d $self->{'data'}{'source_files_path'}
66 1 6 unless defined $self->{'data'}{'localized_files_path'}
67 1 5 unless -d $self->{'data'}{'localized_files_path'}
69 4 1 unless defined $self->{'data'}{'import_translations'}
70 3 2 unless defined $self->{'data'}{'inheritance_mode'}
71 3 2 unless defined $self->{'data'}{'status_pull'}
73 1 4 if (not defined $self->{'data'}{'destination_locales'} or scalar @{$self->{'data'}{'destination_locales'};} == 0)
85 8 3 if ($self->{'data'}{'application_properties'} ne '')
89 3 8 if (defined $self->{'data'}{'source_locale'})
93 7 4 if ($langs)
101 5 6 if (defined $self->{'data'}{'file_type'})
135 0 4 if ($cli_return != 0)
139 3 1 if ($self->{'data'}{'import_translations'})
142 1 2 if ($self->{'data'}{'status_equal_target'} ne '')
155 5 2 unless ($langs)