Branch Coverage

lib/Serge/Sync/Plugin/TranslationService/Smartcat.pm
Criterion Covered Total %
branch 0 58 0.0


line true false branch
55 0 0 if ($self->{'data'}{'project_translation_files_path'}) { }
61 0 0 if @job_ts_file_paths > 1
65 0 0 unless $ts_file_path =~ /(%LOCALE%|%LANG%).*$self->{'data'}{'filetype'}/
77 0 0 unless -d $self->{'data'}{'project_translation_files_path'}
82 0 0 unless -d $self->{'data'}{'project_translation_files_path'}
91 0 0 if (exists $self->{'data'}{'push'})
95 0 0 if (exists $self->{'data'}{'pull'})
107 0 0 unless defined $self->{'data'}{'project_id'}
109 0 0 if ($self->{'data'}{'log_file'})
111 0 0 unless -d $log_dir
116 0 0 unless defined $self->{'data'}{'push'}
118 0 0 unless defined $self->{'data'}{'push'}{'disassemble_algorithm_name'}
119 0 0 unless defined $self->{'data'}{'filetype'}
120 0 0 unless defined $self->{'data'}{'pull'}
122 0 0 unless $self->{'data'}{'pull'}{'complete_projects'}
124 0 0 unless $self->{'data'}{'pull'}{'complete_documents'}
133 0 0 if defined $self->{'data'}{'base_url'}
135 0 0 if defined $self->{'data'}{'token_id'}
137 0 0 if defined $self->{'data'}{'token'}
141 0 0 if defined $self->{'data'}{'log_file'}
143 0 0 if ($self->{'data'}{'language_file_tree'})
147 0 0 if $self->{'data'}{'debug'}
160 0 0 unless $1
170 0 0 if ($error_code > 0 and $ignore_codes and ref \$ignore_codes eq 'SCALAR' || grep(($_ eq $error_code), @$ignore_codes) > 0)
177 0 0 if $self->{'debug'}
181 0 0 if $error_code != 0
192 0 0 if $pull_settings->{'complete_documents'}
193 0 0 if $pull_settings->{'complete_projects'}
207 0 0 if $push_settings->{'disassemble_algorithm_name'}