Branch Coverage

blib/lib/User/Identity/Item.pm
Criterion Covered Total %
branch 23 38 60.5


line true false branch
28 1 14 unless @_
30 12 2 if @_ % 2
35 0 14 if (my(@missing) = keys %args)
57 0 63 if (@_) { }
74 0 2 unless @_
77 1 1 if (ref $_[0]) { }
79 0 1 unless $object->isa("User::Identity::Collection")
82 1 0 if @_ % 2
84 0 1 unless my $type = delete $args{'type'}
88 0 1 if $@
101 0 0 ref $_[0] ? :
104 0 0 unless delete $self->{'UI_col'}{$name}
114 0 4 wantarray ? :
120 0 2 ref $collname && $collname->isa('User::Identity::Collection') ? :
124 0 2 unless defined $collection
136 12 6 unless @_
147 7 2 defined $parent ? :
157 0 5 ref $collname && $collname->isa('User::Identity::Collection') ? :
159 3 2 defined $collection ? :