Condition Coverage

blib/lib/File/KDBX/Iterator.pm
Criterion Covered Total %
condition 22 37 59.4


and 3 conditions

line !l l&&!r l&&r condition
24 818 0 0 @_ == 1 && XXX
27 1 2 22 @_ == 1 and XXX
121 4 0 1 ((delete $args{'collate'} // !delete $args{'no_collate'}) // 1) && try_load_optional('Unicode::Collate')
124 4 0 1 $collate and not $case

or 2 conditions

line l !l condition
119 5 0 (delete $args{'ascending'} // !delete $args{'descending'}) // 1
120 5 0 (delete $args{'case'} // !delete $args{'no_case'}) // 1
127 0 1 $args{'level'} //= 2
129 0 5 $args{'upper_before_lower'} //= 1
132 15 0 $_[0]->$field // ""
10 0 uc $_[0]->$field // ""
163 2 0 ($args{'ascending'} // !$args{'descending'}) // 1
166 10 0 $_[0]->$field // 0

or 3 conditions

line l !l&&r !l&&!r condition
119 2 3 0 delete $args{'ascending'} // !delete $args{'descending'}
120 3 2 0 delete $args{'case'} // !delete $args{'no_case'}
163 1 1 0 $args{'ascending'} // !$args{'descending'}