Branch Coverage

blib/lib/Data/Toolkit/Map.pm
Criterion Covered Total %
branch 66 110 60.0


line true false branch
180 2 4 if (defined $configParam) { }
181 0 2 if (ref $configParam ne 'HASH')
201 0 6 if $debug
207 0 6 if $debug
286 0 35 unless $attrib
287 0 35 unless $values
290 35 0 unless $$self{'config'}{'caseSensitiveNames'}
292 0 35 if $debug
311 0 1 unless $attrib
314 1 0 unless $$self{'config'}{'caseSensitiveNames'}
316 0 1 if $debug
338 0 10 if $debug
339 4 6 wantarray ? :
352 0 15 unless $requiredBehaviour
354 0 15 if $debug
355 7 8 if ($requiredBehaviour eq 'delete')
359 1 7 if ($requiredBehaviour eq 'noValues')
362 0 1 $wantarray ? :
365 1 6 if ($requiredBehaviour eq 'nullValue')
368 0 1 $wantarray ? :
371 1 5 if ($requiredBehaviour eq 'emptyString')
373 0 1 $wantarray ? :
376 5 0 if (ref $requiredBehaviour eq 'CODE')
399 0 37 unless $attrib
402 37 0 unless $$self{'config'}{'caseSensitiveNames'}
404 0 37 if $debug
408 1 36 unless $mapping
411 24 12 if (not $refMap) { }
3 9 elsif ($refMap eq 'ARRAY') { }
9 0 elsif ($refMap eq 'CODE') { }
413 0 24 if $debug
419 15 9 unless ($values[0])
423 6 9 unless (defined $valref)
425 0 6 if $debug
429 3 6 if (scalar @$valref == 0)
431 0 3 if $debug
435 3 3 unless (defined $$valref[0])
437 0 3 if $debug
441 3 0 if ($$valref[0] eq '')
443 0 3 if $debug
450 0 9 wantarray ? :
454 0 3 if $debug
456 0 3 wantarray ? :
460 0 9 if $debug
464 2 7 unless defined $result
466 0 7 unless $resType
467 0 7 if ($resType ne 'ARRAY')
497 3 0 if ($_[0])
498 0 3 if $debug
504 0 0 if $debug
527 0 0 unless $attrib
530 0 0 unless $$self{'config'}{'caseSensitiveNames'}
532 0 0 if $debug
567 0 4 if (ref $class)
569 3 1 if @_ == 1