Branch Coverage

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


line true false branch
111 0 0 if $self->debug
114 0 0 $data ? :
121 0 0 if ($response->code == 403)
125 0 0 if ($response->code != 200)
133 0 0 if ($response->code == 200 and not $response->content) { }
138 0 0 unless ($self->debug)
177 0 0 unless scalar @{$$self{'user_cache'};}
180 0 0 if $$usr{'id'} == $user
187 0 0 unless scalar @{$$self{'user_cache'};}
189 0 0 if $$usr{'name'} eq $user
196 0 0 unless scalar @{$$self{'user_cache'};}
198 0 0 if $$usr{'email'} eq $user
232 0 0 $announce ? :
282 0 0 unless (scalar @{$$self{'testtree'};})
283 0 0 if $result
286 0 0 if ($result)
314 0 0 unless $project
318 0 0 unless scalar @$projects
322 0 0 if $$candidate{'name'} eq $project
346 0 0 unless $project
350 0 0 unless scalar @$projects
354 0 0 if $$candidate{'id'} eq $project
463 0 0 unless $suites
466 0 0 if $$suite{'name'} eq $testsuite_name
525 0 0 if $parent_id
626 0 0 if $$sec{'name'} eq $section_name
645 0 0 unless $self->type_cache
670 0 0 if $$type{'name'} eq $name
721 0 0 if (defined $extras and reftype $extras eq 'HASH')
722 0 0 if defined $$extras{'priority_id'}
723 0 0 if defined $$extras{'estimate'}
724 0 0 if defined $$extras{'milestone_id'}
725 0 0 if defined $$extras{'refs'}
729 0 0 if (defined $opts and reftype $opts eq 'HASH')
784 0 0 if $section_id
814 0 0 if $$case{'title'} eq $name
874 0 0 $case_ids ? :
954 0 0 if $$run{'name'} eq $name
1091 0 0 if $$plan{'name'} eq $name
1219 0 0 if $$milestone{'name'} eq $name
1290 0 0 if $$test{'title'} eq $name
1383 0 0 if (defined $opts and reftype $opts eq 'HASH')
1384 0 0 defined $$opts{'version'} ? :
1385 0 0 defined $$opts{'elapsed'} ? :
1386 0 0 defined $$opts{'defects'} ? :
1387 0 0 defined $$opts{'assignedto_id'} ? :
1391 0 0 if (defined $custom_fields and reftype $custom_fields eq 'HASH')
1419 0 0 if defined $limit