Branch Coverage

lib/JIRA/REST/Class/Abstract.pm
Criterion Covered Total %
branch 15 44 34.0


line true false branch
34 36 0 if (&blessed($factory) and &blessed($factory) eq 'JIRA::REST::Class::Factory') { }
68 0 36 if ($self->{'lazy_loaded'}) { }
100 0 0 if (defined $self->data->{$field})
128 0 0 if (defined $self->data->{$field})
153 0 0 if (defined $self->data->{$field}) { }
185 0 0 if (defined $self->fields->{$field})
215 0 0 if (defined $self->fields->{$field}) { }
252 0 0 if (@_ == 1) { }
254 0 0 unless wantarray
255 0 0 if ref $ptr->{$field} eq 'ARRAY'
256 0 0 if ref $ptr->{$field} eq 'HASH'
288 212 0 if (@_ == 1) { }
293 197 15 unless wantarray
294 0 15 if ref $ptr eq 'ARRAY'
295 0 15 if ref $ptr eq 'HASH'
333 4 0 if (@_ == 1) { }
334 2 2 unless ($_[0]{'lazy_loaded'}{$field})
338 3 1 unless wantarray
339 1 0 if ref $_[0]{$field} eq 'ARRAY'
340 0 0 if ref $_[0]{$field} eq 'HASH'
402 472 0 unless (defined &{$fullname;})
403 472 0 if defined &JIRA::REST::Class::Abstract::subname