Condition Coverage

blib/lib/Mojolicious/Plugin/MoreUtilHelpers.pm
Criterion Covered Total %
condition 27 32 84.3


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
81 28 6 10 $node->tag and not $tags{$node->tag}
130 1 1 1 @_ == 1 && ref $_[0] eq 'ARRAY'
131 2 0 1 @data == 1 && !defined($data[0])

or 2 conditions

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

or 3 conditions

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