Branch Coverage

lib/Smartcat/Client/TranslationMemoriesApi.pm
Criterion Covered Total %
branch 1 108 0.9


line true false branch
41 0 1 if ($_[0] and ref $_[0] and ref $_[0] eq 'Smartcat::Client::ApiClient') { }
80 0 0 unless (exists $args{'model'})
97 0 0 if ($_header_accept)
106 0 0 if (exists $args{'model'})
118 0 0 unless ($response)
165 0 0 unless (exists $args{'tm_id'})
172 0 0 unless (exists $args{'export_mode'})
179 0 0 unless (exists $args{'with_tags'})
196 0 0 if ($_header_accept)
203 0 0 if (exists $args{'export_mode'})
209 0 0 if (exists $args{'with_tags'})
215 0 0 if (exists $args{'tm_id'})
231 0 0 unless ($response)
267 0 0 unless (exists $args{'tm_id'})
284 0 0 if ($_header_accept)
291 0 0 if (exists $args{'tm_id'})
307 0 0 unless ($response)
346 0 0 if ($_header_accept)
362 0 0 unless ($response)
404 0 0 unless (exists $args{'request'})
411 0 0 unless (exists $args{'tm_id'})
428 0 0 if ($_header_accept)
435 0 0 if (exists $args{'tm_id'})
443 0 0 if (exists $args{'request'})
455 0 0 unless ($response)
521 0 0 unless (exists $args{'last_processed_id'})
528 0 0 unless (exists $args{'batch_size'})
545 0 0 if ($_header_accept)
552 0 0 if (exists $args{'last_processed_id'})
558 0 0 if (exists $args{'batch_size'})
564 0 0 if (exists $args{'source_language'})
570 0 0 if (exists $args{'target_language'})
576 0 0 if (exists $args{'client_id'})
582 0 0 if (exists $args{'search_name'})
597 0 0 unless ($response)
645 0 0 unless (exists $args{'tm_id'})
652 0 0 unless (exists $args{'replace_all_content'})
659 0 0 unless (exists $args{'tmx_file'})
675 0 0 if ($_header_accept)
682 0 0 if (exists $args{'replace_all_content'})
688 0 0 if (exists $args{'tm_id'})
695 0 0 if (exists $args{'tmx_file'})
696 0 0 unless defined $form_params->{'tmxFile'}
741 0 0 unless (exists $args{'task_id'})
757 0 0 if ($_header_accept)
764 0 0 if (exists $args{'task_id'})
812 0 0 unless (exists $args{'tm_id'})
828 0 0 if ($_header_accept)
835 0 0 if (exists $args{'tm_id'})
888 0 0 unless (exists $args{'tm_id'})
895 0 0 unless (exists $args{'target_languages'})
911 0 0 if ($_header_accept)
918 0 0 if (exists $args{'tm_id'})
927 0 0 if (exists $args{'target_languages'})