Branch Coverage

blib/lib/RapidApp/TableSpec/Column.pm
Criterion Covered Total %
branch 19 42 45.2


line true false branch
52 0 2188 unless my $target = shift()
56 0 2188 if $target->{'profiles'}
57 0 2188 unless ref $profiles
60 0 2188 unless scalar @$profiles > 0
73 0 2 if ($prof{'bool'} and $prof{'nullable'} and not $prof{'notnull'})
75 0 0 if $selections and ref $selections eq 'ARRAY' and scalar @$selections == 2
111 1094 0 if ref $_[0]
113 0 1094 unless scalar @profiles > 0
139 0 0 if $attr
146 1094 292 ref $_[0] eq 'HASH' ? :
148 1094 292 if $new{'profiles'}
152 0 8339 if ($attr and $attr->has_write_method) { }
164 0 0 ref $_[0] eq 'HASH' ? :
167 0 0 if $self->get_property($prop)
180 3219 4292 if $self->exclude_attr_property_names->{$attr->name}
181 0 4292 unless $attr->has_value($self)
198 0 781 if (ref $_[0] eq 'HASH') { }
781 0 elsif (ref $_[0] eq 'ARRAY') { }
217 0 292 ref $_[0] eq 'HASH' ? :
223 0 272 if ($self->meta->find_attribute_by_name($opt)) { }
247 0 0 unless $self->rapidapp_init_coderef