Branch Coverage

blib/lib/User/Identity/Item.pm
Criterion Covered Total %
branch 25 44 56.8


line true false branch
23 1 14 unless @_
25 12 2 if @_ % 2
30 0 14 if (my(@missing) = keys %args)
32 0 0 @missing == 1 ? :
42 0 14 unless (defined($self->{'UII_name'} = delete $args->{'name'}))
55 0 69 @_ ? :
75 0 2 unless @_
78 1 1 if (ref $_[0]) { }
80 0 1 unless $object->isa('User::Identity::Collection')
84 1 0 if @_ % 2
88 0 1 unless $type
93 0 1 if $@
97 0 1 unless defined $object
109 0 0 ref $_[0] ? :
112 0 0 unless delete $self->{'UI_col'}{$name}
123 0 4 wantarray ? :
130 0 2 ref $collname && $collname->isa('User::Identity::Collection') ? :
135 0 2 unless ($collection)
149 12 6 unless @_
160 7 2 defined $parent ? :
171 0 5 ref $collname && $collname->isa('User::Identity::Collection') ? :
173 3 2 defined $collection ? :