Condition Coverage

lib/User/Information/Base.pm
Criterion Covered Total %
condition 0 62 0.0


and 3 conditions

line !l l&&!r l&&r condition
130 0 0 0 defined $v->{'raw'} and defined $info->{'rawtype'}
0 0 0 defined $v->{'raw'} and defined $info->{'rawtype'} and $info->{'rawtype'} eq $o_as
134 0 0 0 not defined $converted and $o_as eq "raw"
0 0 0 not defined $converted and $o_as eq "raw" and defined $info->{'rawtype'}
0 0 0 not defined $converted and $o_as eq "raw" and defined $info->{'rawtype'} and defined $$v{$info->{'rawtype'}}
138 0 0 0 not defined $converted and defined $info->{'converter'}
263 0 0 0 not $self->{'sources'}{'User::Information::Source::XDG'} and $self->_is_local
0 0 0 not $self->{'sources'}{'User::Information::Source::XDG'} and $self->_is_local and defined(my $username = $self->get(["aggregate", "username"], "default", undef))

or 2 conditions

line l !l condition
119 0 0 $o_as //= "raw"
176 0 0 $opts{'default'} //= "no name"
210 0 0 $o_binmode //= 1
316 0 0 $self->{'data'}{$key->_hashkey} //= []

or 3 conditions

line l !l&&r !l&&!r condition
49 0 0 0 $self->{$key} //= $v
80 0 0 0 $info //= eval { do { $self->_key_info($key) } }
82 0 0 0 $info->{'loadpath'} // $key
97 0 0 0 $values //= $self->{'data'}{$key->_hashkey}
115 0 0 0 $info //= eval { do { $self->_key_info($key) } }
128 0 0 0 $info //= $self->_key_info($key)
279 0 0 0 $self->{'discovered'}{$key->_hashkey} // croak("Unknown key")
287 0 0 0 $$discovered{$ent->{'path'}->_hashkey} //= $ent
299 0 0 0 $self->{'sysapi'} //= $self->get(${my $v = bless( {"elements" => [bless( {"id" => "local","id_cache" => {"8be115d2-dc2f-4a98-91e1-a6e3075cbc31" => "912dc996-6613-598e-a90e-b6efea0fb822","a8d1637d-af19-49e9-9ef8-6bc1fbcf6439" => "urn:uuid:912dc996-6613-598e-a90e-b6efea0fb822","d08dc905-bbf6-4183-b219-67723c3c8374" => "2.25.192975801427592443454328132517617448994"},"type" => bless( {"displayname" => "user-information-path-element","id" => "f1f59629-3237-4587-a365-7ce094806f6d","id_cache" => {"a8d1637d-af19-49e9-9ef8-6bc1fbcf6439" => "urn:uuid:f1f59629-3237-4587-a365-7ce094806f6d","d08dc905-bbf6-4183-b219-67723c3c8374" => "2.25.321619105339842038730726686653209931629"},"namespace" => bless( {"id" => "533fd060-2b96-4aea-8b8d-56e0766e6e5d","id_cache" => {"a8d1637d-af19-49e9-9ef8-6bc1fbcf6439" => "urn:uuid:533fd060-2b96-4aea-8b8d-56e0766e6e5d","d08dc905-bbf6-4183-b219-67723c3c8374" => "2.25.110657264712826420585411664278696390237"},"type" => bless( {"displayname" => "uuid","id" => "8be115d2-dc2f-4a98-91e1-a6e3075cbc31","id_cache" => {"039e0bb7-5dd3-40ee-a98c-596ff6cce405" => 119,"a8d1637d-af19-49e9-9ef8-6bc1fbcf6439" => "urn:uuid:8be115d2-dc2f-4a98-91e1-a6e3075cbc31","d08dc905-bbf6-4183-b219-67723c3c8374" => "2.25.185931400843933321174392841337080429617","f87a38cb-fd13-4e15-866c-e49901adbec5" => 2},"type" => {},"validate" => qr/^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/u}, 'Data::Identifier' )}, 'Data::Identifier' ),"type" => {},"validate" => qr/^[0-9a-zA-Z_-]+$/u}, 'Data::Identifier' )}, 'Data::Identifier' ),bless( {"id" => "sysapi","id_cache" => {"8be115d2-dc2f-4a98-91e1-a6e3075cbc31" => "8f74c8b3-23e5-5f8c-abae-3fb57690a1db","a8d1637d-af19-49e9-9ef8-6bc1fbcf6439" => "urn:uuid:8f74c8b3-23e5-5f8c-abae-3fb57690a1db","d08dc905-bbf6-4183-b219-67723c3c8374" => "2.25.190685980507704100793724931585954849243"},"type" => {}}, 'Data::Identifier' )],"hashkey" => "912dc996-6613-598e-a90e-b6efea0fb822/8f74c8b3-23e5-5f8c-abae-3fb57690a1db"}, 'User::Information::Path' );$v->{"elements"}[0]{"type"}{"namespace"}{"type"}{"type"} = $v->{"elements"}[0]{"type"}{"namespace"}{"type"};$v->{"elements"}[0]{"type"}{"type"} = $v->{"elements"}[0]{"type"}{"namespace"}{"type"};$v->{"elements"}[1]{"type"} = $v->{"elements"}[0]{"type"}; \$v}, "default", "")
305 0 0 0 $self->{'islocal'} //= $self->get(${my $v = bless( {"elements" => [bless( {"id" => "local","id_cache" => {"8be115d2-dc2f-4a98-91e1-a6e3075cbc31" => "912dc996-6613-598e-a90e-b6efea0fb822","a8d1637d-af19-49e9-9ef8-6bc1fbcf6439" => "urn:uuid:912dc996-6613-598e-a90e-b6efea0fb822","d08dc905-bbf6-4183-b219-67723c3c8374" => "2.25.192975801427592443454328132517617448994"},"type" => bless( {"displayname" => "user-information-path-element","id" => "f1f59629-3237-4587-a365-7ce094806f6d","id_cache" => {"a8d1637d-af19-49e9-9ef8-6bc1fbcf6439" => "urn:uuid:f1f59629-3237-4587-a365-7ce094806f6d","d08dc905-bbf6-4183-b219-67723c3c8374" => "2.25.321619105339842038730726686653209931629"},"namespace" => bless( {"id" => "533fd060-2b96-4aea-8b8d-56e0766e6e5d","id_cache" => {"a8d1637d-af19-49e9-9ef8-6bc1fbcf6439" => "urn:uuid:533fd060-2b96-4aea-8b8d-56e0766e6e5d","d08dc905-bbf6-4183-b219-67723c3c8374" => "2.25.110657264712826420585411664278696390237"},"type" => bless( {"displayname" => "uuid","id" => "8be115d2-dc2f-4a98-91e1-a6e3075cbc31","id_cache" => {"039e0bb7-5dd3-40ee-a98c-596ff6cce405" => 119,"a8d1637d-af19-49e9-9ef8-6bc1fbcf6439" => "urn:uuid:8be115d2-dc2f-4a98-91e1-a6e3075cbc31","d08dc905-bbf6-4183-b219-67723c3c8374" => "2.25.185931400843933321174392841337080429617","f87a38cb-fd13-4e15-866c-e49901adbec5" => 2},"type" => {},"validate" => qr/^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/u}, 'Data::Identifier' )}, 'Data::Identifier' ),"type" => {},"validate" => qr/^[0-9a-zA-Z_-]+$/u}, 'Data::Identifier' )}, 'Data::Identifier' ),bless( {"id" => "islocal","id_cache" => {"8be115d2-dc2f-4a98-91e1-a6e3075cbc31" => "92255987-4ee4-5afb-ac10-c8e0f61ea983","a8d1637d-af19-49e9-9ef8-6bc1fbcf6439" => "urn:uuid:92255987-4ee4-5afb-ac10-c8e0f61ea983","d08dc905-bbf6-4183-b219-67723c3c8374" => "2.25.194261218223036065999016667823120230787"},"type" => {}}, 'Data::Identifier' )],"hashkey" => "912dc996-6613-598e-a90e-b6efea0fb822/92255987-4ee4-5afb-ac10-c8e0f61ea983"}, 'User::Information::Path' );$v->{"elements"}[0]{"type"}{"namespace"}{"type"}{"type"} = $v->{"elements"}[0]{"type"}{"namespace"}{"type"};$v->{"elements"}[0]{"type"}{"type"} = $v->{"elements"}[0]{"type"}{"namespace"}{"type"};$v->{"elements"}[1]{"type"} = $v->{"elements"}[0]{"type"}; \$v}, "default", "", "as", "bool")