Condition Coverage

blib/lib/App/bif/new/identity.pm
Criterion Covered Total %
condition 18 32 56.2


or 2 conditions

line l !l condition
32 0 41 'Config::Tiny'->read($git_conf_file) || {}
34 0 41 $git_conf->{'user'}{'name'} || 'Your Name'
35 0 41 $git_conf->{'user'}{'email'} || 'your@email.adddr'
43 39 0 prompt($spacer . 'Name:', $name) || (return $self->err('NameRequired', 'name is required'))
47 42 0 prompt($spacer . 'Short Name:', $short) || (return $self->err('NameRequired', 'shortname is required'))
50 39 0 prompt($spacer . 'Contact Method:', 'email') || (return $self->err('MethodRequired', 'method is required'))
54 39 0 prompt($spacer . 'Contact ' . ucfirst($opts->{'method'}) . ':', $email) || (return $self->err('ValueRequired', 'value is required'))
58 3 39 $opts->{'message'} ||= ''
82 0 41 $opts->{'bill'} // 0
94 0 41 $opts->{'bill'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
43 3 39 0 $opts->{'name'} ||= prompt($spacer . 'Name:', $name) || (return $self->err('NameRequired', 'name is required'))
47 0 42 0 $opts->{'shortname'} ||= prompt($spacer . 'Short Name:', $short) || (return $self->err('NameRequired', 'shortname is required'))
50 3 39 0 $opts->{'method'} ||= prompt($spacer . 'Contact Method:', 'email') || (return $self->err('MethodRequired', 'method is required'))
54 3 39 0 $opts->{'value'} ||= prompt($spacer . 'Contact ' . ucfirst($opts->{'method'}) . ':', $email) || (return $self->err('ValueRequired', 'value is required'))