Condition Coverage

blib/lib/WebService/Async/SmartyStreets.pm
Criterion Covered Total %
condition 7 15 46.6


or 2 conditions

line l !l condition
99 4 0 $self->auth_id($args{"country"}) // die("need an auth ID")
102 4 0 $self->token($args{"country"}) // die("need an auth token")
231 2 2 +(shift())->{'id'} //= "AA00000000"

or 3 conditions

line l !l&&r !l&&!r condition
128 0 0 0 +(shift())->{'us_endpoint'} //= "URI"->new("https://us-street.api.smartystreets.com/street-address")
132 2 2 0 +(shift())->{'international_endpoint'} //= "URI"->new("https://international-street.api.smartystreets.com/verify")
242 0 1 0 $self->{'ua'} //= do { $self->add_child(my $ua = "Net::Async::HTTP"->new("fail_on_error", 1, "decode_content", 1, "pipeline", 0, "max_connections_per_host", 4, "user_agent", "Mozilla/4.0 (WebService::Async::SmartyStreets; BINARY\@cpan.org; https://metacpan.org/pod/WebService::Async::SmartyStreets)")); $ua }