Condition Coverage

blib/lib/Linux/DVB/DVBT/Advert.pm
Criterion Covered Total %
condition 4 140 2.8


and 3 conditions

line !l l&&!r l&&r condition
629 0 0 0 $expected_aref and ref $expected_aref eq 'ARRAY'
638 0 0 0 $framenum >= $$expect_href{'start'} and $framenum <= $$expect_href{'end'}
819 0 0 0 not @logo_cut_list and @$new_black_frames_aref
0 0 0 not @logo_cut_list and @$new_black_frames_aref and $silent_frames_ada_aref
973 0 0 0 exists $$settings_href{'detection_method'} and $$settings_href{'detection_method'}
1293 0 0 0 $$this_href{'frame'} >= $min_framenum and $$this_href{'frame'} >= $min_framenum
0 0 0 $$this_href{'frame'} >= $min_framenum and $$this_href{'frame'} >= $min_framenum and $$this_href{'gap'} >= $min_gap
1465 0 0 0 $cut_href and not $done
1467 0 0 0 $framenum >= $$cut_href{'frame'} and $framenum <= $$cut_href{'frame_end'}
1519 0 0 0 defined $fnum_end and $fnum_end > $fnum_start
1810 0 0 0 $curr_href and numframes($curr_href) < $$settings_href{'min_frames'}
1857 0 0 0 $curr_href and numframes($curr_href) < $$settings_href{'min_frames'}
2021 0 0 0 $edge_href and $$href{'frame'} > $$edge_href{'frame'}
2029 0 0 0 $edge_href and $$href{'frame'} == $$edge_href{'frame'}
0 0 0 $edge_href and $$href{'frame'} == $$edge_href{'frame'} and $$edge_href{'type'} eq 'start_pkt'
2038 0 0 0 $edge_href and $$href{'frame'} == $$edge_href{'frame'}
0 0 0 $edge_href and $$href{'frame'} == $$edge_href{'frame'} and $$edge_href{'type'} eq 'end_pkt'
2491 0 0 0 $black_before < $start_framenum and $start_framenum - $black_before < $$settings_href{'logo_ave_points'}
2499 0 0 0 not $found_edge and $scene_before < $start_framenum
0 0 0 not $found_edge and $scene_before < $start_framenum and $start_framenum - $scene_before < $$settings_href{'logo_ave_points'}
2508 0 0 0 $found_edge and $edge
0 0 0 $found_edge and $edge and $edge <= $$settings_href{'logo_ave_points'}
2513 0 0 0 $fnum >= 0 and $window_count < $$settings_href{'frame_window'}
2559 0 0 0 $start_index > 0 and $end_index - $start_index < $$settings_href{'logo_ave_points'}
0 0 0 $start_index > 0 and $end_index - $start_index < $$settings_href{'logo_ave_points'} and $window_count < $$settings_href{'frame_window'}
2681 0 0 0 $black_after > $end_framenum and $black_after - $end_framenum < $$settings_href{'logo_ave_points'}
2688 0 0 0 not $found_edge and $scene_after > $end_framenum
0 0 0 not $found_edge and $scene_after > $end_framenum and $scene_after - $end_framenum < $$settings_href{'logo_ave_points'}
2694 0 0 0 not $found_edge and $DEBUG
2929 0 0 0 not $prog and $prog_change
2947 0 0 0 $prog and $prog_change

or 2 conditions

line l !l condition
308 1 0 $channel ||= ''
366 0 0 $channel ||= ''
475 5 0 $settings_href ||= {}
590 0 0 $$results_href{'settings'} || {}
713 0 0 $$logo_settings_href{'logo_rise_threshold'} || 1
714 0 0 $$logo_settings_href{'logo_fall_threshold'} || 1
1784 0 0 $title ||= ''
1787 0 0 $start_framenum ||= 0
2716 0 0 $$settings_href{'logo_rise_threshold'} || 1
2717 0 0 $$settings_href{'logo_fall_threshold'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
204 3 2 0 $search ||= $CONFIG_DIR
593 0 0 0 $channel ||= $$results_settings_href{'channel'}
996 0 0 0 $search_path ||= $CONFIG_DIR
1003 0 0 0 $force || -f $fname
0 0 0 $force or not $force || -f $fname
1517 0 0 0 $$buff_href{'frame_end'} || $fnum_start
1762 0 0 0 $i == 0 or $period >= $$settings_href{'min_advert'}
0 0 0 $i == 0 or $period >= $$settings_href{'min_advert'} or $i == $num_entries - 1
2925 0 0 0 !defined($prog) || $prog != $$adv_href{$framenum}{$PROG_FIELD}