Branch Coverage

blib/lib/OpenID/Lite/Message.pm
Criterion Covered Total %
branch 4 30 13.3


line true false branch
38 0 21 if ($key =~ /^([^.]+)\.([^.]+)$/) { }
41 0 0 if ($ext_name eq 'ns') { }
42 0 0 exists $$self{'_extension_namespaces'}{$ext_key} ? :
49 21 0 exists $$self{'_params'}{$key} ? :
58 0 0 if $ns eq $$self{'_extension_namespaces'}{$alias}
70 0 0 exists $$self{'_extension_params'}{$ext_name} && exists $$self{'_extension_params'}{$ext_name}{$key} ? :
78 0 0 exists $$self{'_extra_params'}{$key} ? :
99 0 0 unless exists $$self{'_extension_params'}{$alias}
111 0 8 unless defined $key and defined $value
112 0 8 if ($key =~ /^([^.]+)\.([^.]+)$/) { }
115 0 0 if ($ext_name eq 'ns') { }
132 0 0 if (defined $key and defined $value)
133 0 0 if (ref $value eq 'ARRAY') { }
134 0 0 @$value > 1 ? :
186 0 0 unless ref $uri eq 'URI'