lib/Template/Plugin/TruncateByWord.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 14 | 71.4 |
line | l | !l | condition |
---|---|---|---|
44 | 24 | 30 | $$args[1] || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
22 | 18 | 0 | 36 | $$self{'_CONFIG'}{'name'} || $FILTER_NAME_DEFAULT |
23 | 40 | 0 | 8 | $$self{'_ARGS'}[0] || $ORG_ENC_DEFAULT |
6 | 48 | 0 | $$self{'_CONFIG'}{'enc'} ||= $$self{'_ARGS'}[0] || $ORG_ENC_DEFAULT | |
40 | 48 | 6 | 0 | $$args[0] || $org_length |