Condition Coverage

perllib/Arch/Tree.pm
Criterion Covered Total %
condition 21 114 18.4


and 2 conditions

line l !l condition
364 0 0 $revision &&= undef

and 3 conditions

line !l l&&!r l&&r condition
211 0 0 0 $is_baz and $line =~ /^([ADR ][ MP]) (.+?)(?: => (.+))?$/
364 0 0 0 $one_version and not $revision =~ /^\Q$version--\E/
370 0 0 0 --$limit and $log
427 0 0 0 --$limit and $revision_desc
474 1 5 27 @$lines and $i >= 0
479 5 22 0 $i > 0 and _eq($last_rd_index, -1) || !_eq($$line_rd_indexes[$i - 1], $last_rd_index)
527 0 0 0 $lines[$_ - 1] =~ /$re/ and delete $$skip_linenums{$_}
543 0 0 0 $ref and not $$ref
583 0 0 0 $ref and not $$ref
592 0 0 0 $$revision_desc{'is_filepath_added'} and $num_unannotated_lines > 0
598 0 0 0 not $full_history and $num_unannotated_lines == 0
602 0 0 0 not $full_history and $old_num_unannotated_lines == $num_unannotated_lines
629 0 0 0 @_ and not $self->exist->{$_}

or 2 conditions

line l !l condition
38 0 0 shift() || '.'
123 0 0 shift() || die()
293 0 0 $$self{'missing_revisions'}{$version} ||= [run_tla('missing', '-d', $$self{'dir'}, $version)]
340 0 0 $args{'limit'} || 0
342 0 0 $args{'one_version'} || 0
343 0 0 $args{'no_continuation'} || 0
379 0 0 shift() || 0
389 0 0 delete $args{'limit'} || 0
447 5 4 $1 || 1
488 0 0 shift() || die("No file to annotate\n")
497 0 0 $linenums ||= []

or 3 conditions

line l !l&&r !l&&!r condition
115 0 0 0 shift() || $self->get_version
151 0 0 0 shift() || $self->get_version
226 0 0 0 $1 eq '/' || $2 eq '/'
264 0 0 0 $text eq '' or $text =~ s/^Patches applied:\n\n//
291 0 0 0 shift() || $self->get_version
302 0 0 0 shift() || $self->get_version
324 0 0 0 shift() || $self->get_revision
447 6 3 0 $3 || $max_linenum
463 22 5 57 defined $value1 && defined $value2 && $value1 == $value2 || !(defined $value1 || defined $value2)
475 5 7 10 _eq($last_rd_index, -1) || _eq($$line_rd_indexes[$i - 1], $last_rd_index)
5 10 12 $i == 0 or not _eq($last_rd_index, -1) || _eq($$line_rd_indexes[$i - 1], $last_rd_index)
479 5 10 7 _eq($last_rd_index, -1) || !_eq($$line_rd_indexes[$i - 1], $last_rd_index)
552 0 0 0 $$revision_desc{'is_filepath_modified'} or $$revision_desc{'is_filepath_added'}
701 0 0 0 shift() || $self->get_version
708 0 0 0 $is_baz or $$opts{'nosetup'}
710 0 0 0 $$opts{'dir'} || $$self{'dir'}
744 0 0 0 $version || $self->get_version