Condition Coverage

perllib/Arch/Changes.pm
Criterion Covered Total %
condition 9 17 52.9


and 3 conditions

line !l l&&!r l&&r condition
109 19 5 0 $src_filepath eq $filepath and !defined($is_dir) || $$change{'is_dir'} == $is_dir
117 20 4 0 $$change{'type'} eq '=' and $$change{'is_dir'}
24 0 0 $$change{'type'} eq '=' and $$change{'is_dir'} and $filepath =~ m[^\Q$src_filepath\E(/.+)$]
4 0 0 $$change{'type'} eq '=' and $$change{'is_dir'} and $filepath =~ m[^\Q$src_filepath\E(/.+)$] and not exists $$changed{'='}

or 2 conditions

line l !l condition
96 4 0 shift() || die('No file/dir name')

or 3 conditions

line l !l&&r !l&&!r condition
109 4 1 0 !defined($is_dir) || $$change{'is_dir'} == $is_dir