Condition Coverage

lib/CSS/LESS/Filter.pm
Criterion Covered Total %
condition 15 26 57.6


and 3 conditions

line !l l&&!r l&&r condition
48 2 2 0 length $res and substr($res, -1) ne "\n"
70 0 16 0 @_ and @_ % 2
102 0 4 2 not ref $$_[0] and $new_id eq $$_[0]
4 0 0 ref $$_[0] eq ref qr// and $new_id =~ /$$_[0]/
125 0 3 8 not ref $$_[0] and $cur_id eq $$_[0]
3 0 0 ref $$_[0] eq ref qr// and $cur_id =~ /$$_[0]/

or 2 conditions

line l !l condition
26 4 12 ($opts || {})->{'mode'} || 'warn'

or 3 conditions

line l !l&&r !l&&!r condition
102 2 0 4 not ref $$_[0] and $new_id eq $$_[0] or ref $$_[0] eq ref qr// and $new_id =~ /$$_[0]/
125 8 0 3 not ref $$_[0] and $cur_id eq $$_[0] or ref $$_[0] eq ref qr// and $cur_id =~ /$$_[0]/