Condition Coverage

blib/lib/NCustom.pm
Criterion Covered Total %
condition 81 161 50.3


and 3 conditions

line !l l&&!r l&&r condition
319 30 3 0 $check =~ /^[crud]+$/i and $check =~ /c/i
327 98 11 0 -e $file and not -f $file
330 98 11 0 -f $file and not -w $file
336 112 0 3 $check =~ /^[crud]+$/i and $check =~ /r/i
349 137 1 1 $check =~ /^[crud]+$/i and $check =~ /u/i
365 117 2 0 $check =~ /^[crud]+$/i and $check =~ /d/i
546 44 4 0 -e $dest and compare($dest, $file) == 0
552 44 0 4 -e $dest and compare($dest, $file) != 0
1113 0 0 1 -f "$output/dir11/file1" && -f "$output/dir11/file2"
1117 0 0 1 -f "$output/dir11/file4" && -f "$output/dir11/file5"
1119 0 0 1 -f "$output/dir11/file6" && -f "$output/dir11/file7"
1133 0 0 1 -f "$output/dir12/file1" && -f "$output/dir12/file2" && -f "$output/dir12/file3"
1140 0 0 1 -f "$output/dir12/file2" && -f "$output/dir12/file3"
1318 20 0 0 $rc == 0 and $$req{'match'} =~ /NOTWANT/
1322 0 14 6 $rc != 0 and $$req{'match'} =~ /NOTWANT/
1326 0 0 14 $rc != 0 and not $$req{'match'} =~ /NOTWANT/
1335 0 0 0 $$req{'match'} =~ /EXACTLY/ and vcmp($ver, 'eq', $reqver)
1339 0 0 0 $$req{'match'} =~ /MINIMUM|EXACTLY/ and vcmp($ver, 'lt', $reqver)
1343 0 0 0 $$req{'match'} =~ /MAXIMUM|EXACTLY/ and vcmp($ver, 'gt', $reqver)
1453 1 0 0 $$NCustom::req{'result'} eq 'OK' and $rc
1597 0 0 8 defined $v1 && defined $v2
1609 0 0 4 defined $v1 && defined $v2
1 0 0 $v1 eq '' and $v2 eq ''
1622 6 0 0 not defined $v1 and defined $v2
0 6 0 defined $v1 and not defined $v2
2 0 0 $v1 eq '' and $v2 eq ''
1639 6 0 0 not defined $v1 and defined $v2
0 6 0 defined $v1 and not defined $v2
3 0 0 $v1 eq '' and $v2 eq ''
1953 1 0 2 -f $file and -x $file

or 2 conditions

line l !l condition
757 15 0 $args{'change'} || ''
758 15 0 $args{'files'} || ''
759 15 0 $args{'body'} || ''
760 5 10 $args{'strip'} || ''
789 17 0 $args{'change'} || ''
790 17 0 $args{'file'} || ''
791 17 0 $args{'body'} || ''
848 6 0 $args{'file'} || ''
849 6 0 $args{'text'} || ''
850 1 5 $args{'strip'} || ''
912 3 0 $args{'file'} || ''
913 3 0 $args{'text'} || ''
914 1 2 $args{'strip'} || ''
977 3 0 $args{'file'} || ''
978 3 0 $args{'text'} || ''
979 1 2 $args{'strip'} || ''
1057 3 0 $args{'file'} || ''
1058 3 0 $args{'code'} || ''
1059 2 1 $args{'strip'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
234 45 0 0 $tx || basename($0)
319 109 0 33 $check =~ /create/i or $check =~ /^[crud]+$/i and $check =~ /c/i
336 27 0 115 $check =~ /read/i or $check =~ /^[crud]+$/i and $check =~ /r/i
349 2 0 139 $check =~ /update/i or $check =~ /^[crud]+$/i and $check =~ /u/i
365 21 0 119 $check =~ /delete/i or $check =~ /^[crud]+$/i and $check =~ /d/i
1143 0 0 1 -f "$output/dir12/file1" || -f "$output/dir12/file2" || -f "$output/dir12/file3"
1465 0 0 1 defined $ENV{'TEST_APT'} or defined $ENV{'TEST_ALL'}
1597 8 0 3 defined $v1 || defined $v2
1609 4 0 1 defined $v1 || defined $v2
1622 6 0 1 defined $v1 || defined $v2
1639 6 0 1 defined $v1 || defined $v2