| blib/lib/Getopt/Yath/Option/Map.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 22 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 0 | 4 | unless $self->allows_list |
| 66 | 7 | 41 | if ${$_[1];} |
| 74 | 54 | 0 | unless $env |
| 75 | 0 | 0 | if defined $ENV{$name} |
| 78 | 0 | 54 | if keys %val |
| 80 | 0 | 54 | if $self->{'maybe'} |
| 94 | 54 | 51 | unless keys %vals |
| 108 | 0 | 8 | if @input > 1 |
| 110 | 0 | 8 | if ($input[0] =~ /^\s*\{.*\}\s*$/s) |
| 113 | 0 | 0 | unless (eval { do { local $SIG{'__DIE__'}; $out = decode_json($input[0]); 1 } }) |
| 122 | 8 | 0 | if (my $on = $self->split_on) { } |