Branch Coverage

lib/UR/Object/Command/List.pm
Criterion Covered Total %
branch 14 76 18.4


line true false branch
84 0 6 if (defined $self->csv_delimiter and $self->csv_delimiter ne $self->__meta__->property_meta_for_name('csv_delimiter')->default_value and $self->style ne 'csv')
92 0 6 unless (ref $self->output)
94 0 0 unless $ofh
111 0 6 if (%extra)
148 0 6 unless defined $bool_expr
168 0 6 unless ($iterator)
191 12 0 if (my $show = $self->show) { }
192 0 12 if (substr($show, 0, 1) =~ /([\+\^\-])/)
195 0 0 unless ($default)
207 0 28 if ($item =~ /^([\+\^\-])/)
208 0 0 if ($1 eq '^')
214 26 2 if ($self->_show_item_is_property_name($item) and not defined $expr) { }
215 26 0 if ($append_prepend_or_omit eq '+') { }
0 0 elsif ($append_prepend_or_omit eq '^') { }
0 0 elsif ($append_prepend_or_omit eq '-') { }
233 0 2 if ($expr) { }
240 2 0 if (eval 'sub { ' . $expr . ')}')
247 0 12 if ($expr)
301 0 0 if (my $help_synopsis = $class->help_synopsis)
308 0 0 if (not $self->subject_class_name and my $subject_class_name = $self->_resolved_params_from_get_options->{'subject_class_name'})
314 0 0 unless not $_->data_type
315 0 0 if $_->data_type
320 0 0 if $name_len > $longest_name
324 0 0 if (not $self->subject_class_name) { }
0 0 elsif (not @properties) { }
329 0 0 if (@filterable_properties)
336 0 0 if (@relational_properties)
365 0 0 unless ($property_doc)
369 0 0 if ($ancestor_property_meta and $ancestor_property_meta->doc)
382 0 0 if ($data_type and $data_class eq $data_type) { }
388 0 0 if ($type and $type =~ /::/) { }
396 0 0 $property_doc ? :
404 0 0 index($data_type, '::') == -1 ? :
405 0 0 if ($property_doc) { }
419 0 0 length $a > length $b ? :
424 0 0 if (ref $data) { }
449 0 0 unless $UR::Object::Command::List::a->[1]->position_in_module_header <=> $UR::Object::Command::List::b->[1]->position_in_module_header
452 0 0 if substr($_->property_name, 0, 1) ne '_' and not $_->implied_by and not $_->is_transient