blib/lib/Growl/Any/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 12 | 25.0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
16 | 0 | 3 | 0 | $args{'encoding'} || $class->encoding |
17 | 3 | 0 | 0 | &Encode::find_encoding($e) || Carp::croak("Unknown encoding '${e}'") |
20 | 3 | 0 | 0 | $args{'appname'} or $args{'events'} |
84 | 0 | 0 | 0 | $$self{'ua'} ||= do { require LWP; require LWP::UserAgent; my $ua = 'LWP::UserAgent'->new('agent', sprintf('Growl::Any (LWP/%s)', 'LWP'->VERSION)); $ua->env_proxy; $ua->timeout(10); return $ua } |