Branch Coverage

lib/WebService/Intercom/User.pm
Criterion Covered Total %
branch 0 104 0.0


line true false branch
140 0 0 @_ ? :
0 0 if @_ != 0
144 0 0 @_ ? :
0 0 if @_ != 0
148 0 0 ref $_[0] eq 'Kavorka::Signature::NOBBLE' ? :
0 0 @_ ? :
0 0 unless ($____nobble_checks)
0 0 $#_ == 0 && ref $_[0] eq 'HASH' ? :
0 0 exists $_{'name'} ? :
0 0 Type::Tiny::XS::Str($name) ? :
0 0 if (exists $_{'name'})
0 0 unless ($____nobble_checks)
157 0 0 ref $_[0] eq 'Kavorka::Signature::NOBBLE' ? :
0 0 @_ ? :
0 0 unless ($____nobble_checks)
0 0 if @_ != 1
0 0 $#_ >= 0 ? :
0 0 Type::Tiny::XS::AUTO::TC3($tag) ? :
0 0 if ($#_ >= 0)
0 0 unless ($____nobble_checks)
168 0 0 @_ ? :
0 0 $#_ == 0 && ref $_[0] eq 'HASH' ? :
0 0 exists $_{'name'} ? :
0 0 Type::Tiny::XS::Str($name) ? :
0 0 if (exists $_{'name'})
179 0 0 @_ ? :
0 0 $#_ == 0 && ref $_[0] eq 'HASH' ? :
0 0 exists $_{'admin_id'} ? :
0 0 Type::Tiny::XS::Str($admin_id) ? :
0 0 if (exists $_{'admin_id'})
0 0 exists $_{'body'} ? :
0 0 Type::Tiny::XS::Str($body) ? :
0 0 if (exists $_{'body'})
189 0 0 @_ ? :
0 0 $#_ == 0 && ref $_[0] eq 'HASH' ? :
0 0 exists $_{'event_name'} ? :
0 0 if not ref $event_name
0 0 do { $event_name =~ /$Types::Standard::_StrMatch{'(?^u:^[^[.\\$]+$)'}/u if not ref $event_name } ? :
0 0 if (exists $_{'event_name'})
0 0 exists $_{'created_at'} ? :
0 0 Type::Tiny::XS::AUTO::TC4($created_at) ? :
0 0 if (exists $_{'created_at'})
0 0 exists $_{'metadata'} ? :
0 0 if ref $v eq 'HASH' and not grep((!/\A(?:url|value)\z/u), keys %{$v;}) and exists $$v{'url'} and do { Type::Tiny::XS::Str($$v{'url'}) }
0 0 if defined $$v{'amount'}
0 0 if (ref $v eq 'HASH' and not grep((!/\A(?:amount|currency)\z/u), keys %{$v;}) and exists $$v{'amount'} and do { $$v{'amount'} =~ /\A-?[0-9]+\z/u if defined $$v{'amount'} } and exists $$v{'currency'})
0 0 unless defined $v and not ref $v or do { not exists $$v{'value'} or do { do { Type::Tiny::XS::Str($$v{'value'}) } } if ref $v eq 'HASH' and not grep((!/\A(?:url|value)\z/u), keys %{$v;}) and exists $$v{'url'} and do { Type::Tiny::XS::Str($$v{'url'}) } } or do { if (ref $v eq 'HASH' and not grep((!/\A(?:amount|currency)\z/u), keys %{$v;}) and exists $$v{'amount'} and do { $$v{'amount'} =~ /\A-?[0-9]+\z/u if defined $$v{'amount'} } and exists $$v{'currency'}) { Type::Tiny::XS::Str($$v{'currency'}); } }
0 0 unless Type::Tiny::XS::Str($k)
0 0 if (ref $metadata eq 'HASH')
0 0 do { if (ref $metadata eq 'HASH') { my $ok = 1; foreach my $v (values %{$metadata;}) { $ok = 0, last unless defined $v and not ref $v or do { not exists $$v{'value'} or do { do { Type::Tiny::XS::Str($$v{'value'}) } } if ref $v eq 'HASH' and not grep((!/\A(?:url|value)\z/u), keys %{$v;}) and exists $$v{'url'} and do { Type::Tiny::XS::Str($$v{'url'}) } } or do { if (ref $v eq 'HASH' and not grep((!/\A(?:amount|currency)\z/u), keys %{$v;}) and exists $$v{'amount'} and do { $$v{'amount'} =~ /\A-?[0-9]+\z/u if defined $$v{'amount'} } and exists $$v{'currency'}) { Type::Tiny::XS::Str($$v{'currency'}); } }; } ; foreach my $k (keys %{$metadata;}) { $ok = 0, last unless Type::Tiny::XS::Str($k); } ; $ok; } } ? :
0 0 unless do { local $_ = $metadata; $Kavorka::Parameter::PARAMS[13]{'constraints'}[0]() }
0 0 if (exists $_{'metadata'})