Condition Coverage

blib/lib/XML/GSA/Group.pm
Criterion Covered Total %
condition 0 70 0.0


and 2 conditions

line l !l condition
199 0 0 $self->writer and scalar @{[] unless $metadata;}

and 3 conditions

line !l l&&!r l&&r condition
48 0 0 0 $value and $value =~ /(add|delete)/
58 0 0 0 $feed and ref $feed eq 'XML::GSA'
88 0 0 0 $self->writer and $record
0 0 0 $self->writer and $record and ref $record eq 'HASH'
91 0 0 0 $$record{'url'} and $$record{'mimetype'}
97 0 0 0 $$record{'metadata'} and ref $$record{'metadata'} eq 'ARRAY'
111 0 0 0 $self->writer and $$record{'content'}
132 0 0 0 $feed->base_url and $feed->base_url =~ /^http/
0 0 0 $feed->base_url and $feed->base_url =~ /^http/ and $$record{'url'} =~ /^http/
152 0 0 0 $$record{'action'} and $$record{'action'} =~ /^(delete|add)$/
157 0 0 0 $$record{'lock'} and $$record{'lock'} =~ /^(true|false)$/
173 0 0 0 $$record{'authmethod'} and $$record{'authmethod'} =~ /^(none|httpbasic|ntlm|httpsso)$/
177 0 0 0 $feed->type ne 'metadata-and-url' and defined $$record{'pagerank'}
181 0 0 0 $feed->datasource eq 'web' and $$record{'crawl-immediately'}
0 0 0 $feed->datasource eq 'web' and $$record{'crawl-immediately'} and $$record{'crawl-immediately'} =~ /^(true|false)$/
187 0 0 0 $feed->datasource eq 'web' and $feed->type eq 'metadata-and-url'
0 0 0 $feed->datasource eq 'web' and $feed->type eq 'metadata-and-url' and $$record{'crawl-once'}
0 0 0 $feed->datasource eq 'web' and $feed->type eq 'metadata-and-url' and $$record{'crawl-once'} and $$record{'crawl-once'} =~ /^(true|false)$/
203 0 0 0 $$meta{'name'} and $$meta{'content'}

or 2 conditions

line l !l condition
41 0 0 $$self{'records'} || []

or 3 conditions

line l !l&&r !l&&!r condition
15 0 0 0 ref $class || $class
132 0 0 0 $feed->base_url || $$record{'url'} =~ /^http/
0 0 0 not $feed->base_url || $$record{'url'} =~ /^http/ or $feed->base_url and $feed->base_url =~ /^http/ and $$record{'url'} =~ /^http/