OpenCoverage

Qt Quick Test Coverage

Function Tree

Page:<>12
Condition %:  78.947% (15/19)
Path:<top>::QQmlJS::AST
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
cast
Name: QQmlJS::AST::cast
Prototype: template <typename T1, typename T2> T1 cast(T2 *ast)
Coverage: 100.000% (6/6)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsast_p.h
Lines: 122-129
100.000% (6/6)
32
asAnonymousFunctionDefinition
Name: QQmlJS::AST::asAnonymousFunctionDefinition
Prototype: FunctionExpression *asAnonymousFunctionDefinition(Node *n)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsast.cpp
Lines: 48-56
100.000% (9/9)
63
asAnonymousClassDefinition
Name: QQmlJS::AST::asAnonymousClassDefinition
Prototype: ClassExpression *asAnonymousClassDefinition(Node *n)
Coverage: 100.000% (9/9)
Absolute File Name: /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/parser/qqmljsast.cpp
Lines: 58-66
100.000% (9/9)
63
YieldExpression
Name: QQmlJS::AST::YieldExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
WithStatement
Name: QQmlJS::AST::WithStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
75
WhileStatement
Name: QQmlJS::AST::WhileStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
75
VoidExpression
Name: QQmlJS::AST::VoidExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
VariableStatement
Name: QQmlJS::AST::VariableStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
65
UnaryPlusExpression
Name: QQmlJS::AST::UnaryPlusExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
UnaryMinusExpression
Name: QQmlJS::AST::UnaryMinusExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
UiScriptBinding
Name: QQmlJS::AST::UiScriptBinding
Coverage: 100.000% (7/7)
100.000% (7/7)
75
UiPublicMember
Name: QQmlJS::AST::UiPublicMember
Coverage: 100.000% (20/20)
100.000% (20/20)
1610
UiPragma
Name: QQmlJS::AST::UiPragma
Coverage: 100.000% (7/7)
100.000% (7/7)
65
UiObjectDefinition
Name: QQmlJS::AST::UiObjectDefinition
Coverage: 100.000% (7/7)
100.000% (7/7)
75
UiImport
Name: QQmlJS::AST::UiImport
Coverage: 100.000% (8/8)
100.000% (8/8)
76
UiArrayBinding
Name: QQmlJS::AST::UiArrayBinding
Coverage: 100.000% (7/7)
100.000% (7/7)
75
TypeOfExpression
Name: QQmlJS::AST::TypeOfExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
TrueLiteral
Name: QQmlJS::AST::TrueLiteral
Coverage: 100.000% (7/7)
100.000% (7/7)
55
TildeExpression
Name: QQmlJS::AST::TildeExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
ThrowStatement
Name: QQmlJS::AST::ThrowStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
65
ThisExpression
Name: QQmlJS::AST::ThisExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
55
TemplateLiteral
Name: QQmlJS::AST::TemplateLiteral
Coverage: 100.000% (10/10)
100.000% (10/10)
76
TaggedTemplate
Name: QQmlJS::AST::TaggedTemplate
Coverage: 100.000% (7/7)
100.000% (7/7)
75
SwitchStatement
Name: QQmlJS::AST::SwitchStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
75
SuperLiteral
Name: QQmlJS::AST::SuperLiteral
Coverage: 100.000% (7/7)
100.000% (7/7)
55
StringLiteral
Name: QQmlJS::AST::StringLiteral
Coverage: 100.000% (7/7)
100.000% (7/7)
55
Statement
Name: QQmlJS::AST::Statement
Coverage: 100.000% (1/1)
100.000% (1/1)
11
SourceLocation
Name: QQmlJS::AST::SourceLocation
Coverage: 100.000% (4/4)
100.000% (4/4)
44
ReturnStatement
Name: QQmlJS::AST::ReturnStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
65
RegExpLiteral
Name: QQmlJS::AST::RegExpLiteral
Coverage: 100.000% (7/7)
100.000% (7/7)
55
PropertyName
Name: QQmlJS::AST::PropertyName
Coverage: 100.000% (3/3)
100.000% (3/3)
33
PreIncrementExpression
Name: QQmlJS::AST::PreIncrementExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
PreDecrementExpression
Name: QQmlJS::AST::PreDecrementExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
PostIncrementExpression
Name: QQmlJS::AST::PostIncrementExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
PostDecrementExpression
Name: QQmlJS::AST::PostDecrementExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
Pattern
Name: QQmlJS::AST::Pattern
Coverage: 100.000% (1/1)
100.000% (1/1)
11
ObjectPattern
Name: QQmlJS::AST::ObjectPattern
Coverage: 100.000% (18/18)
100.000% (18/18)
1410
NumericLiteral
Name: QQmlJS::AST::NumericLiteral
Coverage: 100.000% (7/7)
100.000% (7/7)
55
NullExpression
Name: QQmlJS::AST::NullExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
55
NotExpression
Name: QQmlJS::AST::NotExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
NewMemberExpression
Name: QQmlJS::AST::NewMemberExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
75
NewExpression
Name: QQmlJS::AST::NewExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
NestedExpression
Name: QQmlJS::AST::NestedExpression
Coverage: 100.000% (9/9)
100.000% (9/9)
87
LeftHandSideExpression
Name: QQmlJS::AST::LeftHandSideExpression
Coverage: 100.000% (1/1)
100.000% (1/1)
11
LabelledStatement
Name: QQmlJS::AST::LabelledStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
65
IfStatement
Name: QQmlJS::AST::IfStatement
Coverage: 100.000% (10/10)
100.000% (10/10)
106
IdentifierExpression
Name: QQmlJS::AST::IdentifierExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
55
FunctionExpression
Name: QQmlJS::AST::FunctionExpression
Coverage: 100.000% (8/8)
100.000% (8/8)
86
FunctionDeclaration
Name: QQmlJS::AST::FunctionDeclaration
Coverage: 100.000% (5/5)
100.000% (5/5)
53
ForStatement
Name: QQmlJS::AST::ForStatement
Coverage: 100.000% (8/8)
100.000% (8/8)
116
FieldMemberExpression
Name: QQmlJS::AST::FieldMemberExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
FalseLiteral
Name: QQmlJS::AST::FalseLiteral
Coverage: 100.000% (7/7)
100.000% (7/7)
55
ExpressionStatement
Name: QQmlJS::AST::ExpressionStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
65
Expression
Name: QQmlJS::AST::Expression
Coverage: 100.000% (7/7)
100.000% (7/7)
75
EmptyStatement
Name: QQmlJS::AST::EmptyStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
55
DoWhileStatement
Name: QQmlJS::AST::DoWhileStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
75
DeleteExpression
Name: QQmlJS::AST::DeleteExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
65
DebuggerStatement
Name: QQmlJS::AST::DebuggerStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
55
ContinueStatement
Name: QQmlJS::AST::ContinueStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
55
ConditionalExpression
Name: QQmlJS::AST::ConditionalExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
85
ClassExpression
Name: QQmlJS::AST::ClassExpression
Coverage: 100.000% (8/8)
100.000% (8/8)
86
ClassDeclaration
Name: QQmlJS::AST::ClassDeclaration
Coverage: 100.000% (5/5)
100.000% (5/5)
53
Catch
Name: QQmlJS::AST::Catch
Coverage: 100.000% (7/7)
100.000% (7/7)
75
CallExpression
Name: QQmlJS::AST::CallExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
75
BreakStatement
Name: QQmlJS::AST::BreakStatement
Coverage: 100.000% (7/7)
100.000% (7/7)
55
Block
Name: QQmlJS::AST::Block
Coverage: 100.000% (7/7)
100.000% (7/7)
65
BinaryExpression
Name: QQmlJS::AST::BinaryExpression
Coverage: 100.000% (8/8)
100.000% (8/8)
86
ArrayMemberExpression
Name: QQmlJS::AST::ArrayMemberExpression
Coverage: 100.000% (7/7)
100.000% (7/7)
75
Visitor
Name: QQmlJS::AST::Visitor
Coverage:  98.958% (95/96)
 98.958% (95/96)
9696
PatternElementList
Name: QQmlJS::AST::PatternElementList
Coverage:  94.737% (18/19)
 94.737% (18/19)
1811
VariableDeclarationList
Name: QQmlJS::AST::VariableDeclarationList
Coverage:  94.444% (17/18)
 94.444% (17/18)
1810
PatternPropertyList
Name: QQmlJS::AST::PatternPropertyList
Coverage:  93.750% (15/16)
 93.750% (15/16)
1610
ClassElementList
Name: QQmlJS::AST::ClassElementList
Coverage:  93.333% (14/15)
 93.333% (14/15)
179
ArgumentList
Name: QQmlJS::AST::ArgumentList
Coverage:  93.333% (14/15)
 93.333% (14/15)
159
UiObjectMemberList
Name: QQmlJS::AST::UiObjectMemberList
Coverage:  91.667% (11/12)
 91.667% (11/12)
138
UiObjectBinding
Name: QQmlJS::AST::UiObjectBinding
Coverage:  91.667% (11/12)
 91.667% (11/12)
106
UiArrayMemberList
Name: QQmlJS::AST::UiArrayMemberList
Coverage:  91.667% (11/12)
 91.667% (11/12)
138
StatementList
Name: QQmlJS::AST::StatementList
Coverage:  91.667% (11/12)
 91.667% (11/12)
138
CaseClauses
Name: QQmlJS::AST::CaseClauses
Coverage:  91.667% (11/12)
 91.667% (11/12)
138
UiHeaderItemList
Name: QQmlJS::AST::UiHeaderItemList
Coverage:  90.909% (10/11)
 90.909% (10/11)
179
PatternElement
Name: QQmlJS::AST::PatternElement
Coverage:  90.385% (47/52)
 90.385% (47/52)
5926
UiEnumMemberList
Name: QQmlJS::AST::UiEnumMemberList
Coverage:  90.000% (9/10)
 90.000% (9/10)
168
UiQualifiedId
Name: QQmlJS::AST::UiQualifiedId
Coverage:  88.889% (8/9)
 88.889% (8/9)
117
ForEachStatement
Name: QQmlJS::AST::ForEachStatement
Coverage:  88.889% (8/9)
 88.889% (8/9)
107
Elision
Name: QQmlJS::AST::Elision
Coverage:  88.889% (8/9)
 88.889% (8/9)
117
FormalParameterList
Name: QQmlJS::AST::FormalParameterList
Coverage:  88.312% (68/77)
 88.312% (68/77)
6429
ComputedPropertyName
Name: QQmlJS::AST::ComputedPropertyName
Coverage:  87.500% (7/8)
 87.500% (7/8)
76
TryStatement
Name: QQmlJS::AST::TryStatement
Coverage:  86.667% (13/15)
 86.667% (13/15)
149
ArrayPattern
Name: QQmlJS::AST::ArrayPattern
Coverage:  86.486% (32/37)
 86.486% (32/37)
2615
UiObjectInitializer
Name: QQmlJS::AST::UiObjectInitializer
Coverage:  85.714% (6/7)
 85.714% (6/7)
65
UiEnumDeclaration
Name: QQmlJS::AST::UiEnumDeclaration
Coverage:  85.714% (6/7)
 85.714% (6/7)
65
Program
Name: QQmlJS::AST::Program
Coverage:  85.714% (6/7)
 85.714% (6/7)
65
Finally
Name: QQmlJS::AST::Finally
Coverage:  85.714% (6/7)
 85.714% (6/7)
65
DefaultClause
Name: QQmlJS::AST::DefaultClause
Coverage:  85.714% (6/7)
 85.714% (6/7)
65
CaseClause
Name: QQmlJS::AST::CaseClause
Coverage:  85.714% (6/7)
 85.714% (6/7)
75
CaseBlock
Name: QQmlJS::AST::CaseBlock
Coverage:  85.714% (6/7)
 85.714% (6/7)
85
StringLiteralPropertyName
Name: QQmlJS::AST::StringLiteralPropertyName
Coverage:  83.333% (5/6)
 83.333% (5/6)
44
NumericLiteralPropertyName
Name: QQmlJS::AST::NumericLiteralPropertyName
Coverage:  83.333% (5/6)
 83.333% (5/6)
44
IdentifierPropertyName
Name: QQmlJS::AST::IdentifierPropertyName
Coverage:  83.333% (5/6)
 83.333% (5/6)
44
Node
Name: QQmlJS::AST::Node
Coverage:  82.353% (14/17)
 82.353% (14/17)
1413
Page:<>12
Condition %:  78.947% (15/19)

Generated by Squish Coco 4.2.0