| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | | - |
| 10 | | - |
| 11 | namespace QV4 { | - |
| 12 | | - |
| 13 | static inline __attribute((const)) ReturnedValue add_int32(int a, int b) | - |
| 14 | { | - |
| 15 | int result; | - |
| 16 | if (__builtin_expect(!!(add_overflow(a, b, &result)), false)| TRUE | never evaluated | | FALSE | evaluated 72452424 times by 49 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
|
) | 0-72452424 |
| 17 | return never executed: return Primitive::fromDouble(static_cast<double>(a) + b).asReturnedValue(); Primitive::fromDouble(static_cast<double>(a) + b).asReturnedValue();never executed: return Primitive::fromDouble(static_cast<double>(a) + b).asReturnedValue(); | 0 |
| 18 | returnexecuted 72456332 times by 49 tests: return Primitive::fromInt32(result).asReturnedValue();Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
Primitive::fromInt32(result).asReturnedValue();executed 72456332 times by 49 tests: return Primitive::fromInt32(result).asReturnedValue();Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qmlcachegen
- tst_qmldiskcache
- tst_qqmlbinding
- tst_qqmlcomponent
- tst_qqmlconnections
- tst_qqmlcontext
- tst_qqmlecmascript
- tst_qqmlenginedebugservice
- tst_qqmlexpression
- tst_qqmlincubator
- tst_qqmlitemmodels
- tst_qqmllistmodel
- tst_qqmllistmodelworkerscript
- tst_qqmlprofilerservice
- tst_qqmlpropertymap
- tst_qqmlqt
- tst_qqmlsqldatabase
- tst_qqmltypeloader
- tst_qqmlvaluetypeproviders
- tst_qqmlvaluetypes
- tst_qqmlxmlhttprequest
- tst_qquickanimationcontroller
- ...
| 72456332 |
| 19 | } | - |
| 20 | | - |
| 21 | static inline __attribute((const)) ReturnedValue sub_int32(int a, int b) | - |
| 22 | { | - |
| 23 | int result; | - |
| 24 | if (__builtin_expect(!!(sub_overflow(a, b, &result)), false)| TRUE | never evaluated | | FALSE | evaluated 16842670 times by 14 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qv4debugger
|
) | 0-16842670 |
| 25 | return never executed: return Primitive::fromDouble(static_cast<double>(a) - b).asReturnedValue(); Primitive::fromDouble(static_cast<double>(a) - b).asReturnedValue();never executed: return Primitive::fromDouble(static_cast<double>(a) - b).asReturnedValue(); | 0 |
| 26 | returnexecuted 16844756 times by 14 tests: return Primitive::fromInt32(result).asReturnedValue();Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qv4debugger
Primitive::fromInt32(result).asReturnedValue();executed 16844756 times by 14 tests: return Primitive::fromInt32(result).asReturnedValue();Executed by:- tst_ecmascripttests
- tst_examples
- tst_qjsengine
- tst_qqmlecmascript
- tst_qqmllocale
- tst_qquickaccessible
- tst_qquickanimationcontroller
- tst_qquickgridview
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qv4debugger
| 16844756 |
| 27 | } | - |
| 28 | | - |
| 29 | static inline __attribute((const)) ReturnedValue mul_int32(int a, int b) | - |
| 30 | { | - |
| 31 | int result; | - |
| 32 | if (__builtin_expect(!!(mul_overflow(a, b, &result)), false)| TRUE | evaluated 728 times by 1 test | | FALSE | evaluated 24771152 times by 14 testsEvaluated by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquicktext
- tst_qv4debugger
|
) | 728-24771152 |
| 33 | returnexecuted 728 times by 1 test: return Primitive::fromDouble(static_cast<double>(a) * b).asReturnedValue(); Primitive::fromDouble(static_cast<double>(a) * b).asReturnedValue();executed 728 times by 1 test: return Primitive::fromDouble(static_cast<double>(a) * b).asReturnedValue(); | 728 |
| 34 | returnexecuted 24776457 times by 14 tests: return Primitive::fromInt32(result).asReturnedValue();Executed by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquicktext
- tst_qv4debugger
Primitive::fromInt32(result).asReturnedValue();executed 24776457 times by 14 tests: return Primitive::fromInt32(result).asReturnedValue();Executed by:- tst_ecmascripttests
- tst_examples
- tst_qqmlecmascript
- tst_qqmlincubator
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquicktext
- tst_qv4debugger
| 24776457 |
| 35 | } | - |
| 36 | | - |
| 37 | } | - |
| 38 | | - |
| 39 | | - |
| | |