Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | struct QQmlSourceLocation; | - |
5 | | - |
6 | class QQmlDelayedError | - |
7 | { | - |
8 | public: | - |
9 | inline QQmlDelayedError() : nextError(nullptr), prevError(nullptr) {}executed 774 times by 22 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 774 |
10 | inline ~QQmlDelayedError() { (void)removeError(); }executed 770 times by 22 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 770 |
11 | | - |
12 | bool addError(QQmlEnginePrivate *); | - |
13 | | - |
14 | __attribute__ ((__warn_unused_result__)) inline QQmlError removeError() { | - |
15 | if (prevErrorTRUE | evaluated 696 times by 19 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| FALSE | evaluated 610 times by 17 testsEvaluated by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlproperty
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
|
) { | 610-696 |
16 | if (nextErrorTRUE | evaluated 340 times by 7 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| FALSE | evaluated 356 times by 19 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
|
) nextError->prevError = prevError;executed 340 times by 7 tests: nextError->prevError = prevError; Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 340-356 |
17 | *prevError = nextError; | - |
18 | nextError = nullptr; | - |
19 | prevError = nullptr; | - |
20 | }executed 696 times by 19 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 696 |
21 | returnexecuted 1306 times by 22 tests: return m_error; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
m_error;executed 1306 times by 22 tests: return m_error; Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 1306 |
22 | } | - |
23 | | - |
24 | inline bool isValid() const { returnexecuted 2426 times by 21 tests: return m_error.isValid(); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
m_error.isValid();executed 2426 times by 21 tests: return m_error.isValid(); Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
- tst_qquickvisualdatamodel
} | 2426 |
25 | inline const QQmlError &error() const { returnexecuted 76 times by 10 tests: return m_error; Executed by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickloader
- tst_qquickvisualdatamodel
m_error;executed 76 times by 10 tests: return m_error; Executed by:- tst_examples
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlexpression
- tst_qqmlproperty
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickloader
- tst_qquickvisualdatamodel
} | 76 |
26 | inline void clearError() { m_error = QQmlError(); }executed 186 times by 15 tests: end of block Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlinfo
- tst_qqmlitemmodels
- tst_qqmlpropertymap
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdesignersupport
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickloader
- tst_qquickpathview
- tst_qquicktextinput
| 186 |
27 | | - |
28 | void setErrorLocation(const QQmlSourceLocation &sourceLocation); | - |
29 | void setErrorDescription(const QString &description); | - |
30 | void setErrorObject(QObject *object); | - |
31 | | - |
32 | | - |
33 | void catchJavaScriptException(QV4::ExecutionEngine *engine); | - |
34 | | - |
35 | private: | - |
36 | | - |
37 | mutable QQmlError m_error; | - |
38 | | - |
39 | QQmlDelayedError *nextError; | - |
40 | QQmlDelayedError **prevError; | - |
41 | }; | - |
42 | | - |
43 | class __attribute__((visibility("default"))) QQmlJavaScriptExpression | - |
44 | { | - |
45 | public: | - |
46 | QQmlJavaScriptExpression(); | - |
47 | virtual ~QQmlJavaScriptExpression(); | - |
48 | | - |
49 | virtual QString expressionIdentifier() const = 0; | - |
50 | virtual void expressionChanged() = 0; | - |
51 | | - |
52 | QV4::ReturnedValue evaluate(bool *isUndefined); | - |
53 | QV4::ReturnedValue evaluate(QV4::CallData *callData, bool *isUndefined); | - |
54 | | - |
55 | inline bool notifyOnValueChanged() const; | - |
56 | | - |
57 | void setNotifyOnValueChanged(bool v); | - |
58 | void resetNotifyOnValueChanged(); | - |
59 | | - |
60 | inline QObject *scopeObject() const; | - |
61 | inline void setScopeObject(QObject *v); | - |
62 | | - |
63 | virtual QQmlSourceLocation sourceLocation() const; | - |
64 | | - |
65 | bool isValid() const { return never executed: return context() != nullptr; context() != nullptr;never executed: return context() != nullptr; } | 0 |
66 | | - |
67 | QQmlContextData *context() const { returnexecuted 9900830 times by 123 tests: return m_context; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
m_context;executed 9900830 times by 123 tests: return m_context; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
} | 9900830 |
68 | void setContext(QQmlContextData *context); | - |
69 | | - |
70 | QV4::Function *function() const; | - |
71 | | - |
72 | virtual void refresh(); | - |
73 | | - |
74 | class DeleteWatcher { | - |
75 | public: | - |
76 | inline DeleteWatcher(QQmlJavaScriptExpression *); | - |
77 | inline ~DeleteWatcher(); | - |
78 | inline bool wasDeleted() const; | - |
79 | private: | - |
80 | friend class QQmlJavaScriptExpression; | - |
81 | QObject *_c; | - |
82 | QQmlJavaScriptExpression **_w; | - |
83 | QQmlJavaScriptExpression *_s; | - |
84 | }; | - |
85 | | - |
86 | inline bool hasError() const; | - |
87 | inline bool hasDelayedError() const; | - |
88 | QQmlError error(QQmlEngine *) const; | - |
89 | void clearError(); | - |
90 | void clearActiveGuards(); | - |
91 | void clearPermanentGuards(); | - |
92 | QQmlDelayedError *delayedError(); | - |
93 | | - |
94 | static QV4::ReturnedValue evalFunction(QQmlContextData *ctxt, QObject *scope, | - |
95 | const QString &code, const QString &filename, | - |
96 | quint16 line); | - |
97 | protected: | - |
98 | void createQmlBinding(QQmlContextData *ctxt, QObject *scope, const QString &code, const QString &filename, quint16 line); | - |
99 | | - |
100 | void cancelPermanentGuards() const | - |
101 | { | - |
102 | if (m_permanentDependenciesRegisteredTRUE | evaluated 273823 times by 66 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- ...
| FALSE | evaluated 616873 times by 117 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
|
) { | 273823-616873 |
103 | for (QQmlJavaScriptExpressionGuard *it = permanentGuards.first(); itTRUE | evaluated 281415 times by 66 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- ...
| FALSE | evaluated 273823 times by 66 testsEvaluated by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- ...
|
; it = permanentGuards.next(it)) | 273823-281415 |
104 | it->cancelNotify();executed 281415 times by 66 tests: it->cancelNotify(); Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- ...
| 281415 |
105 | }executed 273823 times by 66 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmllistmodel
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlstatemachine
- tst_qqmltranslation
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickaccessible
- tst_qquickanchors
- tst_qquickanimationcontroller
- tst_qquickanimations
- tst_qquickbehaviors
- tst_qquickborderimage
- ...
| 273823 |
106 | }executed 890696 times by 120 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
| 890696 |
107 | | - |
108 | void setupFunction(QV4::ExecutionContext *qmlContext, QV4::Function *f); | - |
109 | void setCompilationUnit(const QQmlRefPointer<QV4::CompiledData::CompilationUnit> &compilationUnit); | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
114 | QBiPointer<QObject, DeleteWatcher> m_scopeObject; | - |
115 | QForwardFieldList<QQmlJavaScriptExpressionGuard, &QQmlJavaScriptExpressionGuard::next> activeGuards; | - |
116 | QForwardFieldList<QQmlJavaScriptExpressionGuard, &QQmlJavaScriptExpressionGuard::next> permanentGuards; | - |
117 | | - |
118 | void setTranslationsCaptured(bool captured) { m_error.setFlagValue(captured); }executed 2123911 times by 128 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 2123911 |
119 | bool translationsCaptured() const { returnexecuted 7581 times by 63 tests: return m_error.flag(); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
m_error.flag();executed 7581 times by 63 tests: return m_error.flag(); Executed by:- tst_examples
- tst_qmlcachegen
- tst_qqmlapplicationengine
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsettings
- tst_qqmlsqldatabase
- tst_qqmltranslation
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
} | 7581 |
120 | | - |
121 | private: | - |
122 | friend class QQmlContextData; | - |
123 | friend class QQmlPropertyCapture; | - |
124 | friend void QQmlJavaScriptExpressionGuard_callback(QQmlNotifierEndpoint *, void **); | - |
125 | friend class QQmlTranslationBinding; | - |
126 | | - |
127 | | - |
128 | QFlagPointer<QQmlDelayedError> m_error; | - |
129 | | - |
130 | QQmlContextData *m_context; | - |
131 | QQmlJavaScriptExpression **m_prevExpression; | - |
132 | QQmlJavaScriptExpression *m_nextExpression; | - |
133 | bool m_permanentDependenciesRegistered = false; | - |
134 | | - |
135 | QV4::PersistentValue m_qmlScope; | - |
136 | QQmlRefPointer<QV4::CompiledData::CompilationUnit> m_compilationUnit; | - |
137 | QV4::Function *m_v4Function; | - |
138 | }; | - |
139 | | - |
140 | class QQmlPropertyCapture | - |
141 | { | - |
142 | public: | - |
143 | QQmlPropertyCapture(QQmlEngine *engine, QQmlJavaScriptExpression *e, QQmlJavaScriptExpression::DeleteWatcher *w) | - |
144 | : engine(engine), expression(e), watcher(w), errorString(nullptr) { }executed 2123915 times by 128 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 2123915 |
145 | | - |
146 | ~QQmlPropertyCapture() { | - |
147 | ((guards.isEmpty()) ? static_cast<void>(0) : qt_assert("guards.isEmpty()", __FILE__, 203)); | - |
148 | ((errorString == nullptr) ? static_cast<void>(0) : qt_assert("errorString == nullptr", __FILE__, 204)); | - |
149 | }executed 2123915 times by 128 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 2123915 |
150 | | - |
151 | enum Duration { | - |
152 | OnlyOnce, | - |
153 | Permanently | - |
154 | }; | - |
155 | | - |
156 | static void registerQmlDependencies(QV4::Heap::QmlContext *context, const QV4::ExecutionEngine *engine, const QV4::CompiledData::Function *compiledFunction); | - |
157 | void captureProperty(QQmlNotifier *, Duration duration = OnlyOnce); | - |
158 | void captureProperty(QObject *, int, int, Duration duration = OnlyOnce, bool doNotify = true); | - |
159 | void captureTranslation() { translationCaptured = true; } never executed: end of block | 0 |
160 | | - |
161 | QQmlEngine *engine; | - |
162 | QQmlJavaScriptExpression *expression; | - |
163 | QQmlJavaScriptExpression::DeleteWatcher *watcher; | - |
164 | QFieldList<QQmlJavaScriptExpressionGuard, &QQmlJavaScriptExpressionGuard::next> guards; | - |
165 | QStringList *errorString; | - |
166 | bool translationCaptured = false; | - |
167 | }; | - |
168 | | - |
169 | QQmlJavaScriptExpression::DeleteWatcher::DeleteWatcher(QQmlJavaScriptExpression *e) | - |
170 | : _c(nullptr), _w(nullptr), _s(e) | - |
171 | { | - |
172 | if (e->m_scopeObject.isT1()TRUE | evaluated 2124551 times by 128 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 1212302 times by 120 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
|
) { | 1212302-2124551 |
173 | _w = &_s; | - |
174 | _c = e->m_scopeObject.asT1(); | - |
175 | e->m_scopeObject = this; | - |
176 | }executed 2124551 times by 128 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
else { | 2124551 |
177 | | - |
178 | _w = &e->m_scopeObject.asT2()->_s; | - |
179 | }executed 1212302 times by 120 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
| 1212302 |
180 | } | - |
181 | | - |
182 | QQmlJavaScriptExpression::DeleteWatcher::~DeleteWatcher() | - |
183 | { | - |
184 | ((*_w == nullptr || (*_w == _s && _s->m_scopeObject.isT2())) ? static_cast<void>(0) : qt_assert("*_w == nullptr || (*_w == _s && _s->m_scopeObject.isT2())", __FILE__, 240)); | - |
185 | if (*TRUE | evaluated 3336819 times by 128 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 34 times by 4 testsEvaluated by:- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypes
|
_wTRUE | evaluated 3336819 times by 128 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 34 times by 4 testsEvaluated by:- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlproperty
- tst_qqmlvaluetypes
|
&& _s->m_scopeObject.asT2() == thisTRUE | evaluated 2124525 times by 128 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| FALSE | evaluated 1212294 times by 120 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- tst_qqmlnotifier
- tst_qqmlproperty
- ...
|
) | 34-3336819 |
186 | _s->m_scopeObject = _c;executed 2124525 times by 128 tests: _s->m_scopeObject = _c; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 2124525 |
187 | }executed 3336853 times by 128 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 3336853 |
188 | | - |
189 | bool QQmlJavaScriptExpression::DeleteWatcher::wasDeleted() const | - |
190 | { | - |
191 | returnexecuted 9073047 times by 128 tests: return *_w == nullptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
*_w == nullptr;executed 9073047 times by 128 tests: return *_w == nullptr; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 9073047 |
192 | } | - |
193 | | - |
194 | bool QQmlJavaScriptExpression::notifyOnValueChanged() const | - |
195 | { | - |
196 | returnexecuted 6371745 times by 128 tests: return activeGuards.flag(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
activeGuards.flag();executed 6371745 times by 128 tests: return activeGuards.flag(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 6371745 |
197 | } | - |
198 | | - |
199 | QObject *QQmlJavaScriptExpression::scopeObject() const | - |
200 | { | - |
201 | if (m_scopeObject.isT1()TRUE | evaluated 1112544 times by 18 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| FALSE | evaluated 4247626 times by 128 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
|
) returnexecuted 1112544 times by 18 tests: return m_scopeObject.asT1(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
- tst_qquickvisualdatamodel
m_scopeObject.asT1();executed 1112544 times by 18 tests: return m_scopeObject.asT1(); Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qquickanimations
- tst_qquickdrag
- tst_qquickdroparea
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickstates
- tst_qquicktextinput
- tst_qquickvisualdatamodel
| 1112544-4247626 |
202 | else returnexecuted 4247626 times by 128 tests: return m_scopeObject.asT2()->_c; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
m_scopeObject.asT2()->_c;executed 4247626 times by 128 tests: return m_scopeObject.asT2()->_c; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 4247626 |
203 | } | - |
204 | | - |
205 | void QQmlJavaScriptExpression::setScopeObject(QObject *v) | - |
206 | { | - |
207 | if (m_scopeObject.isT1()TRUE | evaluated 1684540 times by 123 testsEvaluated by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
| FALSE | never evaluated |
) m_scopeObject = v;executed 1684540 times by 123 tests: m_scopeObject = v; Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
| 0-1684540 |
208 | else m_scopeObject.asT2()->_c = v; never executed: m_scopeObject.asT2()->_c = v; | 0 |
209 | } | - |
210 | | - |
211 | bool QQmlJavaScriptExpression::hasError() const | - |
212 | { | - |
213 | returnexecuted 4983752 times by 123 tests: return !m_error.isNull() && m_error->isValid(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
!m_error.isNull() && m_error->isValid();executed 4983752 times by 123 tests: return !m_error.isNull() && m_error->isValid(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlmetaobject
- tst_qqmlmetatype
- ...
| 4983752 |
214 | } | - |
215 | | - |
216 | bool QQmlJavaScriptExpression::hasDelayedError() const | - |
217 | { | - |
218 | returnexecuted 2123223 times by 128 tests: return !m_error.isNull(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
!m_error.isNull();executed 2123223 times by 128 tests: return !m_error.isNull(); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 2123223 |
219 | } | - |
220 | | - |
221 | inline void QQmlJavaScriptExpression::clearError() | - |
222 | { | - |
223 | delete m_error.data(); | - |
224 | m_error = nullptr; | - |
225 | }executed 2581666 times by 127 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlconsole
- tst_qqmlcontext
- tst_qqmldebugjs
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmllistreference
- tst_qqmllocale
- ...
| 2581666 |
226 | | - |
227 | QQmlJavaScriptExpressionGuard::QQmlJavaScriptExpressionGuard(QQmlJavaScriptExpression *e) | - |
228 | : QQmlNotifierEndpoint(QQmlNotifierEndpoint::QQmlJavaScriptExpressionGuard), | - |
229 | expression(e), next(nullptr) | - |
230 | { | - |
231 | }executed 926433 times by 113 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| 926433 |
232 | | - |
233 | QQmlJavaScriptExpressionGuard * | - |
234 | QQmlJavaScriptExpressionGuard::New(QQmlJavaScriptExpression *e, | - |
235 | QQmlEngine *engine) | - |
236 | { | - |
237 | ((e) ? static_cast<void>(0) : qt_assert("e", __FILE__, 293)); | - |
238 | returnexecuted 926433 times by 113 tests: return QQmlEnginePrivate::get(engine)->jsExpressionGuardPool.New(e); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
QQmlEnginePrivate::get(engine)->jsExpressionGuardPool.New(e);executed 926433 times by 113 tests: return QQmlEnginePrivate::get(engine)->jsExpressionGuardPool.New(e); Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| 926433 |
239 | } | - |
240 | | - |
241 | void QQmlJavaScriptExpressionGuard::Delete() | - |
242 | { | - |
243 | QRecyclePool<QQmlJavaScriptExpressionGuard>::Delete(this); | - |
244 | }executed 845611 times by 112 tests: end of block Executed by:- tst_bindingdependencyapi
- tst_drawingmodes
- tst_examples
- tst_flickableinterop
- tst_multipointtoucharea_interop
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlapplicationengine
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlincubator
- tst_qqmlinfo
- tst_qqmlinstantiator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistreference
- tst_qqmllocale
- tst_qqmlnotifier
- tst_qqmlproperty
- tst_qqmlpropertymap
- tst_qqmlqt
- ...
| 845611 |
245 | | - |
246 | | - |
247 | | - |
| | |