Branch Coverage

lib/JIRA/REST/Class/Issue.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
67 0 0 ref $A ? :
68 0 0 ref $B ? :
73 0 0 ref $A ? :
74 0 0 ref $B ? :
105 0 0 unless (defined &JIRA::REST::Class::Issue::is_bug)
208 0 0 unless (exists $args->{'issue'})
215 0 0 if (exists $obj->{'issue'})
236 0 0 unless -f $file
254 0 0 unless -f $file
328 0 0 if $label eq $has
429 0 0 if (@args == 1 and ref $args[0] and ref $args[0] eq 'HASH') { }
451 0 0 if ($fields)
454 0 0 if $field eq 'project' or $field eq 'parent' or $field eq 'issuetype'
476 0 0 unless exists $fields->{'project'} and defined $fields->{'project'}
480 0 0 if ($self->obj_isa($proj, 'project'))
487 0 0 unless $_->id eq $proj
490 0 0 if $project
501 0 0 unless exists $fields->{'parent'} and defined $fields->{'parent'}
504 0 0 if ($self->obj_isa($issue, 'issue'))
512 0 0 if $parent
524 0 0 if (exists $fields->{'issuetype'} and defined $fields->{'issuetype'})
527 0 0 if ($self->obj_isa($type, 'issuetype'))
530 0 0 if $type->subtask
537 0 0 unless $_->id eq $type
540 0 0 if $issuetype and $issuetype->subtask
542 0 0 unless (defined $issuetype)
555 0 0 if (@subtasks == 1)
722 0 0 unless $children->issue_count