Branch Coverage

blib/lib/Getopt/Kingpin/Base.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
32 68 591 unless (exists $Getopt::Kingpin::Base::types->{$type})
35 61 7 unless ($module->can('set_value'))
36 2 59 unless eval "require $module"
44 349 308 if ($type eq 'Bool')
45 205 144 unless (defined $self->_default)
50 45 612 if ($type =~ /List$/)
62 199 172 defined $_[0]->value ? :
100 5 1 if (exists $ENV{$envar_name})
118 24 233 if ($self->is_cumulative) { }
1 232 elsif ($self->_defined) { }
120 13 11 if ($self->_defined)
124 2 22 if (scalar @ret > 1)
136 12 220 if (scalar @ret > 1)