| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | QQmlListCompositor::iterator &QQmlListCompositor::iterator::operator +=(int difference) | - |
| 8 | { | - |
| 9 | | - |
| 10 | decrementIndexes(offset); | - |
| 11 | | - |
| 12 | | - |
| 13 | if (!(range->flags & groupFlag)| TRUE | evaluated 13557 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 215019 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
) | 13557-215019 |
| 14 | offset = 0;executed 13557 times by 11 tests: offset = 0;Executed by:- tst_examples
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 13557 |
| 15 | | - |
| 16 | offset += difference; | - |
| 17 | | - |
| 18 | | - |
| 19 | while (offset <= 0| TRUE | evaluated 151124 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| | FALSE | evaluated 199558 times by 24 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
|
&& range->previous->flags| TRUE | evaluated 122106 times by 23 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 29018 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
) { | 29018-199558 |
| 20 | range = range->previous; | - |
| 21 | if (range->flags & groupFlag| TRUE | evaluated 109902 times by 23 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 12204 times by 7 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) | 12204-109902 |
| 22 | offset += range->count;executed 109902 times by 23 tests: offset += range->count;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 109902 |
| 23 | decrementIndexes(range->count); | - |
| 24 | }executed 122106 times by 23 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 122106 |
| 25 | | - |
| 26 | | - |
| 27 | | - |
| 28 | while (range->flags| TRUE | evaluated 349431 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| | FALSE | evaluated 38 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
&& (offset >= range->count| TRUE | evaluated 104447 times by 24 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 244984 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
|| !(range->flags & groupFlag)| TRUE | evaluated 16446 times by 8 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 228538 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
)) { | 38-349431 |
| 29 | if (range->flags & groupFlag| TRUE | evaluated 103903 times by 24 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 16990 times by 8 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) | 16990-103903 |
| 30 | offset -= range->count;executed 103903 times by 24 tests: offset -= range->count;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| 103903 |
| 31 | incrementIndexes(range->count); | - |
| 32 | range = range->next; | - |
| 33 | }executed 120893 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| 120893 |
| 34 | | - |
| 35 | | - |
| 36 | incrementIndexes(offset); | - |
| 37 | | - |
| 38 | returnexecuted 228576 times by 26 tests: return *this;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
*this;executed 228576 times by 26 tests: return *this;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 228576 |
| 39 | } | - |
| 40 | | - |
| 41 | QQmlListCompositor::insert_iterator &QQmlListCompositor::insert_iterator::operator +=(int difference) | - |
| 42 | { | - |
| 43 | iterator::operator +=(difference); | - |
| 44 | | - |
| 45 | | - |
| 46 | | - |
| 47 | if (offset == 0| TRUE | evaluated 294 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 168 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
&& range->previous->append()| TRUE | evaluated 34 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 260 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 34-294 |
| 48 | range = range->previous; | - |
| 49 | offset = range->inGroup()| TRUE | evaluated 32 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
? range->count : 0; | 2-32 |
| 50 | }executed 34 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 34 |
| 51 | | - |
| 52 | returnexecuted 462 times by 4 tests: return *this;Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
*this;executed 462 times by 4 tests: return *this;Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 462 |
| 53 | } | - |
| 54 | | - |
| 55 | | - |
| 56 | | - |
| 57 | | - |
| 58 | | - |
| 59 | | - |
| 60 | QQmlListCompositor::QQmlListCompositor() | - |
| 61 | : m_end(m_ranges.next, 0, Default, 2) | - |
| 62 | , m_cacheIt(m_end) | - |
| 63 | , m_groupCount(2) | - |
| 64 | , m_defaultFlags(PrependFlag | DefaultFlag) | - |
| 65 | , m_removeFlags(AppendFlag | PrependFlag | GroupMask) | - |
| 66 | , m_moveId(0) | - |
| 67 | { | - |
| 68 | }executed 5714 times by 28 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 5714 |
| 69 | | - |
| 70 | | - |
| 71 | | - |
| 72 | | - |
| 73 | | - |
| 74 | QQmlListCompositor::~QQmlListCompositor() | - |
| 75 | { | - |
| 76 | for (Range *next, *range = m_ranges.next; range != &m_ranges| TRUE | evaluated 10837 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- ...
| | FALSE | evaluated 5648 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- ...
|
; range = next) { | 5648-10837 |
| 77 | next = range->next; | - |
| 78 | delete range; | - |
| 79 | }executed 10837 times by 26 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- ...
| 10837 |
| 80 | }executed 5648 times by 26 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- tst_qtqmlmodules
- ...
| 5648 |
| 81 | | - |
| 82 | | - |
| 83 | | - |
| 84 | | - |
| 85 | | - |
| 86 | | - |
| 87 | inline QQmlListCompositor::Range *QQmlListCompositor::insert( | - |
| 88 | Range *before, void *list, int index, int count, uint flags) | - |
| 89 | { | - |
| 90 | returnexecuted 35671 times by 28 tests: return new Range(before, list, index, count, flags);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
new Range(before, list, index, count, flags);executed 35671 times by 28 tests: return new Range(before, list, index, count, flags);Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 35671 |
| 91 | } | - |
| 92 | | - |
| 93 | | - |
| 94 | | - |
| 95 | | - |
| 96 | | - |
| 97 | | - |
| 98 | | - |
| 99 | inline QQmlListCompositor::Range *QQmlListCompositor::erase( | - |
| 100 | Range *range) | - |
| 101 | { | - |
| 102 | Range *next = range->next; | - |
| 103 | next->previous = range->previous; | - |
| 104 | next->previous->next = range->next; | - |
| 105 | delete range; | - |
| 106 | returnexecuted 24766 times by 23 tests: return next;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
next;executed 24766 times by 23 tests: return next;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| 24766 |
| 107 | } | - |
| 108 | | - |
| 109 | | - |
| 110 | | - |
| 111 | | - |
| 112 | | - |
| 113 | void QQmlListCompositor::setGroupCount(int count) | - |
| 114 | { | - |
| 115 | m_groupCount = count; | - |
| 116 | m_end = iterator(&m_ranges, 0, Default, m_groupCount); | - |
| 117 | m_cacheIt = m_end; | - |
| 118 | }executed 5712 times by 28 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 5712 |
| 119 | | - |
| 120 | | - |
| 121 | | - |
| 122 | | - |
| 123 | | - |
| 124 | int QQmlListCompositor::count(Group group) const | - |
| 125 | { | - |
| 126 | returnexecuted 1201325 times by 28 tests: return m_end.index[group];Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
m_end.index[group];executed 1201325 times by 28 tests: return m_end.index[group];Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 1201325 |
| 127 | } | - |
| 128 | | - |
| 129 | | - |
| 130 | | - |
| 131 | | - |
| 132 | | - |
| 133 | | - |
| 134 | | - |
| 135 | QQmlListCompositor::iterator QQmlListCompositor::find(Group group, int index) | - |
| 136 | { | - |
| 137 | | - |
| 138 | ((index >=0 && index < count(group)) ? static_cast<void>(0) : qt_assert("index >=0 && index < count(group)", __FILE__, 365)); | - |
| 139 | if (m_cacheIt == m_end| TRUE | evaluated 18670 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| | FALSE | evaluated 209444 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
) { | 18670-209444 |
| 140 | m_cacheIt = iterator(m_ranges.next, 0, group, m_groupCount); | - |
| 141 | m_cacheIt += index; | - |
| 142 | }executed 18670 times by 26 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
else { | 18670 |
| 143 | const int offset = index - m_cacheIt.index[group]; | - |
| 144 | m_cacheIt.setGroup(group); | - |
| 145 | m_cacheIt += offset; | - |
| 146 | }executed 209444 times by 26 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 209444 |
| 147 | ((m_cacheIt.index[group] == index) ? static_cast<void>(0) : qt_assert("m_cacheIt.index[group] == index", __FILE__, 374)); | - |
| 148 | ((m_cacheIt->inGroup(group)) ? static_cast<void>(0) : qt_assert("m_cacheIt->inGroup(group)", __FILE__, 375)); | - |
| 149 | | - |
| 150 | returnexecuted 228114 times by 26 tests: return m_cacheIt;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
m_cacheIt;executed 228114 times by 26 tests: return m_cacheIt;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 228114 |
| 151 | } | - |
| 152 | | - |
| 153 | | - |
| 154 | | - |
| 155 | | - |
| 156 | | - |
| 157 | | - |
| 158 | | - |
| 159 | QQmlListCompositor::iterator QQmlListCompositor::find(Group group, int index) const | - |
| 160 | { | - |
| 161 | returnexecuted 2 times by 1 test: return const_cast<QQmlListCompositor *>(this)->find(group, index); const_cast<QQmlListCompositor *>(this)->find(group, index);executed 2 times by 1 test: return const_cast<QQmlListCompositor *>(this)->find(group, index); | 2 |
| 162 | } | - |
| 163 | QQmlListCompositor::insert_iterator QQmlListCompositor::findInsertPosition(Group group, int index) | - |
| 164 | { | - |
| 165 | | - |
| 166 | ((index >=0 && index <= count(group)) ? static_cast<void>(0) : qt_assert("index >=0 && index <= count(group)", __FILE__, 406)); | - |
| 167 | insert_iterator it; | - |
| 168 | if (m_cacheIt == m_end| TRUE | evaluated 40 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
| | FALSE | evaluated 362 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
) { | 40-362 |
| 169 | it = iterator(m_ranges.next, 0, group, m_groupCount); | - |
| 170 | it += index; | - |
| 171 | }executed 40 times by 1 test: end of blockExecuted by:- tst_qquickvisualdatamodel
else { | 40 |
| 172 | const int offset = index - m_cacheIt.index[group]; | - |
| 173 | it = m_cacheIt; | - |
| 174 | it.setGroup(group); | - |
| 175 | it += offset; | - |
| 176 | }executed 362 times by 2 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 362 |
| 177 | ((it.index[group] == index) ? static_cast<void>(0) : qt_assert("it.index[group] == index", __FILE__, 417)); | - |
| 178 | returnexecuted 402 times by 2 tests: return it;Executed by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
it;executed 402 times by 2 tests: return it;Executed by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 402 |
| 179 | } | - |
| 180 | void QQmlListCompositor::append( | - |
| 181 | void *list, int index, int count, uint flags, QVector<Insert> *inserts) | - |
| 182 | { | - |
| 183 | | - |
| 184 | insert(m_end, list, index, count, flags, inserts); | - |
| 185 | }executed 6084 times by 28 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 6084 |
| 186 | void QQmlListCompositor::insert( | - |
| 187 | Group group, int before, void *list, int index, int count, uint flags, QVector<Insert> *inserts) | - |
| 188 | { | - |
| 189 | | - |
| 190 | insert(findInsertPosition(group, before), list, index, count, flags, inserts); | - |
| 191 | }executed 82 times by 2 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 82 |
| 192 | QQmlListCompositor::iterator QQmlListCompositor::insert( | - |
| 193 | iterator before, void *list, int index, int count, uint flags, QVector<Insert> *inserts) | - |
| 194 | { | - |
| 195 | | - |
| 196 | if (inserts| TRUE | evaluated 5622 times by 27 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- ...
| | FALSE | evaluated 948 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
) { | 948-5622 |
| 197 | inserts->append(Insert(before, count, flags & GroupMask)); | - |
| 198 | }executed 5622 times by 27 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- ...
| 5622 |
| 199 | if (before.offset > 0| TRUE | evaluated 172 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 6398 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
|
) { | 172-6398 |
| 200 | | - |
| 201 | | - |
| 202 | *before = insert( | - |
| 203 | *before, before->list, before->index, before.offset, before->flags & ~AppendFlag)->next; | - |
| 204 | before->index += before.offset; | - |
| 205 | before->count -= before.offset; | - |
| 206 | before.offset = 0; | - |
| 207 | }executed 172 times by 2 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 172 |
| 208 | | - |
| 209 | | - |
| 210 | if (!(flags & AppendFlag)| TRUE | evaluated 852 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5718 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
|
&& *| TRUE | evaluated 572 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 280 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
before != m_ranges.next| TRUE | evaluated 572 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 280 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 280-5718 |
| 211 | && before->previous->list == list| TRUE | evaluated 246 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 326 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 246-326 |
| 212 | && before->previous->flags == flags| TRUE | evaluated 10 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 236 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 10-236 |
| 213 | && (!list| TRUE | evaluated 2 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
| | FALSE | evaluated 8 times by 1 test |
|| before->previous->end() == index| TRUE | never evaluated | | FALSE | evaluated 8 times by 1 test |
)) { | 0-8 |
| 214 | | - |
| 215 | | - |
| 216 | before->previous->count += count; | - |
| 217 | before.incrementIndexes(count, flags); | - |
| 218 | }executed 2 times by 1 test: end of blockExecuted by:- tst_qquickvisualdatamodel
else { | 2 |
| 219 | *before = insert(*before, list, index, count, flags); | - |
| 220 | before.offset = 0; | - |
| 221 | }executed 6568 times by 28 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 6568 |
| 222 | | - |
| 223 | if (!(flags & AppendFlag)| TRUE | evaluated 852 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5718 times by 28 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
|
&& before->next != &m_ranges| TRUE | evaluated 380 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 472 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 380-5718 |
| 224 | && before->list == before->next->list| TRUE | evaluated 72 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
| | FALSE | evaluated 308 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 72-308 |
| 225 | && before->flags == before->next->flags| TRUE | never evaluated | | FALSE | evaluated 72 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
|
| 0-72 |
| 226 | && (!list| TRUE | never evaluated | | FALSE | never evaluated |
|| before->end() == before->next->index| TRUE | never evaluated | | FALSE | never evaluated |
)) { | 0 |
| 227 | | - |
| 228 | before->next->index = before->index; | - |
| 229 | before->next->count += before->count; | - |
| 230 | *before = erase(*before); | - |
| 231 | } never executed: end of block | 0 |
| 232 | | - |
| 233 | m_end.incrementIndexes(count, flags); | - |
| 234 | m_cacheIt = before; | - |
| 235 | | - |
| 236 | returnexecuted 6570 times by 28 tests: return before;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
before;executed 6570 times by 28 tests: return before;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- ...
| 6570 |
| 237 | } | - |
| 238 | void QQmlListCompositor::setFlags( | - |
| 239 | Group fromGroup, int from, int count, Group group, int flags, QVector<Insert> *inserts) | - |
| 240 | { | - |
| 241 | | - |
| 242 | setFlags(find(fromGroup, from), count, group, flags, inserts); | - |
| 243 | }executed 144 times by 2 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 144 |
| 244 | void QQmlListCompositor::setFlags( | - |
| 245 | iterator from, int count, Group group, uint flags, QVector<Insert> *inserts) | - |
| 246 | { | - |
| 247 | | - |
| 248 | if (!flags| TRUE | never evaluated | | FALSE | evaluated 88773 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
|| !count| TRUE | never evaluated | | FALSE | evaluated 88773 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
) | 0-88773 |
| 249 | return; never executed: return; | 0 |
| 250 | | - |
| 251 | if (from != group| TRUE | never evaluated | | FALSE | evaluated 88773 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
) { | 0-88773 |
| 252 | | - |
| 253 | from.incrementIndexes(from->count - from.offset); | - |
| 254 | from.offset = 0; | - |
| 255 | *from = from->next; | - |
| 256 | } never executed: end of block else if (from.offset > 0| TRUE | evaluated 4081 times by 7 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 84692 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
) { | 0-84692 |
| 257 | | - |
| 258 | *from = insert(*from, from->list, from->index, from.offset, from->flags & ~AppendFlag)->next; | - |
| 259 | from->index += from.offset; | - |
| 260 | from->count -= from.offset; | - |
| 261 | from.offset = 0; | - |
| 262 | }executed 4081 times by 7 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 4081 |
| 263 | | - |
| 264 | for (; count > 0| TRUE | evaluated 88801 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| | FALSE | evaluated 16231 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
; *from = from->next) { | 16231-88801 |
| 265 | if (from != from.group| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 88793 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
) { | 8-88793 |
| 266 | | - |
| 267 | from.incrementIndexes(from->count); | - |
| 268 | continue;executed 8 times by 2 tests: continue;Executed by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 8 |
| 269 | } | - |
| 270 | | - |
| 271 | const int difference = qMin(count, from->count); | - |
| 272 | count -= difference; | - |
| 273 | | - |
| 274 | | - |
| 275 | const uint insertFlags = ~from->flags & flags; | - |
| 276 | const uint setFlags = (from->flags | flags) & ~AppendFlag; | - |
| 277 | if (insertFlags| TRUE | evaluated 88597 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| | FALSE | evaluated 196 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
&& inserts| TRUE | evaluated 472 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 88125 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
) | 196-88597 |
| 278 | inserts->append(Insert(from, difference, insertFlags | (from->flags & CacheFlag)));executed 472 times by 3 tests: inserts->append(Insert(from, difference, insertFlags | (from->flags & CacheFlag)));Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 472 |
| 279 | m_end.incrementIndexes(difference, insertFlags); | - |
| 280 | from.incrementIndexes(difference, setFlags); | - |
| 281 | | - |
| 282 | if (from->previous != &m_ranges| TRUE | evaluated 82776 times by 24 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 6017 times by 25 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
|
| 6017-82776 |
| 283 | && from->previous->list == from->list| TRUE | evaluated 82552 times by 24 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 224 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
|
| 224-82552 |
| 284 | && (!from->list| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 82550 times by 24 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
|
|| from->previous->end() == from->index| TRUE | evaluated 82466 times by 24 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 84 times by 3 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) | 2-82550 |
| 285 | && from->previous->flags == setFlags| TRUE | evaluated 78312 times by 24 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 4156 times by 7 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 4156-78312 |
| 286 | | - |
| 287 | | - |
| 288 | from->previous->count += difference; | - |
| 289 | from->index += difference; | - |
| 290 | from->count -= difference; | - |
| 291 | if (from->count == 0| TRUE | evaluated 5770 times by 22 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 72542 times by 23 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { | 5770-72542 |
| 292 | | - |
| 293 | | - |
| 294 | if (from->append()| TRUE | evaluated 2635 times by 22 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 3135 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) | 2635-3135 |
| 295 | from->previous->flags |= AppendFlag;executed 2635 times by 22 tests: from->previous->flags |= AppendFlag;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| 2635 |
| 296 | *from = erase(*from)->previous; | - |
| 297 | continue;executed 5770 times by 22 tests: continue;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| 5770 |
| 298 | } else { | - |
| 299 | break;executed 72542 times by 23 tests: break;Executed by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| 72542 |
| 300 | } | - |
| 301 | } else if (!insertFlags| TRUE | evaluated 172 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 10309 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
) { | 172-10309 |
| 302 | | - |
| 303 | from.incrementIndexes(from->count - difference); | - |
| 304 | continue;executed 172 times by 2 tests: continue;Executed by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 172 |
| 305 | } else if (difference < from->count| TRUE | evaluated 5559 times by 24 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 4750 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
) { | 4750-5559 |
| 306 | | - |
| 307 | | - |
| 308 | *from = insert(*from, from->list, from->index, difference, setFlags)->next; | - |
| 309 | from->index += difference; | - |
| 310 | from->count -= difference; | - |
| 311 | }executed 5559 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
else { | 5559 |
| 312 | | - |
| 313 | from->flags |= flags; | - |
| 314 | continue;executed 4750 times by 14 tests: continue;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickanimations
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 4750 |
| 315 | } | - |
| 316 | from.incrementIndexes(from->count); | - |
| 317 | }executed 5559 times by 24 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- tst_scenegraph
| 5559 |
| 318 | | - |
| 319 | if (from->previous != &m_ranges| TRUE | evaluated 88773 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| | FALSE | never evaluated |
| 0-88773 |
| 320 | && from->previous->list == from->list| TRUE | evaluated 80136 times by 23 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 8637 times by 26 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
|
| 8637-80136 |
| 321 | && (!from->list| TRUE | evaluated 54 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 80082 times by 23 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
|| from->previous->end() == from->index| TRUE | evaluated 79969 times by 23 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
| | FALSE | evaluated 113 times by 4 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) | 54-80082 |
| 322 | && from->previous->flags == (from->flags & ~AppendFlag)| TRUE | evaluated 6974 times by 9 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 73049 times by 23 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
- tst_scenegraph
|
) { | 6974-73049 |
| 323 | | - |
| 324 | from.offset = from->previous->count; | - |
| 325 | from->previous->count += from->count; | - |
| 326 | from->previous->flags = from->flags; | - |
| 327 | *from = erase(*from)->previous; | - |
| 328 | }executed 6974 times by 9 tests: end of blockExecuted by:- tst_examples
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 6974 |
| 329 | m_cacheIt = from; | - |
| 330 | | - |
| 331 | }executed 88773 times by 26 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquickvisualdatamodel
- ...
| 88773 |
| 332 | void QQmlListCompositor::clearFlags( | - |
| 333 | Group fromGroup, int from, int count, Group group, uint flags, QVector<Remove> *removes) | - |
| 334 | { | - |
| 335 | | - |
| 336 | clearFlags(find(fromGroup, from), count, group, flags, removes); | - |
| 337 | }executed 22472 times by 13 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 22472 |
| 338 | void QQmlListCompositor::clearFlags( | - |
| 339 | iterator from, int count, Group group, uint flags, QVector<Remove> *removes) | - |
| 340 | { | - |
| 341 | | - |
| 342 | if (!flags| TRUE | never evaluated | | FALSE | evaluated 22548 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
|| !count| TRUE | never evaluated | | FALSE | evaluated 22548 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) | 0-22548 |
| 343 | return; never executed: return; | 0 |
| 344 | | - |
| 345 | const bool clearCache = flags & CacheFlag; | - |
| 346 | | - |
| 347 | if (from != group| TRUE | never evaluated | | FALSE | evaluated 22548 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 0-22548 |
| 348 | | - |
| 349 | from.incrementIndexes(from->count - from.offset); | - |
| 350 | from.offset = 0; | - |
| 351 | *from = from->next; | - |
| 352 | } never executed: end of block else if (from.offset > 0| TRUE | evaluated 8204 times by 9 testsEvaluated by:- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 14344 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 0-14344 |
| 353 | | - |
| 354 | *from = insert(*from, from->list, from->index, from.offset, from->flags & ~AppendFlag)->next; | - |
| 355 | from->index += from.offset; | - |
| 356 | from->count -= from.offset; | - |
| 357 | from.offset = 0; | - |
| 358 | }executed 8204 times by 9 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 8204 |
| 359 | | - |
| 360 | for (; count > 0| TRUE | evaluated 22584 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 22548 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
; *from = from->next) { | 22548-22584 |
| 361 | if (from != group| TRUE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 22570 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 14-22570 |
| 362 | | - |
| 363 | from.incrementIndexes(from->count); | - |
| 364 | continue;executed 14 times by 2 tests: continue;Executed by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 14 |
| 365 | } | - |
| 366 | | - |
| 367 | const int difference = qMin(count, from->count); | - |
| 368 | count -= difference; | - |
| 369 | | - |
| 370 | | - |
| 371 | | - |
| 372 | const uint removeFlags = from->flags & flags & ~(AppendFlag | PrependFlag); | - |
| 373 | const uint clearedFlags = from->flags & ~(flags | AppendFlag | UnresolvedFlag); | - |
| 374 | if (removeFlags| TRUE | evaluated 22570 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
&& removes| TRUE | evaluated 108 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 22462 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 0-22570 |
| 375 | const int maskedFlags = clearCache| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 102 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 6-102 |
| 376 | ? (removeFlags & ~CacheFlag) | - |
| 377 | : (removeFlags | (from->flags & CacheFlag)); | - |
| 378 | if (maskedFlags| TRUE | evaluated 102 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 6 times by 1 test |
) | 6-102 |
| 379 | removes->append(Remove(from, difference, maskedFlags));executed 102 times by 3 tests: removes->append(Remove(from, difference, maskedFlags));Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 102 |
| 380 | }executed 108 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 108 |
| 381 | m_end.decrementIndexes(difference, removeFlags); | - |
| 382 | from.incrementIndexes(difference, clearedFlags); | - |
| 383 | | - |
| 384 | if (from->previous != &m_ranges| TRUE | evaluated 20863 times by 11 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1707 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
| 1707-20863 |
| 385 | && from->previous->list == from->list| TRUE | evaluated 20745 times by 11 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 118 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 118-20745 |
| 386 | && (!from->list| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 20743 times by 11 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
|| clearedFlags == CacheFlag| TRUE | never evaluated | | FALSE | evaluated 20743 times by 11 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
|| from->previous->end() == from->index| TRUE | evaluated 19379 times by 10 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1364 times by 6 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) | 0-20743 |
| 387 | && from->previous->flags == clearedFlags| TRUE | evaluated 11119 times by 6 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8262 times by 10 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 8262-11119 |
| 388 | | - |
| 389 | | - |
| 390 | from->previous->count += difference; | - |
| 391 | from->index += difference; | - |
| 392 | from->count -= difference; | - |
| 393 | if (from->count == 0| TRUE | evaluated 986 times by 6 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 10133 times by 6 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 986-10133 |
| 394 | | - |
| 395 | if (from->append()| TRUE | evaluated 280 times by 6 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 706 times by 5 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) | 280-706 |
| 396 | from->previous->flags |= AppendFlag;executed 280 times by 6 tests: from->previous->flags |= AppendFlag;Executed by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 280 |
| 397 | *from = erase(*from)->previous; | - |
| 398 | }executed 986 times by 6 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
else { | 986 |
| 399 | from.incrementIndexes(from->count); | - |
| 400 | }executed 10133 times by 6 tests: end of blockExecuted by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 10133 |
| 401 | } else if (difference < from->count| TRUE | evaluated 2628 times by 9 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8823 times by 13 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 2628-8823 |
| 402 | | - |
| 403 | | - |
| 404 | if (clearedFlags| TRUE | evaluated 1908 times by 7 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 720 times by 5 testsEvaluated by:- tst_qqmlinstantiator
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
|
) | 720-1908 |
| 405 | *executed 1908 times by 7 tests: *from = insert(*from, from->list, from->index, difference, clearedFlags)->next;Executed by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
from = insert(*from, from->list, from->index, difference, clearedFlags)->next;executed 1908 times by 7 tests: *from = insert(*from, from->list, from->index, difference, clearedFlags)->next;Executed by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1908 |
| 406 | from->index += difference; | - |
| 407 | from->count -= difference; | - |
| 408 | from.incrementIndexes(from->count); | - |
| 409 | }executed 2628 times by 9 tests: end of blockExecuted by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
else if (clearedFlags| TRUE | evaluated 4581 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 4242 times by 8 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 2628-4581 |
| 410 | | - |
| 411 | from->flags &= ~flags; | - |
| 412 | }executed 4581 times by 11 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
else { | 4581 |
| 413 | | - |
| 414 | *from = erase(*from)->previous; | - |
| 415 | }executed 4242 times by 8 tests: end of blockExecuted by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 4242 |
| 416 | } | - |
| 417 | | - |
| 418 | if (*| TRUE | evaluated 17261 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5287 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
from != &m_ranges| TRUE | evaluated 17261 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5287 times by 11 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& from->previous != &m_ranges| TRUE | evaluated 16589 times by 12 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 672 times by 7 testsEvaluated by:- tst_qqmlinstantiator
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
| 672-17261 |
| 419 | && from->previous->list == from->list| TRUE | evaluated 16575 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 14 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 14-16575 |
| 420 | && (!from->list| TRUE | never evaluated | | FALSE | evaluated 16575 times by 11 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
|| from->previous->end() == from->index| TRUE | evaluated 13504 times by 10 testsEvaluated by:- tst_examples
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 3071 times by 8 testsEvaluated by:- tst_examples
- tst_qqmlinstantiator
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) | 0-16575 |
| 421 | && from->previous->flags == (from->flags & ~AppendFlag)| TRUE | evaluated 5572 times by 9 testsEvaluated by:- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 7932 times by 7 testsEvaluated by:- tst_examples
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 5572-7932 |
| 422 | | - |
| 423 | from.offset = from->previous->count; | - |
| 424 | from->previous->count += from->count; | - |
| 425 | from->previous->flags = from->flags; | - |
| 426 | *from = erase(*from)->previous; | - |
| 427 | }executed 5572 times by 9 tests: end of blockExecuted by:- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 5572 |
| 428 | m_cacheIt = from; | - |
| 429 | | - |
| 430 | }executed 22548 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 22548 |
| 431 | | - |
| 432 | bool QQmlListCompositor::verifyMoveTo( | - |
| 433 | Group fromGroup, int from, Group toGroup, int to, int count, Group group) const | - |
| 434 | { | - |
| 435 | if (group != toGroup| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 118 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 2-118 |
| 436 | | - |
| 437 | iterator fromIt = find(fromGroup, from); | - |
| 438 | | - |
| 439 | int intersectingCount = 0; | - |
| 440 | | - |
| 441 | for (; count > 0| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 2 times by 1 test |
; *fromIt = fromIt->next) { | 2-6 |
| 442 | if (*| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
fromIt == &m_ranges| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
) | 0-6 |
| 443 | return never executed: return false; false;never executed: return false; | 0 |
| 444 | if (!fromIt->inGroup(group)| TRUE | never evaluated | | FALSE | evaluated 6 times by 1 test |
) | 0-6 |
| 445 | continue; never executed: continue; | 0 |
| 446 | if (fromIt->inGroup(toGroup)| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 4 times by 1 test |
) | 2-4 |
| 447 | intersectingCount += qMin(count, fromIt->count - fromIt.offset);executed 2 times by 1 test: intersectingCount += qMin(count, fromIt->count - fromIt.offset); | 2 |
| 448 | count -= fromIt->count - fromIt.offset; | - |
| 449 | fromIt.offset = 0; | - |
| 450 | }executed 6 times by 1 test: end of block | 6 |
| 451 | count = intersectingCount; | - |
| 452 | }executed 2 times by 1 test: end of block | 2 |
| 453 | | - |
| 454 | returnexecuted 120 times by 4 tests: return to >= 0 && to + count <= m_end.index[toGroup];Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
to >= 0 && to + count <= m_end.index[toGroup];executed 120 times by 4 tests: return to >= 0 && to + count <= m_end.index[toGroup];Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 120 |
| 455 | } | - |
| 456 | void QQmlListCompositor::move( | - |
| 457 | Group fromGroup, | - |
| 458 | int from, | - |
| 459 | Group toGroup, | - |
| 460 | int to, | - |
| 461 | int count, | - |
| 462 | Group moveGroup, | - |
| 463 | QVector<Remove> *removes, | - |
| 464 | QVector<Insert> *inserts) | - |
| 465 | { | - |
| 466 | | - |
| 467 | ((count > 0) ? static_cast<void>(0) : qt_assert("count > 0", __FILE__, 777)); | - |
| 468 | ((from >=0) ? static_cast<void>(0) : qt_assert("from >=0", __FILE__, 778)); | - |
| 469 | ((verifyMoveTo(fromGroup, from, toGroup, to, count, moveGroup)) ? static_cast<void>(0) : qt_assert("verifyMoveTo(fromGroup, from, toGroup, to, count, moveGroup)", __FILE__, 779)); | - |
| 470 | | - |
| 471 | | - |
| 472 | iterator fromIt = find(fromGroup, from); | - |
| 473 | | - |
| 474 | if (fromIt != moveGroup| TRUE | never evaluated | | FALSE | evaluated 60 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 0-60 |
| 475 | | - |
| 476 | | - |
| 477 | fromIt.incrementIndexes(fromIt->count - fromIt.offset); | - |
| 478 | fromIt.offset = 0; | - |
| 479 | *fromIt = fromIt->next; | - |
| 480 | } never executed: end of block else if (fromIt.offset > 0| TRUE | evaluated 24 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 36 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
) { | 0-36 |
| 481 | | - |
| 482 | | - |
| 483 | | - |
| 484 | *fromIt = insert( | - |
| 485 | *fromIt, fromIt->list, fromIt->index, fromIt.offset, fromIt->flags & ~AppendFlag)->next; | - |
| 486 | fromIt->index += fromIt.offset; | - |
| 487 | fromIt->count -= fromIt.offset; | - |
| 488 | fromIt.offset = 0; | - |
| 489 | }executed 24 times by 3 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 24 |
| 490 | | - |
| 491 | | - |
| 492 | Range movedFlags; | - |
| 493 | for (int moveId = m_moveId; count > 0| TRUE | evaluated 94 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 60 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
;) { | 60-94 |
| 494 | if (fromIt != moveGroup| TRUE | never evaluated | | FALSE | evaluated 94 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 0-94 |
| 495 | | - |
| 496 | fromIt.incrementIndexes(fromIt->count); | - |
| 497 | *fromIt = fromIt->next; | - |
| 498 | continue; never executed: continue; | 0 |
| 499 | } | - |
| 500 | int difference = qMin(count, fromIt->count); | - |
| 501 | | - |
| 502 | | - |
| 503 | new Range( | - |
| 504 | &movedFlags, | - |
| 505 | fromIt->list, | - |
| 506 | fromIt->index, | - |
| 507 | difference, | - |
| 508 | fromIt->flags & ~(PrependFlag | AppendFlag)); | - |
| 509 | | - |
| 510 | if (removes| TRUE | evaluated 92 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
) | 2-92 |
| 511 | removes->append(Remove(fromIt, difference, fromIt->flags, ++moveId));executed 92 times by 4 tests: removes->append(Remove(fromIt, difference, fromIt->flags, ++moveId));Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 92 |
| 512 | count -= difference; | - |
| 513 | fromIt->count -= difference; | - |
| 514 | | - |
| 515 | | - |
| 516 | | - |
| 517 | int removeIndex = fromIt->index; | - |
| 518 | if (fromIt->prepend()| TRUE | evaluated 62 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 32-62 |
| 519 | && fromIt->previous != &m_ranges| TRUE | evaluated 58 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 4 times by 2 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
|
| 4-58 |
| 520 | && fromIt->previous->flags == PrependFlag| TRUE | evaluated 32 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 26 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
| 26-32 |
| 521 | && fromIt->previous->list == fromIt->list| TRUE | evaluated 32 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
| 0-32 |
| 522 | && fromIt->previous->end() == fromIt->index| TRUE | evaluated 32 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
) { | 0-32 |
| 523 | | - |
| 524 | fromIt->previous->count += difference; | - |
| 525 | }executed 32 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
else if (fromIt->prepend()| TRUE | evaluated 30 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 32 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
) { | 30-32 |
| 526 | *fromIt = insert(*fromIt, fromIt->list, removeIndex, difference, PrependFlag)->next; | - |
| 527 | }executed 30 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 30 |
| 528 | fromIt->index += difference; | - |
| 529 | | - |
| 530 | if (fromIt->count == 0| TRUE | evaluated 76 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 18 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 18-76 |
| 531 | | - |
| 532 | if (fromIt->append()| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 68 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
) | 8-68 |
| 533 | fromIt->previous->flags |= AppendFlag;executed 8 times by 2 tests: fromIt->previous->flags |= AppendFlag;Executed by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 8 |
| 534 | *fromIt = erase(*fromIt); | - |
| 535 | | - |
| 536 | | - |
| 537 | if (*| TRUE | evaluated 74 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
fromIt != m_ranges.next| TRUE | evaluated 74 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
&& fromIt->flags == PrependFlag| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 66 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 2-74 |
| 538 | && fromIt->previous != &m_ranges| TRUE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
| 0-8 |
| 539 | && fromIt->previous->flags == PrependFlag| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
| 2-6 |
| 540 | && fromIt->previous->list == fromIt->list| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
| 0-6 |
| 541 | && fromIt->previous->end() == fromIt->index| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
) { | 0-6 |
| 542 | fromIt.incrementIndexes(fromIt->count); | - |
| 543 | fromIt->previous->count += fromIt->count; | - |
| 544 | *fromIt = erase(*fromIt); | - |
| 545 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 6 |
| 546 | }executed 76 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
else if (count > 0| TRUE | never evaluated | | FALSE | evaluated 18 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 0-76 |
| 547 | *fromIt = fromIt->next; | - |
| 548 | } never executed: end of block | 0 |
| 549 | }executed 94 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 94 |
| 550 | | - |
| 551 | | - |
| 552 | if (*| TRUE | evaluated 58 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
fromIt != m_ranges.next| TRUE | evaluated 58 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
| 2-58 |
| 553 | && *| TRUE | evaluated 52 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
fromIt != &m_ranges| TRUE | evaluated 52 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 6-52 |
| 554 | && fromIt->previous->list == fromIt->list| TRUE | evaluated 48 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 4 times by 1 test |
| 4-48 |
| 555 | && (!fromIt->list| TRUE | never evaluated | | FALSE | evaluated 48 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
|| fromIt->previous->end() == fromIt->index| TRUE | evaluated 46 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
) | 0-48 |
| 556 | && fromIt->previous->flags == (fromIt->flags & ~AppendFlag)| TRUE | evaluated 6 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 40 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 6-40 |
| 557 | if (fromIt == fromIt.group| TRUE | evaluated 4 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
) | 2-4 |
| 558 | fromIt.offset = fromIt->previous->count;executed 4 times by 1 test: fromIt.offset = fromIt->previous->count;Executed by:- tst_qquickvisualdatamodel
| 4 |
| 559 | fromIt.offset = fromIt->previous->count; | - |
| 560 | fromIt->previous->count += fromIt->count; | - |
| 561 | fromIt->previous->flags = fromIt->flags; | - |
| 562 | *fromIt = erase(*fromIt)->previous; | - |
| 563 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 6 |
| 564 | | - |
| 565 | | - |
| 566 | insert_iterator toIt = fromIt; | - |
| 567 | toIt.setGroup(toGroup); | - |
| 568 | | - |
| 569 | const int difference = to - toIt.index[toGroup]; | - |
| 570 | toIt += difference; | - |
| 571 | | - |
| 572 | | - |
| 573 | | - |
| 574 | if (toIt.offset > 0| TRUE | evaluated 22 times by 3 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 38 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 22-38 |
| 575 | *toIt = insert(*toIt, toIt->list, toIt->index, toIt.offset, toIt->flags & ~AppendFlag)->next; | - |
| 576 | toIt->index += toIt.offset; | - |
| 577 | toIt->count -= toIt.offset; | - |
| 578 | toIt.offset = 0; | - |
| 579 | }executed 22 times by 3 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| 22 |
| 580 | | - |
| 581 | | - |
| 582 | | - |
| 583 | for (Range *range = movedFlags.previous; range != &movedFlags| TRUE | evaluated 94 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 60 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
; range = range->previous) { | 60-94 |
| 584 | if (*| TRUE | evaluated 92 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
toIt != &m_ranges| TRUE | evaluated 92 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
| 2-92 |
| 585 | && range->list == toIt->list| TRUE | evaluated 78 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 14 times by 1 test |
| 14-78 |
| 586 | && (!range->list| TRUE | never evaluated | | FALSE | evaluated 78 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
|| range->end() == toIt->index| TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 56 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) | 0-78 |
| 587 | && range->flags == (toIt->flags & ~AppendFlag)| TRUE | evaluated 12 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 10 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
) { | 10-12 |
| 588 | toIt->index -= range->count; | - |
| 589 | toIt->count += range->count; | - |
| 590 | }executed 12 times by 2 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
else { | 12 |
| 591 | *toIt = insert(*toIt, range->list, range->index, range->count, range->flags); | - |
| 592 | }executed 82 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 82 |
| 593 | } | - |
| 594 | | - |
| 595 | | - |
| 596 | if (*| TRUE | evaluated 52 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
toIt != m_ranges.next| TRUE | evaluated 52 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
|
| 8-52 |
| 597 | && toIt->previous->list == toIt->list| TRUE | evaluated 50 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
| 2-50 |
| 598 | && (!toIt->list| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 48 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
|| (toIt->previous->end() == toIt->index| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
| | FALSE | evaluated 44 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
&& toIt->previous->flags == (toIt->flags & ~AppendFlag)| TRUE | evaluated 4 times by 2 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
| | FALSE | never evaluated |
))) { | 0-48 |
| 599 | toIt.offset = toIt->previous->count; | - |
| 600 | toIt->previous->count += toIt->count; | - |
| 601 | toIt->previous->flags = toIt->flags; | - |
| 602 | *toIt = erase(*toIt)->previous; | - |
| 603 | }executed 6 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
| 6 |
| 604 | | - |
| 605 | Insert insert(toIt, 0, 0, 0); | - |
| 606 | for (Range *next, *range = movedFlags.next; range != &movedFlags| TRUE | evaluated 94 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 60 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
; range = next) { | 60-94 |
| 607 | insert.count = range->count; | - |
| 608 | insert.flags = range->flags; | - |
| 609 | if (inserts| TRUE | evaluated 92 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
) { | 2-92 |
| 610 | insert.moveId = ++m_moveId; | - |
| 611 | inserts->append(insert); | - |
| 612 | }executed 92 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 92 |
| 613 | for (int i = 0; i < m_groupCount| TRUE | evaluated 404 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 94 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
; ++i) { | 94-404 |
| 614 | if (insert.inGroup(i)| TRUE | evaluated 216 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 188 times by 4 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) | 188-216 |
| 615 | insert.index[i] += range->count;executed 216 times by 4 tests: insert.index[i] += range->count;Executed by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 216 |
| 616 | }executed 404 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 404 |
| 617 | | - |
| 618 | next = range->next; | - |
| 619 | delete range; | - |
| 620 | }executed 94 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 94 |
| 621 | | - |
| 622 | m_cacheIt = toIt; | - |
| 623 | | - |
| 624 | | - |
| 625 | }executed 60 times by 4 tests: end of blockExecuted by:- tst_examples
- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 60 |
| 626 | | - |
| 627 | | - |
| 628 | | - |
| 629 | | - |
| 630 | | - |
| 631 | void QQmlListCompositor::clear() | - |
| 632 | { | - |
| 633 | | - |
| 634 | for (Range *range = m_ranges.next; range != &m_ranges| TRUE | evaluated 6 times by 1 test | | FALSE | evaluated 2 times by 1 test |
; range = erase(range)) {}executed 6 times by 1 test: end of block | 2-6 |
| 635 | m_end = iterator(m_ranges.next, 0, Default, m_groupCount); | - |
| 636 | m_cacheIt = m_end; | - |
| 637 | }executed 2 times by 1 test: end of block | 2 |
| 638 | | - |
| 639 | void QQmlListCompositor::listItemsInserted( | - |
| 640 | QVector<Insert> *translatedInsertions, | - |
| 641 | void *list, | - |
| 642 | const QVector<QQmlChangeSet::Change> &insertions, | - |
| 643 | const QVector<MovedFlags> *movedFlags) | - |
| 644 | { | - |
| 645 | | - |
| 646 | for (iterator it(m_ranges.next, 0, Default, m_groupCount); *| TRUE | evaluated 17121 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 9232 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
it != &m_ranges| TRUE | evaluated 17121 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 9232 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
; *it = it->next) { | 9232-17121 |
| 647 | if (it->list != list| TRUE | evaluated 104 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickvisualdatamodel
| | FALSE | evaluated 17017 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
|| it->flags == CacheFlag| TRUE | evaluated 1814 times by 7 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 15203 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
) { | 104-17017 |
| 648 | | - |
| 649 | it.incrementIndexes(it->count); | - |
| 650 | continue;executed 1918 times by 7 tests: continue;Executed by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1918 |
| 651 | } else if (it->flags & MovedFlag| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 15201 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
) { | 2-15201 |
| 652 | | - |
| 653 | it->flags &= ~MovedFlag; | - |
| 654 | it.incrementIndexes(it->count); | - |
| 655 | continue;executed 2 times by 1 test: continue; | 2 |
| 656 | } | - |
| 657 | for (const QQmlChangeSet::Change &insertion : insertions) { | - |
| 658 | int offset = insertion.index - it->index; | - |
| 659 | if ((offset > 0| TRUE | evaluated 9841 times by 8 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5504 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
&& offset < it->count| TRUE | evaluated 1435 times by 7 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8406 times by 8 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) | 1435-9841 |
| 660 | || (offset == 0| TRUE | evaluated 3489 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 10421 times by 8 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& it->prepend()| TRUE | evaluated 3487 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
) | 2-10421 |
| 661 | || (offset == it->count| TRUE | evaluated 6371 times by 8 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 4052 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
&& it->append()| TRUE | evaluated 4386 times by 8 testsEvaluated by:- tst_examples
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1985 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
)) { | 1985-6371 |
| 662 | | - |
| 663 | if (it->prepend()| TRUE | evaluated 9306 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
) { | 2-9306 |
| 664 | | - |
| 665 | uint flags = m_defaultFlags; | - |
| 666 | if (insertion.isMove()| TRUE | evaluated 1172 times by 6 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8134 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
) { | 1172-8134 |
| 667 | | - |
| 668 | | - |
| 669 | for (QVector<MovedFlags>::const_iterator move = movedFlags->begin(); | - |
| 670 | move != movedFlags->end()| TRUE | evaluated 1252 times by 6 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
; | 0-1252 |
| 671 | ++move) { | - |
| 672 | if (move->moveId == insertion.moveId| TRUE | evaluated 1172 times by 6 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 80 times by 4 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 80-1172 |
| 673 | flags = move->flags; | - |
| 674 | break;executed 1172 times by 6 tests: break;Executed by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1172 |
| 675 | } | - |
| 676 | }executed 80 times by 4 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 80 |
| 677 | }executed 1172 times by 6 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1172 |
| 678 | if (flags & ~(AppendFlag | PrependFlag)| TRUE | evaluated 9304 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
) { | 2-9304 |
| 679 | | - |
| 680 | Insert translatedInsert(it, insertion.count, flags, insertion.moveId); | - |
| 681 | for (int i = 0; i < m_groupCount| TRUE | evaluated 28150 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 9304 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
; ++i) { | 9304-28150 |
| 682 | if (it->inGroup(i)| TRUE | evaluated 15049 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 13101 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
|
) | 13101-15049 |
| 683 | translatedInsert.index[i] += offset;executed 15049 times by 14 tests: translatedInsert.index[i] += offset;Executed by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 15049 |
| 684 | }executed 28150 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 28150 |
| 685 | translatedInsertions->append(translatedInsert); | - |
| 686 | }executed 9304 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 9304 |
| 687 | if ((| TRUE | evaluated 4217 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5089 times by 8 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
it->flags & ~AppendFlag) == flags| TRUE | evaluated 4217 times by 14 testsEvaluated by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5089 times by 8 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 4217-5089 |
| 688 | | - |
| 689 | | - |
| 690 | it->count += insertion.count; | - |
| 691 | }executed 4217 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
else if (offset == 0| TRUE | evaluated 2283 times by 8 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2806 times by 7 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
| 2283-4217 |
| 692 | && it->previous != &m_ranges| TRUE | evaluated 1916 times by 7 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 367 times by 8 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
| 367-1916 |
| 693 | && it->previous->list == list| TRUE | evaluated 1892 times by 7 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 24 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
|
| 24-1892 |
| 694 | && it->previous->end() == insertion.index| TRUE | evaluated 1796 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 96 times by 7 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
| 96-1796 |
| 695 | && it->previous->flags == flags| TRUE | evaluated 1789 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 7 times by 2 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
|
) { | 7-1789 |
| 696 | | - |
| 697 | | - |
| 698 | it->previous->count += insertion.count; | - |
| 699 | it->index += insertion.count; | - |
| 700 | it.incrementIndexes(insertion.count); | - |
| 701 | }executed 1789 times by 5 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
else { | 1789 |
| 702 | if (offset > 0| TRUE | evaluated 2806 times by 7 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 494 times by 8 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 494-2806 |
| 703 | | - |
| 704 | it.incrementIndexes(offset); | - |
| 705 | *it = insert(*it, it->list, it->index, offset, it->flags & ~AppendFlag)->next; | - |
| 706 | }executed 2806 times by 7 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 2806 |
| 707 | | - |
| 708 | *it = insert(*it, it->list, insertion.index, insertion.count, flags)->next; | - |
| 709 | it.incrementIndexes(insertion.count, flags); | - |
| 710 | it->index += offset + insertion.count; | - |
| 711 | it->count -= offset; | - |
| 712 | }executed 3300 times by 8 tests: end of blockExecuted by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 3300 |
| 713 | m_end.incrementIndexes(insertion.count, flags); | - |
| 714 | }executed 9306 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
else { | 9306 |
| 715 | | - |
| 716 | | - |
| 717 | if (offset > 0| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 718 | *it = insert(*it, it->list, it->index, offset, it->flags)->next; | - |
| 719 | it->index += offset; | - |
| 720 | it->count -= offset; | - |
| 721 | }executed 2 times by 1 test: end of block | 2 |
| 722 | it->index += insertion.count; | - |
| 723 | }executed 2 times by 1 test: end of block | 2 |
| 724 | } else if (offset <= 0| TRUE | evaluated 2017 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 4020 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 2017-4020 |
| 725 | | - |
| 726 | it->index += insertion.count; | - |
| 727 | }executed 2017 times by 5 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 2017 |
| 728 | }executed 15345 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 15345 |
| 729 | it.incrementIndexes(it->count); | - |
| 730 | }executed 15201 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 15201 |
| 731 | m_cacheIt = m_end; | - |
| 732 | | - |
| 733 | }executed 9232 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 9232 |
| 734 | void QQmlListCompositor::listItemsInserted( | - |
| 735 | void *list, int index, int count, QVector<Insert> *translatedInsertions) | - |
| 736 | { | - |
| 737 | | - |
| 738 | ((count > 0) ? static_cast<void>(0) : qt_assert("count > 0", __FILE__, 1063)); | - |
| 739 | | - |
| 740 | QVector<QQmlChangeSet::Change> insertions; | - |
| 741 | insertions.append(QQmlChangeSet::Change(index, count)); | - |
| 742 | | - |
| 743 | listItemsInserted(translatedInsertions, list, insertions); | - |
| 744 | }executed 8138 times by 14 tests: end of blockExecuted by:- tst_examples
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickvisualdatamodel
| 8138 |
| 745 | | - |
| 746 | void QQmlListCompositor::listItemsRemoved( | - |
| 747 | QVector<Remove> *translatedRemovals, | - |
| 748 | void *list, | - |
| 749 | QVector<QQmlChangeSet::Change> *removals, | - |
| 750 | QVector<QQmlChangeSet::Change> *insertions, | - |
| 751 | QVector<MovedFlags> *movedFlags) | - |
| 752 | { | - |
| 753 | | - |
| 754 | | - |
| 755 | for (iterator it(m_ranges.next, 0, Default, m_groupCount); *| TRUE | evaluated 8877 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 3706 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
it != &m_ranges| TRUE | evaluated 8877 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 3706 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
; *it = it->next) { | 3706-8877 |
| 756 | if (it->list != list| TRUE | evaluated 8 times by 1 test | | FALSE | evaluated 8869 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
|| it->flags == CacheFlag| TRUE | evaluated 839 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 8030 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 8-8869 |
| 757 | | - |
| 758 | it.incrementIndexes(it->count); | - |
| 759 | continue;executed 847 times by 5 tests: continue;Executed by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 847 |
| 760 | } | - |
| 761 | bool removed = false; | - |
| 762 | for (QVector<QQmlChangeSet::Change>::iterator removal = removals->begin(); | - |
| 763 | !removed| TRUE | evaluated 15429 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 783 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
&& removal != removals->end()| TRUE | evaluated 8182 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 7247 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
; | 783-15429 |
| 764 | ++removal) { | - |
| 765 | int relativeIndex = removal->index - it->index; | - |
| 766 | int itemsRemoved = removal->count; | - |
| 767 | if (relativeIndex + removal->count > 0| TRUE | evaluated 5825 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2357 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
&& relativeIndex < it->count| TRUE | evaluated 4108 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1717 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 1717-5825 |
| 768 | | - |
| 769 | const int offset = qMax(0, relativeIndex); | - |
| 770 | int removeCount = qMin(it->count, relativeIndex + removal->count) - offset; | - |
| 771 | it->count -= removeCount; | - |
| 772 | int removeFlags = it->flags & m_removeFlags; | - |
| 773 | Remove translatedRemoval(it, removeCount, it->flags); | - |
| 774 | for (int i = 0; i < m_groupCount| TRUE | evaluated 12428 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 4108 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
; ++i) { | 4108-12428 |
| 775 | if (it->inGroup(i)| TRUE | evaluated 7077 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5351 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) | 5351-7077 |
| 776 | translatedRemoval.index[i] += offset;executed 7077 times by 12 tests: translatedRemoval.index[i] += offset;Executed by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 7077 |
| 777 | }executed 12428 times by 12 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 12428 |
| 778 | if (removal->isMove()| TRUE | evaluated 1174 times by 6 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2934 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 1174-2934 |
| 779 | | - |
| 780 | QVector<QQmlChangeSet::Change>::iterator insertion = insertions->begin(); | - |
| 781 | for (; insertion != insertions->end()| TRUE | evaluated 1254 times by 6 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
&& insertion->moveId != removal->moveId| TRUE | evaluated 80 times by 4 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1174 times by 6 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
; | 0-1254 |
| 782 | ++insertion) {}executed 80 times by 4 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 80 |
| 783 | ((insertion != insertions->end()) ? static_cast<void>(0) : qt_assert("insertion != insertions->end()", __FILE__, 1108)); | - |
| 784 | ((insertion->count == removal->count) ? static_cast<void>(0) : qt_assert("insertion->count == removal->count", __FILE__, 1109)); | - |
| 785 | | - |
| 786 | if (relativeIndex < 0| TRUE | never evaluated | | FALSE | evaluated 1174 times by 6 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 0-1174 |
| 787 | | - |
| 788 | | - |
| 789 | int splitMoveId = ++m_moveId; | - |
| 790 | removal = removals->insert(removal, QQmlChangeSet::Change( | - |
| 791 | removal->index, -relativeIndex, splitMoveId)); | - |
| 792 | ++removal; | - |
| 793 | removal->count -= -relativeIndex; | - |
| 794 | insertion = insertions->insert(insertion, QQmlChangeSet::Change( | - |
| 795 | insertion->index, -relativeIndex, splitMoveId)); | - |
| 796 | ++insertion; | - |
| 797 | insertion->index += -relativeIndex; | - |
| 798 | insertion->count -= -relativeIndex; | - |
| 799 | } never executed: end of block | 0 |
| 800 | | - |
| 801 | if (it->prepend()| TRUE | evaluated 1172 times by 6 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
) { | 2-1172 |
| 802 | | - |
| 803 | | - |
| 804 | removeFlags |= it->flags & CacheFlag; | - |
| 805 | translatedRemoval.moveId = ++m_moveId; | - |
| 806 | movedFlags->append(MovedFlags(m_moveId, it->flags & ~AppendFlag)); | - |
| 807 | | - |
| 808 | if (removeCount < removal->count| TRUE | evaluated 78 times by 4 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1094 times by 6 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 78-1094 |
| 809 | | - |
| 810 | | - |
| 811 | removal = removals->insert(removal, QQmlChangeSet::Change( | - |
| 812 | removal->index, removeCount, translatedRemoval.moveId)); | - |
| 813 | ++removal; | - |
| 814 | insertion = insertions->insert(insertion, QQmlChangeSet::Change( | - |
| 815 | insertion->index, removeCount, translatedRemoval.moveId)); | - |
| 816 | ++insertion; | - |
| 817 | | - |
| 818 | removal->count -= removeCount; | - |
| 819 | insertion->index += removeCount; | - |
| 820 | insertion->count -= removeCount; | - |
| 821 | }executed 78 times by 4 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
else { | 78 |
| 822 | | - |
| 823 | | - |
| 824 | removal->moveId = translatedRemoval.moveId; | - |
| 825 | insertion->moveId = translatedRemoval.moveId; | - |
| 826 | }executed 1094 times by 6 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1094 |
| 827 | } else { | - |
| 828 | | - |
| 829 | | - |
| 830 | | - |
| 831 | if (offset > 0| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
) { | 0-2 |
| 832 | *it = insert(*it, it->list, it->index, offset, it->flags & ~AppendFlag)->next; | - |
| 833 | it->index += offset; | - |
| 834 | it->count -= offset; | - |
| 835 | it.incrementIndexes(offset); | - |
| 836 | }executed 2 times by 1 test: end of block | 2 |
| 837 | if (it->previous != &m_ranges| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 838 | && it->previous->list == it->list| TRUE | evaluated 2 times by 1 test | | FALSE | never evaluated |
| 0-2 |
| 839 | && it->end() == insertion->index| TRUE | never evaluated | | FALSE | evaluated 2 times by 1 test |
| 0-2 |
| 840 | && it->previous->flags == (it->flags | MovedFlag)| TRUE | never evaluated | | FALSE | never evaluated |
) { | 0 |
| 841 | it->previous->count += removeCount; | - |
| 842 | } never executed: end of block else { | 0 |
| 843 | *it = insert(*it, it->list, insertion->index, removeCount, it->flags | MovedFlag)->next; | - |
| 844 | }executed 2 times by 1 test: end of block | 2 |
| 845 | | - |
| 846 | translatedRemoval.flags = 0; | - |
| 847 | removeFlags = 0; | - |
| 848 | }executed 2 times by 1 test: end of block | 2 |
| 849 | } else if (it->inCache()| TRUE | evaluated 2101 times by 8 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 833 times by 10 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 833-2101 |
| 850 | | - |
| 851 | | - |
| 852 | | - |
| 853 | if (offset > 0| TRUE | evaluated 1052 times by 7 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1049 times by 8 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 1049-1052 |
| 854 | *it = insert(*it, it->list, it->index, offset, it->flags & ~AppendFlag)->next; | - |
| 855 | it->index += offset; | - |
| 856 | it->count -= offset; | - |
| 857 | it.incrementIndexes(offset); | - |
| 858 | }executed 1052 times by 7 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1052 |
| 859 | if (it->previous != &m_ranges| TRUE | evaluated 1435 times by 7 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 666 times by 7 testsEvaluated by:- tst_qqmlinstantiator
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
| 666-1435 |
| 860 | && it->previous->list == it->list| TRUE | evaluated 1435 times by 7 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
| 0-1435 |
| 861 | && it->previous->flags == CacheFlag| TRUE | evaluated 244 times by 4 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
| | FALSE | evaluated 1191 times by 7 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 244-1191 |
| 862 | it->previous->count += removeCount; | - |
| 863 | }executed 244 times by 4 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
else { | 244 |
| 864 | *it = insert(*it, it->list, -1, removeCount, CacheFlag)->next; | - |
| 865 | }executed 1857 times by 8 tests: end of blockExecuted by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1857 |
| 866 | it.index[Cache] += removeCount; | - |
| 867 | }executed 2101 times by 8 tests: end of blockExecuted by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 2101 |
| 868 | if (removeFlags & GroupMask| TRUE | evaluated 4102 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 6 times by 1 test |
) | 6-4102 |
| 869 | translatedRemovals->append(translatedRemoval);executed 4102 times by 12 tests: translatedRemovals->append(translatedRemoval);Executed by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 4102 |
| 870 | m_end.decrementIndexes(removeCount, removeFlags); | - |
| 871 | if (it->count == 0| TRUE | evaluated 1441 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2667 times by 8 testsEvaluated by:- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& !it->append()| TRUE | evaluated 783 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 658 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 658-2667 |
| 872 | | - |
| 873 | *it = erase(*it)->previous; | - |
| 874 | removed = true; | - |
| 875 | }executed 783 times by 5 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
else if (relativeIndex <= 0| TRUE | evaluated 1594 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1731 times by 7 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
) { | 783-1731 |
| 876 | | - |
| 877 | | - |
| 878 | it->index = removal->index; | - |
| 879 | }executed 1594 times by 12 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1594 |
| 880 | }executed 4108 times by 12 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
else if (relativeIndex < 0| TRUE | evaluated 2357 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1717 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 1717-4108 |
| 881 | | - |
| 882 | | - |
| 883 | it->index -= itemsRemoved; | - |
| 884 | | - |
| 885 | if (it->previous != &m_ranges| TRUE | evaluated 2251 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 106 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
|
| 106-2251 |
| 886 | && it->previous->list == it->list| TRUE | evaluated 2249 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 2 times by 1 test |
| 2-2249 |
| 887 | && it->previous->end() == it->index| TRUE | evaluated 1536 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 713 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
| 713-1536 |
| 888 | && it->previous->flags == (it->flags & ~AppendFlag)| TRUE | evaluated 40 times by 4 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 1496 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 40-1496 |
| 889 | | - |
| 890 | it.decrementIndexes(it->previous->count); | - |
| 891 | it->previous->count += it->count; | - |
| 892 | it->previous->flags = it->flags; | - |
| 893 | *it = erase(*it)->previous; | - |
| 894 | }executed 40 times by 4 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 40 |
| 895 | }executed 2357 times by 5 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| 2357 |
| 896 | }executed 8182 times by 12 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 8182 |
| 897 | if (it->flags == CacheFlag| TRUE | evaluated 625 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 7405 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
|
&& it->next->flags == CacheFlag| TRUE | evaluated 299 times by 4 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 326 times by 4 testsEvaluated by:- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
&& it->next->list == it->list| TRUE | evaluated 299 times by 4 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | never evaluated |
) { | 0-7405 |
| 898 | | - |
| 899 | it.index[Cache] += it->next->count; | - |
| 900 | it->count += it->next->count; | - |
| 901 | erase(it->next); | - |
| 902 | }executed 299 times by 4 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickvisualdatamodel
else if (!removed| TRUE | evaluated 7247 times by 12 testsEvaluated by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| | FALSE | evaluated 484 times by 5 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickvisualdatamodel
|
) { | 299-7247 |
| 903 | it.incrementIndexes(it->count); | - |
| 904 | }executed 7247 times by 12 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 7247 |
| 905 | }executed 8030 times by 12 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 8030 |
| 906 | m_cacheIt = m_end; | - |
| 907 | | - |
| 908 | }executed 3706 times by 12 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 3706 |
| 909 | void QQmlListCompositor::listItemsRemoved( | - |
| 910 | void *list, int index, int count, QVector<Remove> *translatedRemovals) | - |
| 911 | { | - |
| 912 | | - |
| 913 | ((count >= 0) ? static_cast<void>(0) : qt_assert("count >= 0", __FILE__, 1252)); | - |
| 914 | | - |
| 915 | QVector<QQmlChangeSet::Change> removals; | - |
| 916 | removals.append(QQmlChangeSet::Change(index, count)); | - |
| 917 | listItemsRemoved(translatedRemovals, list, &removals, nullptr, nullptr); | - |
| 918 | }executed 2612 times by 12 tests: end of blockExecuted by:- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistcompositor
- tst_qqmlqt
- tst_qquickgridview
- tst_qquickitem2
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 2612 |
| 919 | void QQmlListCompositor::listItemsMoved( | - |
| 920 | void *list, | - |
| 921 | int from, | - |
| 922 | int to, | - |
| 923 | int count, | - |
| 924 | QVector<Remove> *translatedRemovals, | - |
| 925 | QVector<Insert> *translatedInsertions) | - |
| 926 | { | - |
| 927 | | - |
| 928 | ((count >= 0) ? static_cast<void>(0) : qt_assert("count >= 0", __FILE__, 1279)); | - |
| 929 | | - |
| 930 | QVector<QQmlChangeSet::Change> removals; | - |
| 931 | QVector<QQmlChangeSet::Change> insertions; | - |
| 932 | QVector<MovedFlags> movedFlags; | - |
| 933 | removals.append(QQmlChangeSet::Change(from, count, 0)); | - |
| 934 | insertions.append(QQmlChangeSet::Change(to, count, 0)); | - |
| 935 | | - |
| 936 | listItemsRemoved(translatedRemovals, list, &removals, &insertions, &movedFlags); | - |
| 937 | listItemsInserted(translatedInsertions, list, insertions, &movedFlags); | - |
| 938 | }executed 1094 times by 6 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquickgridview
- tst_qquicklistview
- tst_qquickpathview
- tst_qquickrepeater
- tst_qquickvisualdatamodel
| 1094 |
| 939 | | - |
| 940 | void QQmlListCompositor::listItemsChanged( | - |
| 941 | QVector<Change> *translatedChanges, | - |
| 942 | void *list, | - |
| 943 | const QVector<QQmlChangeSet::Change> &changes) | - |
| 944 | { | - |
| 945 | | - |
| 946 | for (iterator it(m_ranges.next, 0, Default, m_groupCount); *| TRUE | evaluated 548 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 430 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
it != &m_ranges| TRUE | evaluated 548 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 430 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
; *it = it->next) { | 430-548 |
| 947 | if (it->list != list| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 546 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
|| it->flags == CacheFlag| TRUE | evaluated 28 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
| | FALSE | evaluated 518 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 2-546 |
| 948 | it.incrementIndexes(it->count); | - |
| 949 | continue;executed 30 times by 2 tests: continue;Executed by:- tst_qqmllistcompositor
- tst_qquicklistview
| 30 |
| 950 | } else if (!it->inGroup()| TRUE | evaluated 2 times by 1 test | | FALSE | evaluated 516 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) { | 2-516 |
| 951 | continue;executed 2 times by 1 test: continue; | 2 |
| 952 | } | - |
| 953 | for (const QQmlChangeSet::Change &change : changes) { | - |
| 954 | const int offset = change.index - it->index; | - |
| 955 | if (offset + change.count > 0| TRUE | evaluated 452 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 64 times by 1 test |
&& offset < it->count| TRUE | evaluated 432 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 20 times by 2 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
|
) { | 20-452 |
| 956 | const int changeOffset = qMax(0, offset); | - |
| 957 | const int changeCount = qMin(it->count, offset + change.count) - changeOffset; | - |
| 958 | | - |
| 959 | Change translatedChange(it, changeCount, it->flags); | - |
| 960 | for (int i = 0; i < m_groupCount| TRUE | evaluated 1302 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 432 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
; ++i) { | 432-1302 |
| 961 | if (it->inGroup(i)| TRUE | evaluated 846 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| | FALSE | evaluated 456 times by 3 testsEvaluated by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
|
) | 456-846 |
| 962 | translatedChange.index[i] += changeOffset;executed 846 times by 3 tests: translatedChange.index[i] += changeOffset;Executed by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 846 |
| 963 | }executed 1302 times by 3 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 1302 |
| 964 | translatedChanges->append(translatedChange); | - |
| 965 | }executed 432 times by 3 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 432 |
| 966 | }executed 516 times by 3 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 516 |
| 967 | it.incrementIndexes(it->count); | - |
| 968 | }executed 516 times by 3 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 516 |
| 969 | }executed 430 times by 3 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 430 |
| 970 | void QQmlListCompositor::listItemsChanged( | - |
| 971 | void *list, int index, int count, QVector<Change> *translatedChanges) | - |
| 972 | { | - |
| 973 | | - |
| 974 | ((count >= 0) ? static_cast<void>(0) : qt_assert("count >= 0", __FILE__, 1334)); | - |
| 975 | QVector<QQmlChangeSet::Change> changes; | - |
| 976 | changes.append(QQmlChangeSet::Change(index, count)); | - |
| 977 | listItemsChanged(translatedChanges, list, changes); | - |
| 978 | }executed 430 times by 3 tests: end of blockExecuted by:- tst_qqmllistcompositor
- tst_qquicklistview
- tst_qquickvisualdatamodel
| 430 |
| 979 | | - |
| 980 | void QQmlListCompositor::transition( | - |
| 981 | Group from, | - |
| 982 | Group to, | - |
| 983 | QVector<QQmlChangeSet::Change> *removes, | - |
| 984 | QVector<QQmlChangeSet::Change> *inserts) | - |
| 985 | { | - |
| 986 | int removeCount = 0; | - |
| 987 | for (iterator it(m_ranges.next, 0, Default, m_groupCount); *| TRUE | evaluated 74 times by 2 testsEvaluated by:- tst_examples
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5636 times by 27 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- ...
|
it != &m_ranges| TRUE | evaluated 74 times by 2 testsEvaluated by:- tst_examples
- tst_qquickvisualdatamodel
| | FALSE | evaluated 5636 times by 27 testsEvaluated by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- ...
|
; *it = it->next) { | 74-5636 |
| 988 | if (it == from| TRUE | evaluated 46 times by 2 testsEvaluated by:- tst_examples
- tst_qquickvisualdatamodel
| | FALSE | evaluated 28 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
|
&& it != to| TRUE | evaluated 22 times by 2 testsEvaluated by:- tst_examples
- tst_qquickvisualdatamodel
| | FALSE | evaluated 24 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
|
) { | 22-46 |
| 989 | removes->append(QQmlChangeSet::Change(it.index[from]- removeCount, it->count)); | - |
| 990 | removeCount += it->count; | - |
| 991 | }executed 22 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickvisualdatamodel
else if (it != from| TRUE | evaluated 28 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
| | FALSE | evaluated 24 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
|
&& it == to| TRUE | evaluated 20 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
| | FALSE | evaluated 8 times by 1 testEvaluated by:- tst_qquickvisualdatamodel
|
) { | 8-28 |
| 992 | inserts->append(QQmlChangeSet::Change(it.index[to], it->count)); | - |
| 993 | }executed 20 times by 1 test: end of blockExecuted by:- tst_qquickvisualdatamodel
| 20 |
| 994 | it.incrementIndexes(it->count); | - |
| 995 | }executed 74 times by 2 tests: end of blockExecuted by:- tst_examples
- tst_qquickvisualdatamodel
| 74 |
| 996 | }executed 5636 times by 27 tests: end of blockExecuted by:- tst_examples
- tst_multipointtoucharea_interop
- tst_qqmlecmascript
- tst_qqmlinstantiator
- tst_qqmllistmodel
- tst_qqmlqt
- tst_qqmltypeloader
- tst_qqmlvaluetypes
- tst_qquickanimations
- tst_qquickdraghandler
- tst_qquickflickable
- tst_qquickgridview
- tst_qquickimage
- tst_qquickitem2
- tst_qquickitemparticle
- tst_qquicklayouts
- tst_qquicklistview
- tst_qquickmousearea
- tst_qquickpathview
- tst_qquickpositioners
- tst_qquickrepeater
- tst_qquickshortcut
- tst_qquickspringanimation
- tst_qquicktableview
- tst_qquickvisualdatamodel
- ...
| 5636 |
| 997 | | - |
| 998 | | - |
| 999 | | - |
| 1000 | | - |
| 1001 | | - |
| 1002 | | - |
| 1003 | QDebug operator <<(QDebug debug, const QQmlListCompositor::Group &group) | - |
| 1004 | { | - |
| 1005 | switch (group) { | - |
| 1006 | caseexecuted 2 times by 1 test: case QQmlListCompositor::Cache: QQmlListCompositor::Cache:executed 2 times by 1 test: case QQmlListCompositor::Cache: returnexecuted 2 times by 1 test: return debug << "Cache"; debug << "Cache";executed 2 times by 1 test: return debug << "Cache"; | 2 |
| 1007 | caseexecuted 2 times by 1 test: case QQmlListCompositor::Default: QQmlListCompositor::Default:executed 2 times by 1 test: case QQmlListCompositor::Default: returnexecuted 2 times by 1 test: return debug << "Default"; debug << "Default";executed 2 times by 1 test: return debug << "Default"; | 2 |
| 1008 | defaultexecuted 2 times by 1 test: default: :executed 2 times by 1 test: default: returnexecuted 2 times by 1 test: return (debug.nospace() << "Group" << int(group)).space(); (debug.nospace() << "Group" << int(group)).space();executed 2 times by 1 test: return (debug.nospace() << "Group" << int(group)).space(); | 2 |
| 1009 | } | - |
| 1010 | | - |
| 1011 | } | - |
| 1012 | | - |
| 1013 | | - |
| 1014 | | - |
| 1015 | | - |
| 1016 | | - |
| 1017 | | - |
| 1018 | QDebug operator <<(QDebug debug, const QQmlListCompositor::Range &range) | - |
| 1019 | { | - |
| 1020 | (debug.nospace() | - |
| 1021 | << "Range(" | - |
| 1022 | << range.list) << ' ' | - |
| 1023 | << range.index << ' ' | - |
| 1024 | << range.count << ' ' | - |
| 1025 | << (range.isUnresolved() ? 'U' : '0') | - |
| 1026 | << (range.append() ? 'A' : '0') | - |
| 1027 | << (range.prepend() ? 'P' : '0'); | - |
| 1028 | for (int i = QQmlListCompositor::MaximumGroupCount - 1; i >= 2| TRUE | evaluated 216 times by 1 test | | FALSE | evaluated 24 times by 1 test |
; --i) | 24-216 |
| 1029 | debug << (range.inGroup(i) ? '1' : '0');executed 216 times by 1 test: debug << (range.inGroup(i) ? '1' : '0'); | 216 |
| 1030 | returnexecuted 24 times by 1 test: return (debug << (range.inGroup(QQmlListCompositor::Default) ? 'D' : '0') << (range.inGroup(QQmlListCompositor::Cache) ? 'C' : '0')); (debugexecuted 24 times by 1 test: return (debug << (range.inGroup(QQmlListCompositor::Default) ? 'D' : '0') << (range.inGroup(QQmlListCompositor::Cache) ? 'C' : '0')); | 24 |
| 1031 | << (range.inGroup(QQmlListCompositor::Default) ? 'D' : '0')executed 24 times by 1 test: return (debug << (range.inGroup(QQmlListCompositor::Default) ? 'D' : '0') << (range.inGroup(QQmlListCompositor::Cache) ? 'C' : '0')); | 24 |
| 1032 | << (range.inGroup(QQmlListCompositor::Cache) ? 'C' : '0'));executed 24 times by 1 test: return (debug << (range.inGroup(QQmlListCompositor::Default) ? 'D' : '0') << (range.inGroup(QQmlListCompositor::Cache) ? 'C' : '0')); | 24 |
| 1033 | } | - |
| 1034 | | - |
| 1035 | static void qt_print_indexes(QDebug &debug, int count, const int *indexes) | - |
| 1036 | { | - |
| 1037 | for (int i = count - 1; i >= 0| TRUE | evaluated 112 times by 1 test | | FALSE | evaluated 28 times by 1 test |
; --i) | 28-112 |
| 1038 | debug << indexes[i];executed 112 times by 1 test: debug << indexes[i]; | 112 |
| 1039 | }executed 28 times by 1 test: end of block | 28 |
| 1040 | | - |
| 1041 | | - |
| 1042 | | - |
| 1043 | | - |
| 1044 | | - |
| 1045 | | - |
| 1046 | QDebug operator <<(QDebug debug, const QQmlListCompositor::iterator &it) | - |
| 1047 | { | - |
| 1048 | (debug.nospace() << "iterator(" << it.group).space() << "offset:" << it.offset; | - |
| 1049 | qt_print_indexes(debug, it.groupCount, it.index); | - |
| 1050 | return never executed: return ((debug << **it).nospace() << ')').space(); ((debug << **it).nospace() << ')').space();never executed: return ((debug << **it).nospace() << ')').space(); | 0 |
| 1051 | } | - |
| 1052 | | - |
| 1053 | static QDebug qt_print_change(QDebug debug, const char *name, const QQmlListCompositor::Change &change) | - |
| 1054 | { | - |
| 1055 | debug.nospace() << name << '(' << change.moveId << ' ' << change.count << ' '; | - |
| 1056 | for (int i = QQmlListCompositor::MaximumGroupCount - 1; i >= 2| TRUE | evaluated 54 times by 1 test | | FALSE | evaluated 6 times by 1 test |
; --i) | 6-54 |
| 1057 | debug << (change.inGroup(i) ? '1' : '0');executed 54 times by 1 test: debug << (change.inGroup(i) ? '1' : '0'); | 54 |
| 1058 | debug << (change.inGroup(QQmlListCompositor::Default) ? 'D' : '0') | - |
| 1059 | << (change.inGroup(QQmlListCompositor::Cache) ? 'C' : '0'); | - |
| 1060 | int i = QQmlListCompositor::MaximumGroupCount - 1; | - |
| 1061 | for (; i >= 0| TRUE | evaluated 56 times by 1 test | | FALSE | never evaluated |
&& !change.inGroup(i)| TRUE | evaluated 50 times by 1 test | | FALSE | evaluated 6 times by 1 test |
; --i) {}executed 50 times by 1 test: end of block | 0-56 |
| 1062 | for (; i >= 0| TRUE | evaluated 16 times by 1 test | | FALSE | evaluated 6 times by 1 test |
; --i) | 6-16 |
| 1063 | debug << ' ' << change.index[i];executed 16 times by 1 test: debug << ' ' << change.index[i]; | 16 |
| 1064 | returnexecuted 6 times by 1 test: return (debug << ')').maybeSpace(); (debug << ')').maybeSpace();executed 6 times by 1 test: return (debug << ')').maybeSpace(); | 6 |
| 1065 | } | - |
| 1066 | | - |
| 1067 | | - |
| 1068 | | - |
| 1069 | | - |
| 1070 | | - |
| 1071 | | - |
| 1072 | QDebug operator <<(QDebug debug, const QQmlListCompositor::Change &change) | - |
| 1073 | { | - |
| 1074 | returnexecuted 2 times by 1 test: return qt_print_change(debug, "Change", change); qt_print_change(debug, "Change", change);executed 2 times by 1 test: return qt_print_change(debug, "Change", change); | 2 |
| 1075 | } | - |
| 1076 | | - |
| 1077 | | - |
| 1078 | | - |
| 1079 | | - |
| 1080 | | - |
| 1081 | | - |
| 1082 | QDebug operator <<(QDebug debug, const QQmlListCompositor::Remove &remove) | - |
| 1083 | { | - |
| 1084 | returnexecuted 2 times by 1 test: return qt_print_change(debug, "Remove", remove); qt_print_change(debug, "Remove", remove);executed 2 times by 1 test: return qt_print_change(debug, "Remove", remove); | 2 |
| 1085 | } | - |
| 1086 | | - |
| 1087 | | - |
| 1088 | | - |
| 1089 | | - |
| 1090 | | - |
| 1091 | | - |
| 1092 | QDebug operator <<(QDebug debug, const QQmlListCompositor::Insert &insert) | - |
| 1093 | { | - |
| 1094 | returnexecuted 2 times by 1 test: return qt_print_change(debug, "Insert", insert); qt_print_change(debug, "Insert", insert);executed 2 times by 1 test: return qt_print_change(debug, "Insert", insert); | 2 |
| 1095 | } | - |
| 1096 | | - |
| 1097 | | - |
| 1098 | | - |
| 1099 | | - |
| 1100 | | - |
| 1101 | | - |
| 1102 | QDebug operator <<(QDebug debug, const QQmlListCompositor &list) | - |
| 1103 | { | - |
| 1104 | int indexes[QQmlListCompositor::MaximumGroupCount]; | - |
| 1105 | for (int i = 0; i < QQmlListCompositor::MaximumGroupCount| TRUE | evaluated 44 times by 1 test | | FALSE | evaluated 4 times by 1 test |
; ++i) | 4-44 |
| 1106 | indexes[i] = 0;executed 44 times by 1 test: indexes[i] = 0; | 44 |
| 1107 | debug.nospace() << "QQmlListCompositor("; | - |
| 1108 | qt_print_indexes(debug, list.m_groupCount, list.m_end.index); | - |
| 1109 | for (QQmlListCompositor::Range *range = list.m_ranges.next; range != &list.m_ranges| TRUE | evaluated 24 times by 1 test | | FALSE | evaluated 4 times by 1 test |
; range = range->next) { | 4-24 |
| 1110 | (debug << '\n').space(); | - |
| 1111 | qt_print_indexes(debug, list.m_groupCount, indexes); | - |
| 1112 | debug << ' ' << *range; | - |
| 1113 | | - |
| 1114 | for (int i = 0; i < list.m_groupCount| TRUE | evaluated 96 times by 1 test | | FALSE | evaluated 24 times by 1 test |
; ++i) { | 24-96 |
| 1115 | if (range->inGroup(i)| TRUE | evaluated 22 times by 1 test | | FALSE | evaluated 74 times by 1 test |
) | 22-74 |
| 1116 | indexes[i] += range->count;executed 22 times by 1 test: indexes[i] += range->count; | 22 |
| 1117 | }executed 96 times by 1 test: end of block | 96 |
| 1118 | }executed 24 times by 1 test: end of block | 24 |
| 1119 | returnexecuted 4 times by 1 test: return (debug << ')').maybeSpace(); (debug << ')').maybeSpace();executed 4 times by 1 test: return (debug << ')').maybeSpace(); | 4 |
| 1120 | } | - |
| 1121 | | - |
| 1122 | | - |
| | |