Branch Coverage

blib/lib/QML/File.pm
Criterion Covered Total %
branch 31 36 86.1


line true false branch
43 0 1 unless ($$self{'fileHandle'})
57 0 38 if $line =~ m[^//]
60 1 37 if $line =~ m[/\*]
61 4 34 if ($isInComment)
62 1 3 if $line =~ m[\*/]
68 0 34 if (defined $filename)
75 2 32 if (defined $importId)
81 4 30 unless ($$self{'objectType'})
83 1 3 if (defined $type and $type ne 'import')
89 20 14 if ($braceLevel == 1)
94 1 19 if (defined $propertyType)
106 1 19 if (defined $signalName)
113 2 18 if (defined $functionName)
121 8 12 if (defined $propertyName)
126 1 7 unless (defined $$self{'id'}{'name'})
128 1 0 if (defined $id)
137 1 19 if (defined $childType)
138 0 1 if $childType =~ /^anchors|font$/