blib/lib/String/Formatter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 24 | 62.5 |
line | l | !l | condition |
---|---|---|---|
117 | 52 | 34 | ref $_ and $_ = $self->$formatter($_) |
line | l | !l | condition |
---|---|---|---|
318 | 1 | 33 | $$hunk{'alignment'} || '' |
319 | 3 | 31 | $$hunk{'min_width'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
84 | 14 | 0 | 30 | $$arg{$_} || do { my $default_method = "default_$_"; $class->$default_method } |
171 | 0 | 0 | 3 | @$args != 1 or not &Params::Util::_HASHLIKE($$args[0]) |
181 | 0 | 0 | 1 | @$args != 1 or not &Params::Util::_ARRAYLIKE($$args[0]) |
320 | 1 | 33 | 0 | $$hunk{'max_width'} || $replength |
322 | 3 | 0 | 31 | $min_width ||= $replength > $min_width ? $min_width : $replength |
323 | 34 | 0 | 0 | $max_width ||= $max_width > $replength ? $max_width : $replength |