Branch Coverage

blib/lib/CTK/TFVals.pm
Criterion Covered Total %
branch 61 84 72.6


line true false branch
356 1 3 unless defined $v
361 0 0 unless defined $v
368 0 0 unless $v
373 23 27 unless $v
378 0 0 unless $v
385 2 3 &is_num($tv) ? :
390 1 4 unless defined $v
391 2 2 if $v =~ /^[+\-]?[0-9]{1,20}$/
396 2 1 &is_flt($tv) ? :
401 1 2 unless defined $v
402 2 0 if $v =~ /^[+\-]?[0-9]{1,20}\.?[0-9]*$/
407 2 1 &is_int($tv) ? :
411 1 52 unless defined $v
412 52 0 if $v =~ /^[0-9]{1,20}$/
417 1 1 &is_int8($tv) ? :
421 0 26 unless defined $v
422 25 1 if $v =~ /^[0-9]{1,3}$/ and $v >= 0 and $v < 256
427 1 1 &is_int16($tv) ? :
431 0 2 unless defined $v
432 1 1 if $v =~ /^[0-9]{1,5}$/ and $v >= 0 and $v < 65536
437 1 1 &is_int32($tv) ? :
441 0 2 unless defined $v
442 1 1 if $v =~ /^[0-9]{1,10}$/ and $v >= 0 and $v < 4294967296
447 0 0 &is_int64($tv) ? :
451 0 0 unless defined $v
452 0 0 if $v =~ /^[0-9]{1,20}$/ and $v >= 0 and $v < 1.8446744073709552e+19
459 1 1 &is_intx($tv, $x) ? :
464 0 3 unless $x and &is_int8($x) and $x >= 0 and $x <= 64
465 0 3 unless defined $v
466 2 1 if $v =~ /^[0-9]{1,20}$/ and $v >= 0 and $v < 2 ** $x
473 4 42 unless defined $struct
474 7 35 if defined $struct and not ref $struct
475 20 15 if (&is_int($depth) and $depth > 0) { }
476 0 20 unless &is_int8($depth)
478 0 15 unless &is_int($depth)
481 0 35 if $depth >= 32
484 2 33 if ($t eq 'SCALAR') { }
26 7 elsif ($t eq 'ARRAY') { }
4 3 elsif ($t eq 'HASH') { }
488 11 14 unless is_void($_, $depth)
492 2 2 if keys %$struct
499 0 12 is_void(@_) ? :