Branch Coverage

blib/lib/CXC/Astro/Regions/DS9/Variant.pm
Criterion Covered Total %
branch 44 48 91.6


line true false branch
38 16 26 if $args{'extends'} and @{$args{'extends'}}
49 2 136 if $name eq "text"
55 2 740 if $has_text_param and $name eq "text"
61 2 55 if $args{'comment'}
62 57 0 $self->include ? :
66 24 33 if @props
71 2 40 if $args{'around'} and @{$args{'around'}}
72 40 2 if $args{'with'} and @{$args{'with'}}
82 2 156 unless $param->{'render'} // Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.42.0/B/Deparse.pm line 5762.
86 11 145 unless defined $values[0]
88 1 144 if (defined(my $format = $param->{'format'}))
97 111 261 if (is_arrayref($value))
104 6 138 if (@param_values == 1 and defined(my $label = $param->{'label'})) { }
122 0 1044 unless $prop->{'render'} // Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.42.0/B/Deparse.pm line 5762.
126 57 987 if $name eq "include"
129 1 56 if $name eq "text" and $args{'has_text_param'}
131 232 754 exists $prop->{'label'} ? :
133 931 55 unless @values
135 16 39 if (defined(my $format = $prop->{'format'}))
144 9 48 if (is_arrayref($value))
151 39 0 if (@prop_values)
153 15 24 if (not defined $label) { }
23 1 elsif (@prop_values == 1) { }
160 1 0 if defined $label