Branch Coverage

blib/lib/Config/Model/ListId.pm
Criterion Covered Total %
branch 77 100 77.0


line true false branch
49 0 852 if defined $self->{$wrong}
52 0 284 if (defined $self->{'migrate_keys_from'})
71 283 1 unless defined $self->{'max_index'}
76 0 0 unless $k > $self->{'max_index'}
85 1121 554 if $self->{'migration_done'}
89 277 277 if $self->instance->initial_load
93 2 275 if ($self->{'migrate_values_from'}) { }
0 275 elsif ($self->{'migrate_keys_from'}) { }
95 0 2 if $logger->is_debug
108 0 0 unless $self->_defined($_)
128 1 1 if ($self->cargo_type eq "node")
132 1 1 if ($self->cargo_type eq "leaf")
140 0 4 if defined $v
155 769 832 scalar @$data ? :
184 2 205 unless $string =~ s/$regex//
187 205 0 if defined $tmp
188 205 0 if defined $tmp
191 66 139 unless length $string
194 0 139 unless $string =~ s/^,//
197 2 66 if (length $string)
212 67 26 if (ref $_[0] eq 'ARRAY') { }
221 3 90 if ($logger->is_debug)
226 93 0 unless $args{'comment'}
231 0 283 if @comments
256 0 4884 unless $key =~ /^\d+$/
284 2 0 if ($ok or $check eq 'no') { }
294 0 0 if ($check ne "skip")
318 1 1 ref $v_arg ? :
320 1 0 $anno ? :
1 1 ref $anno ? :
322 0 2 if %args
329 2 1 if @a
361 3 2 ref $val eq 'Regexp' ? :
367 5 9 if &$test($v)
386 3 3 if @insert
399 0 60 unless $ct eq "leaf"
416 3 3 if $has_changed
425 0 173 unless defined $o
426 70 103 if $o->index_value != $i
458 1 17 unless $idx =~ /^\d+$/
465 14 3 if ($self->{'cargo'}{'type'} eq "leaf")
477 285 2 unless defined $auto_nb
481 1 1 unless $auto_nb =~ /^\d+$/
489 4 0 unless defined $self->{'data'}[$_]
496 765 548 if @{$self->{'data'};}
508 99 3 @_ > 1 ? :
514 21 1 defined $raw_data ? :
39 22 $args{'split_reg'} ? :
41 61 ref $raw_data eq 'ARRAY' ? :
518 1 101 unless defined $data