blib/lib/String/Format.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 22 | 81.8 |
line | true | false | branch |
---|---|---|---|
34 | 4 | 27 | unless defined $$args{$formchar} |
36 | 27 | 0 | unless defined $alignment |
39 | 3 | 24 | if (ref $replacement eq 'CODE') |
51 | 0 | 27 | if ($replength > $min_width and $replength < $max_width) |
56 | 1 | 26 | if ($replength > $max_width) |
61 | 0 | 26 | if ($alignment eq '-') |
80 | 12 | 7 | UNIVERSAL::isa($_[0], 'HASH') ? : |
81 | 16 | 3 | unless exists $$args{'n'} |
82 | 18 | 1 | unless exists $$args{'t'} |
83 | 18 | 1 | unless exists $$args{'%'} |
92 | 1 | 0 | UNIVERSAL::isa($_[0], 'HASH') ? : |