Condition Coverage

blib/lib/Dicom/DCMTK/DCMQRSCP/Config.pm
Criterion Covered Total %
condition 33 39 84.6


and 3 conditions

line !l l&&!r l&&r condition
40 19 7 11 $stay == 0 || $stay == 1 and $line =~ /^\s*(\w+)\s*=\s*"?(\w+)"?\s*$/ms
19 4 3 $stay == 1 and $line =~ /^\s*HostTable\s+BEGIN\s*$/ms
13 7 3 $stay == 2 and $line =~ /^\s*HostTable\s+END\s*$/ms
13 1 6 $stay == 2 and $line =~ /^\s*(\w+)\s*=\s*\(([\d\.\w\s,]+)\)\s*$/ms
13 0 1 $stay == 2 and $line =~ /^\s*(\w+)\s*=\s*([\w\s,]+)\s*$/ms
9 1 3 $stay == 1 and $line =~ /^\s*AETable\s+BEGIN\s*$/ms
3 4 3 $stay == 3 and $line =~ /^\s*AETable\s+END\s*$/ms
3 0 4 $stay == 3 and $line =~ m[^\s*(\w+)\s+([/\w]+)\s+(\w+)\s+\(([^)]+)\)\s+(.*)$]ms
2 0 1 $stay == 1 and $line =~ /^\s*VendorTable\s+BEGIN\s*$/ms
0 1 1 $stay == 4 and $line =~ /^\s*VendorTable\s+END\s*$/ms
0 0 1 $stay == 4 and $line =~ /^\s*"([^"]+)"\s*=\s*(\w+)\s*$/ms

or 3 conditions

line l !l&&r !l&&!r condition
37 6 4 37 $line =~ /^\s*#/ms or $line =~ /^\s*$/ms
40 3 15 19 $stay == 0 || $stay == 1