blib/lib/Mail/Message/Field/Flex.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 20 | 85.0 |
line | true | false | branch |
---|---|---|---|
24 | 1 | 0 | ref $_[-1] eq 'ARRAY' ? : |
17 | 1 | @_ <= 2 || !ref($_[-1]) ? : | |
27 | 6 | 12 | @_ == 1 ? : |
28 | 0 | 18 | unless defined $body |
32 | 0 | 18 | if defined $attr and ref $attr eq 'HASH' |
45 | 1 | 17 | if exists $args->{'comment'} |
81 | 6 | 2 | unless wantarray |
92 | 2 | 36 | if @_ |
102 | 3 | 10 | if (@_ == 2) { } |
105 | 3 | 10 | wantarray ? : |