Branch Coverage

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


line true false branch
61 0 0 if defined $opt->{'disassemble_algorithm_name'}
64 0 0 if defined $opt->{'preset_disassemble_algorithm'}
66 0 0 defined $opt->{'delete_not_existing'} ? :
83 0 0 if $#{$project->documents;} >= 0
87 0 0 unless defined $documents{$key}
95 0 0 unless ($^O =~ /MSWin32/)
99 0 0 if (-f $name and not /^\.$/ and /$rundata->{'filetype'}$/)
107 0 0 unless defined $ts_files{$key}
121 0 0 defined $documents{$_} ? :
0 0 defined $documents{$_} ? :
0 0 exists $ts_files{$_} && !$self->_check_if_files_are_empty($ts_files{$_}) ? :
143 0 0 if ($rundata->{'delete_not_existing'})
190 0 0 if (defined $doc) { }
203 0 0 if @documents_without_files
207 0 0 if @files_without_documents
219 0 0 if ($rundata->{'filetype'} eq '.po')
234 0 0 unless @$ts_files == 1 and @target_languages == 1