Condition Coverage

blib/lib/HTTP/Proxy/BodyFilter/Adnix.pm
Criterion Covered Total %
condition 0 21 0.0


and 3 conditions

line !l l&&!r l&&r condition
117 0 0 0 exists $opt{'deny'} and ref $opt{'deny'} eq 'ARRAY'
129 0 0 0 exists $opt{'allow'} and ref $opt{'allow'} eq 'ARRAY'
209 0 0 0 defined $HTTP::Proxy::BodyFilter::Adnix::IMAGE and length $HTTP::Proxy::BodyFilter::Adnix::IMAGE > 0
223 0 0 0 length $HTTP::Proxy::BodyFilter::Adnix::IMAGE > 0 && close IMG

or 2 conditions

line l !l condition
114 0 0 $$self{'_image'} ||= '/usr/local/share/replaced.png'
120 0 0 $$self{'_denylist'} ||= [map({qr/$_/;} 'ad[vs\\.]', 'adv?server', '468x60', 'doubleclick\\.net', 'promot[ie]')]
132 0 0 $$self{'_allowlist'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
205 0 0 0 $$self{'_image'} =~ m[^[Hh][Tt][Tt][Pp]://] or $$self{'_image'} =~ m[^[Ff][Tt][Pp]://]