Branch Coverage

blib/lib/Test/Unix/Group.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
125 0 0 unless (defined $spec)
131 0 0 if (ref $spec ne 'HASH')
137 0 0 if (not exists $$spec{'name'} && defined $$spec{'name'} or $$spec{'name'} =~ /^\s*$/)
141 0 0 unless defined $t
147 0 0 unless (defined $test_name)
156 0 0 unless (defined $g)
163 0 0 unless (exists $GROUP_FIELDS{$field})
168 0 0 if (not defined $$spec{$field} or $$spec{$field} =~ /^\s*$/)
176 0 0 if ($field eq 'members')
184 0 0 unless (defined $u)
190 0 0 if ($g->gid != $u->gid)
200 0 0 if ($$spec{$field} ne $g->$field)
208 0 0 if (@diag)