Condition Coverage

blib/lib/WebFetch.pm
Criterion Covered Total %
condition 22 117 18.8


and 3 conditions

line !l l&&!r l&&r condition
391 0 0 0 exists $modules{$group}{$topic} and ref $modules{$group}{$topic} eq "ARRAY"
417 0 0 0 exists $modules{$topic} and ref $modules{$topic} eq "ARRAY"
515 0 0 0 exists $modules{'cmdline'} and ref $modules{'cmdline'} eq "ARRAY"
527 0 0 0 exists $symtab->{'Options'} and int @{$symtab->{'Options'};}
536 0 0 0 exists $symtab->{'Usage'} and defined ${$$symtab{"Usage"};}
581 0 0 0 exists $options{'debug'} and $options{'debug'}
601 0 0 0 exists $modules{'input'}{$options{'source_format'}} and ref $modules{'input'}{$options{'source_format'}} eq "ARRAY"
661 3 0 0 exists $self->{'no_fetch'} and $self->{'no_fetch'}
747 1 0 2 exists $options_ref->{'test_probe'} && ref $options_ref->{'test_probe'} eq 'HASH'
830 0 0 3 exists $self->{'data'} and exists $self->{'actions'}
934 0 0 0 defined $param and ref $param ne "HASH"
1032 8 0 0 exists $self->{'table_sections'} and not $self->_style_para
8 0 0 exists $self->{'table_sections'} and not $self->_style_para and not $self->_style_notable
0 0 0 exists $self->{'table_sections'} and not $self->_style_para and not $self->_style_notable and $link_count == int(($self->{'num_links'} + 1) / $self->{'table_sections'})
1197 3 0 0 exists $self->{'fetch_urls'} and $self->{'fetch_urls'}
1303 0 0 0 $db_available and exists $savable->{'url'}
0 0 0 $db_available and exists $savable->{'url'} and exists $savable->{'index'}
1334 0 4 0 $yaml_loaded and exists $savable->{'url'}
4 0 0 $yaml_loaded and exists $savable->{'url'} and exists $savable->{'index'}
1339 0 0 0 -f $index_lock_path and pshlock($index_lock_path)
1355 0 0 0 not $was_in_index and pexclock($index_lock_path)
1376 4 0 0 -f $index_db_path and not -f $index_yaml_path
1395 4 0 0 not exists $savable->{'content'} and exists $savable->{'url'}
1561 16 7 0 exists $opts{'time_zone'} and $result->time_zone eq "floating"
1703 0 0 2 defined $params->{'filter_func'} and ref $params->{'filter_func'} eq "CODE"
1722 0 0 2 defined $params->{'sort_func'} and ref $params->{'sort_func'} eq "CODE"
1729 0 0 2 defined $params->{'format_func'} and ref $params->{'format_func'} eq "CODE"
1854 0 0 0 defined $title_fnum and defined $url_fnum
1870 0 0 0 $title_fnum == 0 and $url_fnum == 1

or 3 conditions

line l !l&&r !l&&!r condition
425 0 0 0 @handlers or $is_optional
928 0 0 0 not ref $fields or ref $fields ne "ARRAY"
931 0 0 0 not ref $lines or ref $lines ne "ARRAY"
982 10 0 0 exists $self->{'style'}{'para'} or exists $self->{'style'}{'ul'}
0 0 0 exists $self->{'style'}{'para'} or exists $self->{'style'}{'ul'} or exists $self->{'style'}{'bullet'}
1075 0 0 2 defined $self->{'font_size'} or defined $self->{'font_face'}
1089 0 0 2 defined $self->{'font_size'} or defined $self->{'font_face'}
1381 0 0 4 $self->_save_check_index_yaml($savable) || $was_in_index
1453 4 0 0 exists $savable->{'content'} or exists $savable->{'url'}
1698 2 0 0 defined $params->{'filter_func'} or defined $params->{'sort_func'}