Branch Coverage

blib/lib/CLI/Var.pm
Criterion Covered Total %
branch 22 38 57.8


line true false branch
32 0 6 if defined $$hash{'function'}
33 2 4 if defined $$hash{'min'}
34 1 5 if defined $$hash{'max'}
46 9 10 if (@_)
54 3 6 if (defined $min)
55 0 3 if ($value < $min)
61 1 8 if (defined $max)
62 0 1 if ($value > $max)
67 9 0 if ($inrange)
69 0 9 if (defined $self->function)
71 0 0 if ($type == 3 or $type == 4) { }
72 0 0 if ($oldvalue ne $value)
77 0 0 if ($oldvalue != $value)
100 0 4 if ($type == 5) { }
4 0 elsif ($type == 6) { }
114 9 2 if (defined $string) { }
117 0 9 unless (defined $value)
121 0 9 if (defined $string)
128 2 0 if (defined $self->svalue) { }