Branch Coverage

blib/lib/TestRail/API.pm
Criterion Covered Total %
branch 0 96 0.0


line true false branch
100 0 0 if $self->debug
103 0 0 $data ? :
110 0 0 if ($response->code == 403)
114 0 0 if ($response->code != 200)
122 0 0 if ($response->code == 200 and not $response->content) { }
127 0 0 unless ($self->debug)
166 0 0 unless scalar @{$$self{'user_cache'};}
169 0 0 if $$usr{'id'} == $user
176 0 0 unless scalar @{$$self{'user_cache'};}
178 0 0 if $$usr{'name'} eq $user
185 0 0 unless scalar @{$$self{'user_cache'};}
187 0 0 if $$usr{'email'} eq $user
221 0 0 $announce ? :
271 0 0 unless (scalar @{$$self{'testtree'};})
272 0 0 if $result
275 0 0 if ($result)
303 0 0 unless $project
307 0 0 unless scalar @$projects
311 0 0 if $$candidate{'name'} eq $project
335 0 0 unless $project
339 0 0 unless scalar @$projects
343 0 0 if $$candidate{'id'} eq $project
452 0 0 unless $suites
455 0 0 if $$suite{'name'} eq $testsuite_name
514 0 0 if $parent_id
615 0 0 if $$sec{'name'} eq $section_name
634 0 0 unless $self->type_cache
659 0 0 if $$type{'name'} eq $name
710 0 0 if (defined $extras and reftype $extras eq 'HASH')
711 0 0 if defined $$extras{'priority_id'}
712 0 0 if defined $$extras{'estimate'}
713 0 0 if defined $$extras{'milestone_id'}
714 0 0 if defined $$extras{'refs'}
718 0 0 if (defined $opts and reftype $opts eq 'HASH')
773 0 0 if $section_id
803 0 0 if $$case{'title'} eq $name
863 0 0 $case_ids ? :
926 0 0 if $$run{'name'} eq $name
1063 0 0 if $$plan{'name'} eq $name
1191 0 0 if $$milestone{'name'} eq $name
1262 0 0 if $$test{'title'} eq $name
1355 0 0 if (defined $opts and reftype $opts eq 'HASH')
1356 0 0 defined $$opts{'version'} ? :
1357 0 0 defined $$opts{'elapsed'} ? :
1358 0 0 defined $$opts{'defects'} ? :
1359 0 0 defined $$opts{'assignedto_id'} ? :
1363 0 0 if (defined $custom_fields and reftype $custom_fields eq 'HASH')
1391 0 0 if defined $limit