blib/lib/Net/OAuth2/Scheme/Option/Builder.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 25 | 48.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
108 | 0 | 4 | 0 | defined &CORE::GLOBAL::caller($c) and not +(&CORE::GLOBAL::caller($c))[3] =~ /::uses$/ |
161 | 3 | 0 | 1 | defined $$self{'value'}{$key} and $$self{'value'}{$key} ne $$self{'value'}{$key2} |
172 | 0 | 0 | 0 | defined $$self{'default'}{$key} and $$self{'default'}{$key} ne $$self{'default'}{$key2} |
247 | 1 | 1 | 0 | @_ and $_[0] eq '_default' |
line | l | !l | condition |
---|---|---|---|
88 | 0 | 3 | $$self{'value'}{'defaults_all'} || {_all_defaults(ref $self), %{{} unless $$self{'value'}{'defaults'};}} |
102 | 0 | 4 | ref($self)->_find_group->{$key} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
208 | 2 | 1 | 6 | defined $default or defined($default = $$self{'default'}{$key}) |
222 | 0 | 4 | 0 | $g || $key |
232 | 0 | 0 | 1 | $msg || "option '${key}' must be '${value}' here." |