Branch Coverage

blib/lib/TestRail/Utils/Lock.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
25 0 11 unless &blessed($tr) eq "TestRail::API"
41 8 3 if ($opts->{'case-types'})
66 6 0 if $title
69 5 6 unless ($title)
102 6 8 unless ($result->{'status_id'} == $lock_status_id)
105 6 0 if $next_one
111 7 1 if ($result->{'id'} == $res->{'id'})
116 1 0 if ($next_one)
127 3 3 defined $test->{'full_title'} ? :
6 0 if $next_one