Branch Coverage

blib/lib/Net/OAuth2/Scheme/Option/Builder.pm
Criterion Covered Total %
branch 46 62 74.1


line true false branch
31 1 7 unless ($find_group{$class})
46 0 3 if $Visible_Destroy
61 0 3 if ref $class
66 0 6 if (defined $$i{'default'})
72 2 2 if (my $i = $group{$o}) { }
74 1 1 ref $impl ? :
103 0 4 if ($from)
104 0 0 $$self{'pkg'}{$key} ? :
110 0 4 if ($Show_Uses_Stack)
146 2 7 if $$self{'pkg'}{$key}
153 1 1 $okey ne $key ? :
1 1 $okey2 ne $key2 ? :
2 7 if $$self{'pkg'}{$key}
160 4 3 if (defined $$self{'value'}{$key2}) { }
1 2 elsif (defined $$self{'value'}{$key}) { }
161 1 3 if defined $$self{'value'}{$key} and $$self{'value'}{$key} ne $$self{'value'}{$key2}
170 0 6 if (defined $$self{'default'}{$key2}) { }
0 6 elsif (defined $$self{'default'}{$key}) { }
172 0 0 if defined $$self{'default'}{$key} and $$self{'default'}{$key} ne $$self{'default'}{$key2}
207 9 21 unless (exists $$self{'value'}{$key})
208 3 6 if (defined $default or defined($default = $$self{'default'}{$key})) { }
2 4 elsif (my($pkg, @kvs) = @{[] unless $$self{'pkg'}{$key};}) { }
209 4 2 unless $$self{'pkg'}{$key}
213 0 2 if ref $pkg
215 0 2 unless defined $$self{'value'}{$key}
220 4 26 unless (defined $value)
232 1 3 unless $self->uses($key, $value) eq $value
247 0 2 if (@_ and $_[0] eq '_default')
250 0 0 if @_ % 2
263 1 12 unless defined $value
265 2 10 if defined $$self{'value'}{$key}