Branch Coverage

blib/lib/Getopt/Kingpin/Flag.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
34 30 238 if (defined $self->short_name)
40 6 262 if (ref $default)
44 194 74 if ($self->type eq 'Bool') { }
6 68 elsif ($self->is_hash) { }
47 2 4 if (defined $self->_placeholder and $self->_placeholder =~ /=/) { }
2 2 elsif (defined $self->_placeholder) { }
55 10 58 if (defined $self->_placeholder) { }
10 48 elsif ($printable_default) { }
64 224 44 defined $self->description ? :