Branch Coverage

lib/Serge/Sync/Plugin/TranslationService/crowdin.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
44 0 5 unless defined $self->{'data'}{'config_file'}
45 1 4 unless -f $self->{'data'}{'config_file'}
47 3 1 unless defined $self->{'data'}{'upload_translations'}
48 3 1 unless defined $self->{'data'}{'import_duplicates'}
49 3 1 unless defined $self->{'data'}{'import_eq_suggestions'}
50 3 1 unless defined $self->{'data'}{'auto_approve_imported'}
58 2 9 if ($langs)
83 0 4 if ($cli_return != 0)
87 3 1 if ($self->{'data'}{'upload_translations'})
89 1 2 if ($self->{'data'}{'import_duplicates'})
92 1 2 if ($self->{'data'}{'import_eq_suggestions'})
95 1 2 if ($self->{'data'}{'auto_approve_imported'})