Condition Coverage

blib/lib/Data/TagHive.pm
Criterion Covered Total %
condition 20 22 90.9


and 3 conditions

line !l l&&!r l&&r condition
77 5 7 6 defined $value and defined $existing
12 0 6 defined $value and defined $existing and $value ne $existing
83 2 3 7 $more_to_set and $more_exists

or 3 conditions

line l !l&&r !l&&!r condition
80 7 3 2 defined $value || @pairs
81 5 4 3 defined $$state{$key} || grep({/\A\Q$key.\E/u;} @tags)
119 1 0 1 $$state{$tagstr} // '' eq $1

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
43 16 7 5 15 defined $x xor defined $y