blib/lib/HTTP/ProxyPAC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 24 | 58.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
28 | 0 | 10 | 0 | $options{'interp'} and $options{'interp'} =~ /javascript|js/i |
0 | 0 | 10 | $options{'interp'} and $options{'interp'} =~ /je/i | |
47 | 0 | 5 | 5 | $options{'lib'} && $options{'lib'} =~ /perl/i |
49 | 8 | 0 | 2 | blessed $stuff and $stuff->isa('URI') |
8 | 0 | 0 | blessed $stuff and $stuff->isa('IO::Handle') | |
4 | 2 | 2 | ref $stuff and ref $stuff eq 'GLOB' | |
4 | 0 | 2 | ref $stuff and ref $stuff eq 'SCALAR' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
72 | 1 | 1 | 0 | $UserAgent ||= do { require LWP::UserAgent; 'LWP::UserAgent'->new('agent', 'HTTP::ProxyPAC/' . $VERSION) } |