Condition Coverage

perllib/Arch/Changeset.pm
Criterion Covered Total %
condition 0 75 0.0


and 3 conditions

line !l l&&!r l&&r condition
55 0 0 0 not -f $patch_file and $type == 0
59 0 0 0 not -f $patch_file and $type == 0
82 0 0 0 $change_type ne '' and not $asis = $full_file_asis || -B $patch_file
212 0 0 0 exists $orig_dirs{$id} and exists $mod_dirs{$id}
0 0 0 exists $orig_dirs{$id} and exists $mod_dirs{$id} and $orig_dirs{$id} ne $mod_dirs{$id}
221 0 0 0 not $found and $parent
222 0 0 0 exists $ren_dirs{$parent} && $ren_dirs{$parent} . $tail eq $mod_dirs{$id}
236 0 0 0 exists $orig_files{$id} and exists $mod_files{$id}
0 0 0 exists $orig_files{$id} and exists $mod_files{$id} and $orig_files{$id} ne $mod_files{$id}
245 0 0 0 not $found and $parent
248 0 0 0 exists $ren_dirs{$parent} && $ren_dirs{$parent} . $tail eq $mod_files{$id}
272 0 0 0 not $params{'no_new_files'} and $type eq 'A' || $type eq 'D'
275 0 0 0 $params{'no_arch_files'} and $filepath =~ m[^{arch}/] || $filepath =~ m[(^|/).arch-ids/]

or 2 conditions

line l !l condition
27 0 0 shift() || die("Arch::Changeset::new: no revision\n")
28 0 0 shift() || die("Arch::Changeset::new: no dir\n")
46 0 0 shift() || 0
48 0 0 {'MODIFY', 1, 'ADD', 2, 'DELETE', 3}->{$type} || 0
50 0 0 shift() || 0
109 0 0 $change_type ||= 'patch'

or 3 conditions

line l !l&&r !l&&!r condition
55 0 0 0 not -f $patch_file and $type == 0 or $type == 2
59 0 0 0 not -f $patch_file and $type == 0 or $type == 3
82 0 0 0 $full_file_asis || -B $patch_file
125 0 0 0 adjacent_revision($revision, -1) || $revision
272 0 0 0 $type eq 'A' || $type eq 'D'
0 0 0 $type eq 'M' or not $params{'no_new_files'} and $type eq 'A' || $type eq 'D'
275 0 0 0 $filepath =~ m[^{arch}/] || $filepath =~ m[(^|/).arch-ids/]
277 0 0 0 scalar $self->get_patch($filepath, $type) || "*** $filepath ***\n*** binary content not displayed ***"