Condition Coverage

blib/lib/WebFetch/Input/SiteNews.pm
Criterion Covered Total %
condition 20 36 55.5


and 3 conditions

line !l l&&!r l&&r condition
82 2 0 0 exists $self->{'datetime_settings'} and &reftype($self->{'datetime_settings'}) eq "HASH"
101 2 0 0 exists $self->{'sources'} and ref $self->{'sources'} eq "ARRAY"
131 48 0 0 $a->[$exp_fnum] and not $b->[$exp_fnum]
132 0 48 0 not $a->[$exp_fnum] and $b->[$exp_fnum]
273 0 0 33 exists $self->{'datetime_settings'} and &reftype($self->{'datetime_settings'}) eq "HASH"
284 25 0 8 defined $time_str and defined $anchor_time
292 0 33 300 $label = $anchor_time . "-" . sprintf("%03d", $count) and defined $label_hash{$label}
412 0 0 8 exists $self->{'datetime_settings'} and &reftype($self->{'datetime_settings'}) eq "HASH"
422 0 1 7 defined $entry->{'category'} and defined $$cat_priorities{$entry->{'category'}}

or 3 conditions

line l !l&&r !l&&!r condition
207 8 31 66 $state == initial_state() or $state == text_state()
227 33 52 0 $state == attr_state() or $state == text_state()
362 2 7 24 not defined $prev->[$date_fnum] or $prev->[$date_fnum] ne $news->[$date_fnum]