Branch Coverage

blib/lib/Net/LDAP/Filter/SQL.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
30 4 32 if /^and/
31 1 31 if /^or/
32 0 31 if /^not/
33 1 30 if /^present/
34 11 19 if (/^(equalityMatch|greaterOrEqual|lessOrEqual|approxMatch)/)
38 3 16 if (/^substrings/)
40 1 2 if exists $$hash{$_}{'substrings'}[0]{'initial'}
41 2 1 unless exists $$hash{$_}{'substrings'}[-1]{'final'}
46 0 16 if (/^extensibleMatch/)
56 0 14 if $ident =~ s/\W//g
68 0 10 unless $$self{'sql_values'}
80 0 1 unless ref $dataref eq 'HASH'