Condition Coverage

blib/lib/Mojolicious/Plugin/MoreUtilHelpers.pm
Criterion Covered Total %
condition 24 32 75.0


and 3 conditions

line !l l&&!r l&&r condition
46 0 1 6 $text and $n
1 1 5 $text and $n and $n > 0
87 28 6 10 $node->tag and not $tags{$node->tag}
136 1 1 1 @_ == 1 && ref $_[0] eq 'ARRAY'
137 2 0 1 @data == 1 && !defined($data[0])

or 2 conditions

line l !l condition
48 1 2 (shift() // $maxwords->{'omit'}) // '...'

or 3 conditions

line l !l&&r !l&&!r condition
27 5 0 0 $type ||= &$tr($item)
44 6 0 1 shift() // $maxwords->{'max'}
48 2 0 3 shift() // $maxwords->{'omit'}
71 3 0 2 $options{'tags'} // $sanitize->{'tags'}
74 2 0 3 $options{'attr'} // $sanitize->{'attr'}