Branch Coverage

lib/Web/DataService/Set.pm
Criterion Covered Total %
branch 12 46 26.0


line true false branch
40 0 1 unless $self->valid_name($name)
44 0 1 if ref $self->{'valueset'}{$name}
69 2 2 unless (ref $item)
71 2 0 if defined $item
77 0 2 unless (ref $item and &reftype($item) eq 'HASH')
91 0 4 unless defined $SET_DEF{$k}
99 0 2 unless defined $value and $value ne ''
103 0 2 if exists $vs->{'value'}{$value}
108 2 0 unless $item->{'disabled'}
146 0 0 unless (ref $vs eq 'Web::DataService::Set')
148 0 0 unless ($Web::DataService::QUIET or $ENV{'WDS_QUIET'})
158 0 0 if (ref $vs->{'value_list'} eq 'ARRAY' and @{$vs->{'value_list'};})
190 0 0 unless ref $vs eq 'Web::DataService::Set'
194 0 0 if ref $vs->{'value_list'} eq 'ARRAY'
196 0 0 unless @values
208 0 0 if defined $rec->{'doc_string'} and $rec->{'doc_string'} ne ''
225 0 1 unless defined $name
229 0 1 unless ref $set eq 'Web::DataService::Set'
245 0 0 unless ref $set eq 'Web::DataService::Set'
252 0 0 if $set->{'value'}{$v}{'undocumented'}
256 0 0 if defined $sr->{'maps_to'}
257 0 0 if defined $sr->{'doc_string'}
279 0 0 unless ref $set eq 'Web::DataService::Set'