Branch Coverage

lib/Pcore/Core/CLI/Arg.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
25 0 0 if $self->max and $self->max < $self->min
28 0 0 if (defined $self->default)
29 0 0 if $self->min == 0
31 0 0 if ($self->is_repeatable) { }
32 0 0 unless XXX
35 0 0 if ref $self->default
47 0 0 $self->min ? :
55 0 0 $self->max != 1 ? :
59 0 0 $self->min && !defined($self->default) ? :
65 0 0 if ($self->is_required) { }
72 0 0 if $self->is_repeatable
78 0 0 if (not @$from) { }
79 0 0 if ($self->min) { }
80 0 0 if (defined $self->default) { }
96 0 0 if (not $self->max) { }
0 0 elsif ($self->max == 1) { }
108 0 0 if ($self->is_repeatable)
111 0 0 if @{$$to{$self->name}} < $self->min
114 0 0 if $self->max and @{$$to{$self->name}} > $self->max
118 0 0 if (defined $self->isa and my $error_msg = $self->_validate_isa($$to{$self->name}))