Branch Coverage

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


line true false branch
54 0 0 if ($self->{'data'}{'project_translation_files_path'}) { }
60 0 0 if @job_ts_file_paths > 1
64 0 0 unless $ts_file_path =~ /(%LOCALE%|%LANG%).*$self->{'data'}{'filetype'}/
76 0 0 unless -d $self->{'data'}{'project_translation_files_path'}
81 0 0 unless -d $self->{'data'}{'project_translation_files_path'}
89 0 0 if (exists $self->{'data'}{'push'})
93 0 0 if (exists $self->{'data'}{'pull'})
105 0 0 unless defined $self->{'data'}{'project_id'}
107 0 0 if ($self->{'data'}{'log_file'})
109 0 0 unless -d $log_dir
114 0 0 unless defined $self->{'data'}{'push'}
116 0 0 unless defined $self->{'data'}{'push'}{'disassemble_algorithm_name'}
117 0 0 unless defined $self->{'data'}{'filetype'}
118 0 0 unless defined $self->{'data'}{'pull'}
120 0 0 unless $self->{'data'}{'pull'}{'complete_projects'}
122 0 0 unless $self->{'data'}{'pull'}{'complete_documents'}
131 0 0 if defined $self->{'data'}{'token_id'}
133 0 0 if defined $self->{'data'}{'token'}
138 0 0 if ($self->{'data'}{'language_file_tree'})
142 0 0 if $self->{'data'}{'debug'}
155 0 0 unless $1
165 0 0 if ($error_code > 0 and $ignore_codes and ref \$ignore_codes eq 'SCALAR' || grep(($_ eq $error_code), @$ignore_codes) > 0)
172 0 0 if $self->{'debug'}
176 0 0 if $error_code != 0
187 0 0 if $pull_settings->{'complete_documents'}
188 0 0 if $pull_settings->{'complete_projects'}
201 0 0 if $push_settings->{'disassemble_algorithm_name'}