Condition Coverage

blib/lib/Test/Unix/User.pm
Criterion Covered Total %
condition 5 12 41.6


and 3 conditions

line !l l&&!r l&&r condition
291 0 0 14 exists $$spec{'name'} && defined $$spec{'name'}

or 3 conditions

line l !l&&r !l&&!r condition
138 0 0 0 not defined $$spec{$field} or $$spec{$field} =~ /^\s*$/
203 1 1 27 not defined $$spec{$field} or $$spec{$field} =~ /^\s*$/
291 0 0 14 not exists $$spec{'name'} && defined $$spec{'name'} or $$spec{'name'} =~ /^\s*$/