Branch Coverage

blib/lib/Set/DynamicGroups.pm
Criterion Covered Total %
branch 30 36 83.3


line true false branch
44 0 32 ref $_[0] ? :
61 0 7 ref $_ ? :
75 28 119 if exists $$current{$name}
81 5 114 unless my $group = $$self{'groups'}{$name}
90 103 11 exists $$group{'include'} || exists $$group{'include_groups'} ? :
102 138 79 unless $$group{$which}
103 67 150 if (my $items = $$group{"${which}_groups"})
113 0 3 if @_ != 1
117 1 2 unless exists $$self{'groups'}{$name}
133 0 9 ref $_ ? :
134 6 25 @names ? :
149 5 9 unless $$self{'items'}
151 17 28 unless $$_{'include'}
163 7 25 unless ref $spec eq 'HASH'
169 28 132 if (exists $$spec{$alias})
170 0 28 if exists $$spec{$name}
179 29 14 unless ref $value
199 0 26 ref $_[0] ? :