blib/lib/IPC/PrettyPipe/Arg.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
67 | 10 | 198 | if (@_ == 1) |
69 | 10 | 0 | if 'HASH' eq ref $_[0] |
72 | 0 | 0 | if 'ARRAY' eq ref $_[0] and @{$_[0];} == 2 |
99 | 4 | 82 | $fmt->has_pfx ? : |
101 | 8 | 78 | if ($self->has_value) { } |
103 | 4 | 4 | if ($fmt->has_sep) { } |
135 | 44 | 14 | if ($self->has_value and (my $value = $self->value) =~ s/$pattern/$rep/) |