Branch Coverage

lib/Smartcat/App/Command/push.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
64 0 0 if defined $opt->{'disassemble_algorithm_name'}
67 0 0 if defined $opt->{'preset_disassemble_algorithm'}
69 0 0 defined $opt->{'delete_not_existing'} ? :
71 0 0 defined $opt->{'extract_id_from_name'} ? :
73 0 0 defined $opt->{'external_tag'} ? :
90 0 0 if $#{$project->documents;} >= 0
98 0 0 unless defined $documents{$key}
106 0 0 unless ($^O =~ /MSWin32/)
111 0 0 if (-f $name and not /^\.$/ and /$rundata->{'filetype'}$/)
124 0 0 unless defined $ts_files{$key}
138 0 0 defined $documents{$_} ? :
0 0 defined $documents{$_} ? :
0 0 exists $ts_files{$_} && !$self->_check_if_files_are_empty($ts_files{$_}) ? :
160 0 0 if ($rundata->{'delete_not_existing'})
205 0 0 if (defined $doc) { }
218 0 0 if @documents_without_files
222 0 0 if @files_without_documents
231 0 0 if ($rundata->{'extract_id_from_name'})
238 0 0 if ($file_name ne $document_name)
258 0 0 if ($rundata->{'filetype'} eq ".po")
273 0 0 unless @$ts_files == 1 and @target_languages == 1
281 0 0 if ($rundata->{'extract_id_from_name'})