Branch Coverage

lib/UR/Object/View/Default/Text.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
65 0 95 if (@_)
76 0 0 if (@_)
90 22 0 if ($subject)
92 0 22 if $subject_id_txt =~ /\s/
97 7 15 if ($self->_subject_is_used_in_an_encompassing_view) { }
108 9 54 if $aspect->name eq 'id'
135 0 54 unless ($subject)
147 6 48 if (@value == 0)
152 0 48 if (@value == 1 and ref $value[0] eq 'ARRAY')
156 28 20 unless ($aspect->delegate_view)
163 48 0 if (my $delegate_view = $aspect->delegate_view)
167 18 38 if (&Scalar::Util::blessed($value)) { }
178 35 13 if (@value == 1 and defined $value[0] and index($value[0], "\n") == -1) { }
184 9 4 if (@value == 1) { }
210 18 3 if (defined $value)