qrect.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qrect.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4QRect QRect::normalized() const noexcept-
5{-
6 QRect r;-
7 if (x2 < x1 - 1
x2 < x1 - 1Description
TRUEevaluated 1040 times by 10 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QPainter
  • tst_QRect
  • tst_QTableView
  • tst_QTreeView
  • tst_languageChange
FALSEevaluated 52857 times by 83 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • ...
) {
1040-52857
8 r.x1 = x2;-
9 r.x2 = x1;-
10 }
executed 1040 times by 10 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QPainter
  • tst_QRect
  • tst_QTableView
  • tst_QTreeView
  • tst_languageChange
else {
1040
11 r.x1 = x1;-
12 r.x2 = x2;-
13 }
executed 52857 times by 83 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • ...
52857
14 if (y2 < y1 - 1
y2 < y1 - 1Description
TRUEevaluated 479 times by 8 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QPainter
  • tst_QRect
  • tst_QTableView
FALSEevaluated 53418 times by 83 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • ...
) {
479-53418
15 r.y1 = y2;-
16 r.y2 = y1;-
17 }
executed 479 times by 8 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QPainter
  • tst_QRect
  • tst_QTableView
else {
479
18 r.y1 = y1;-
19 r.y2 = y2;-
20 }
executed 53418 times by 83 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • ...
53418
21 return
executed 53897 times by 83 tests: return r;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • ...
r;
executed 53897 times by 83 tests: return r;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • ...
53897
22}-
23bool QRect::contains(const QPoint &p, bool proper) const noexcept-
24{-
25 int l, r;-
26 if (x2 < x1 - 1
x2 < x1 - 1Description
TRUEevaluated 24 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 4967617 times by 132 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
) {
24-4967617
27 l = x2;-
28 r = x1;-
29 }
executed 24 times by 1 test: end of block
Executed by:
  • tst_QRect
else {
24
30 l = x1;-
31 r = x2;-
32 }
executed 4967617 times by 132 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
4967617
33 if (proper
properDescription
TRUEevaluated 27 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 4967614 times by 132 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
) {
27-4967614
34 if (p.x() <= l
p.x() <= lDescription
TRUEevaluated 7 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 20 times by 1 test
Evaluated by:
  • tst_QRect
|| p.x() >= r
p.x() >= rDescription
TRUEevaluated 11 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 9 times by 1 test
Evaluated by:
  • tst_QRect
)
7-20
35 return
executed 18 times by 1 test: return false;
Executed by:
  • tst_QRect
false;
executed 18 times by 1 test: return false;
Executed by:
  • tst_QRect
18
36 }
executed 9 times by 1 test: end of block
Executed by:
  • tst_QRect
else {
9
37 if (p.x() < l
p.x() < lDescription
TRUEevaluated 182345 times by 50 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QItemView
  • tst_QLabel
  • tst_QLineEdit
  • tst_QListView
  • ...
FALSEevaluated 4785269 times by 132 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
|| p.x() > r
p.x() > rDescription
TRUEevaluated 1314943 times by 45 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QDesktopWidget
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QGroupBox
  • tst_QGuiApplication
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLabel
  • tst_QListView
  • ...
FALSEevaluated 3470326 times by 132 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
)
182345-4785269
38 return
executed 1497288 times by 63 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QGroupBox
  • tst_QGuiApplication
  • tst_QHeaderView
  • ...
false;
executed 1497288 times by 63 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QGroupBox
  • tst_QGuiApplication
  • tst_QHeaderView
  • ...
1497288
39 }
executed 3470326 times by 132 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
3470326
40 int t, b;-
41 if (y2 < y1 - 1
y2 < y1 - 1Description
TRUEevaluated 14 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 3470321 times by 132 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
) {
14-3470321
42 t = y2;-
43 b = y1;-
44 }
executed 14 times by 1 test: end of block
Executed by:
  • tst_QRect
else {
14
45 t = y1;-
46 b = y2;-
47 }
executed 3470321 times by 132 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
3470321
48 if (proper
properDescription
TRUEevaluated 9 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 3470326 times by 132 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
) {
9-3470326
49 if (p.y() <= t
p.y() <= tDescription
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_QRect
|| p.y() >= b
p.y() >= bDescription
TRUEnever evaluated
FALSEevaluated 6 times by 1 test
Evaluated by:
  • tst_QRect
)
0-6
50 return
executed 3 times by 1 test: return false;
Executed by:
  • tst_QRect
false;
executed 3 times by 1 test: return false;
Executed by:
  • tst_QRect
3
51 }
executed 6 times by 1 test: end of block
Executed by:
  • tst_QRect
else {
6
52 if (p.y() < t
p.y() < tDescription
TRUEevaluated 256174 times by 44 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • ...
FALSEevaluated 3214152 times by 132 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
|| p.y() > b
p.y() > bDescription
TRUEevaluated 2915985 times by 37 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDateTimeEdit
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsView
  • tst_QGridLayout
  • tst_QGroupBox
  • tst_QHeaderView
  • tst_QItemView
  • tst_QLayout
  • tst_QListView
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMessageBox
  • tst_QPushButton
  • ...
FALSEevaluated 298167 times by 132 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
)
256174-3214152
53 return
executed 3172159 times by 51 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QGroupBox
  • tst_QHeaderView
  • tst_QItemView
  • tst_QLayout
  • tst_QLineEdit
  • ...
false;
executed 3172159 times by 51 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QGroupBox
  • tst_QHeaderView
  • tst_QItemView
  • tst_QLayout
  • tst_QLineEdit
  • ...
3172159
54 }
executed 298167 times by 132 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
298167
55 return
executed 298173 times by 132 tests: return true;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
true;
executed 298173 times by 132 tests: return true;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • ...
298173
56}-
57bool QRect::contains(const QRect &r, bool proper) const noexcept-
58{-
59 if (isNull()
isNull()Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 9153 times by 33 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • ...
|| r.isNull()
r.isNull()Description
TRUEevaluated 5 times by 3 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QListView
  • tst_QRect
FALSEevaluated 9148 times by 33 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • ...
)
2-9153
60 return
executed 7 times by 3 tests: return false;
Executed by:
  • tst_QAccessibility
  • tst_QListView
  • tst_QRect
false;
executed 7 times by 3 tests: return false;
Executed by:
  • tst_QAccessibility
  • tst_QListView
  • tst_QRect
7
61-
62 int l1 = x1;-
63 int r1 = x1;-
64 if (x2 - x1 + 1 < 0
x2 - x1 + 1 < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 9144 times by 33 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • ...
)
4-9144
65 l1 = x2;
executed 4 times by 1 test: l1 = x2;
Executed by:
  • tst_QRect
4
66 else-
67 r1 = x2;
executed 9144 times by 33 tests: r1 = x2;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • ...
9144
68-
69 int l2 = r.x1;-
70 int r2 = r.x1;-
71 if (r.x2 - r.x1 + 1 < 0
r.x2 - r.x1 + 1 < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 9144 times by 33 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • ...
)
4-9144
72 l2 = r.x2;
executed 4 times by 1 test: l2 = r.x2;
Executed by:
  • tst_QRect
4
73 else-
74 r2 = r.x2;
executed 9144 times by 33 tests: r2 = r.x2;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • ...
9144
75-
76 if (proper
properDescription
TRUEnever evaluated
FALSEevaluated 9148 times by 33 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • ...
) {
0-9148
77 if (l2 <= l1
l2 <= l1Description
TRUEnever evaluated
FALSEnever evaluated
|| r2 >= r1
r2 >= r1Description
TRUEnever evaluated
FALSEnever evaluated
)
0
78 return
never executed: return false;
false;
never executed: return false;
0
79 }
never executed: end of block
else {
0
80 if (l2 < l1
l2 < l1Description
TRUEevaluated 152 times by 7 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QItemView
  • tst_QListView
  • tst_QMdiArea
  • tst_QMdiSubWindow
FALSEevaluated 8996 times by 33 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • ...
|| r2 > r1
r2 > r1Description
TRUEevaluated 1861 times by 12 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QItemView
  • tst_QListView
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenuBar
  • tst_QRect
  • tst_QScrollArea
  • tst_QWidget
FALSEevaluated 7135 times by 32 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QPrinter
  • ...
)
152-8996
81 return
executed 2013 times by 14 tests: return false;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QFiledialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QItemView
  • tst_QListView
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenuBar
  • tst_QRect
  • tst_QScrollArea
  • tst_QWidget
false;
executed 2013 times by 14 tests: return false;
Executed by:
  • tst_QAccessibility
  • tst_QComboBox
  • tst_QFiledialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QItemView
  • tst_QListView
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenuBar
  • tst_QRect
  • tst_QScrollArea
  • tst_QWidget
2013
82 }
executed 7135 times by 32 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QPrinter
  • ...
7135
83-
84 int t1 = y1;-
85 int b1 = y1;-
86 if (y2 - y1 + 1 < 0
y2 - y1 + 1 < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 7133 times by 32 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QPrinter
  • ...
)
2-7133
87 t1 = y2;
executed 2 times by 1 test: t1 = y2;
Executed by:
  • tst_QRect
2
88 else-
89 b1 = y2;
executed 7133 times by 32 tests: b1 = y2;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QPrinter
  • ...
7133
90-
91 int t2 = r.y1;-
92 int b2 = r.y1;-
93 if (r.y2 - r.y1 + 1 < 0
r.y2 - r.y1 + 1 < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 7133 times by 32 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QPrinter
  • ...
)
2-7133
94 t2 = r.y2;
executed 2 times by 1 test: t2 = r.y2;
Executed by:
  • tst_QRect
2
95 else-
96 b2 = r.y2;
executed 7133 times by 32 tests: b2 = r.y2;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QPrinter
  • ...
7133
97-
98 if (proper
properDescription
TRUEnever evaluated
FALSEevaluated 7135 times by 32 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QPrinter
  • ...
) {
0-7135
99 if (t2 <= t1
t2 <= t1Description
TRUEnever evaluated
FALSEnever evaluated
|| b2 >= b1
b2 >= b1Description
TRUEnever evaluated
FALSEnever evaluated
)
0
100 return
never executed: return false;
false;
never executed: return false;
0
101 }
never executed: end of block
else {
0
102 if (t2 < t1
t2 < t1Description
TRUEevaluated 89 times by 6 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QItemView
  • tst_QListView
  • tst_QPrinter
FALSEevaluated 7046 times by 32 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QPrinter
  • ...
|| b2 > b1
b2 > b1Description
TRUEevaluated 1134 times by 9 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFontDialog
  • tst_QItemView
  • tst_QListView
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QPrinter
FALSEevaluated 5912 times by 31 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QRect
  • ...
)
89-7046
103 return
executed 1223 times by 11 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QItemView
  • tst_QListView
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QPrinter
false;
executed 1223 times by 11 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QItemView
  • tst_QListView
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QPrinter
1223
104 }
executed 5912 times by 31 tests: end of block
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QRect
  • ...
5912
105-
106 return
executed 5912 times by 31 tests: return true;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QRect
  • ...
true;
executed 5912 times by 31 tests: return true;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QBoxLayout
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QRect
  • ...
5912
107}-
108QRect QRect::operator|(const QRect &r) const noexcept-
109{-
110 if (isNull()
isNull()Description
TRUEevaluated 1577 times by 60 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFormLayout
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGridLayout
  • ...
FALSEevaluated 357161 times by 45 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
)
1577-357161
111 return
executed 1577 times by 60 tests: return r;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFormLayout
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGridLayout
  • ...
r;
executed 1577 times by 60 tests: return r;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDesktopWidget
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFormLayout
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGridLayout
  • ...
1577
112 if (r.isNull()
r.isNull()Description
TRUEevaluated 170630 times by 27 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMenu
  • tst_QRect
  • tst_QSidebar
  • tst_QSortFilterProxyModel
  • tst_QStandardItemModel
  • tst_QStyleSheetStyle
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
  • ...
FALSEevaluated 186531 times by 45 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
)
170630-186531
113 return
executed 170630 times by 27 tests: return *this;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMenu
  • tst_QRect
  • tst_QSidebar
  • tst_QSortFilterProxyModel
  • tst_QStandardItemModel
  • tst_QStyleSheetStyle
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
  • ...
*this;
executed 170630 times by 27 tests: return *this;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMenu
  • tst_QRect
  • tst_QSidebar
  • tst_QSortFilterProxyModel
  • tst_QStandardItemModel
  • tst_QStyleSheetStyle
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
  • ...
170630
114-
115 int l1 = x1;-
116 int r1 = x1;-
117 if (x2 - x1 + 1 < 0
x2 - x1 + 1 < 0Description
TRUEevaluated 17 times by 5 tests
Evaluated by:
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QRect
  • tst_QTableView
  • tst_QTreeView
FALSEevaluated 186514 times by 45 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
)
17-186514
118 l1 = x2;
executed 17 times by 5 tests: l1 = x2;
Executed by:
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QRect
  • tst_QTableView
  • tst_QTreeView
17
119 else-
120 r1 = x2;
executed 186514 times by 45 tests: r1 = x2;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
186514
121-
122 int l2 = r.x1;-
123 int r2 = r.x1;-
124 if (r.x2 - r.x1 + 1 < 0
r.x2 - r.x1 + 1 < 0Description
TRUEevaluated 77 times by 4 tests
Evaluated by:
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QRect
  • tst_QTableView
FALSEevaluated 186454 times by 45 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
)
77-186454
125 l2 = r.x2;
executed 77 times by 4 tests: l2 = r.x2;
Executed by:
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QRect
  • tst_QTableView
77
126 else-
127 r2 = r.x2;
executed 186454 times by 45 tests: r2 = r.x2;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
186454
128-
129 int t1 = y1;-
130 int b1 = y1;-
131 if (y2 - y1 + 1 < 0
y2 - y1 + 1 < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 186527 times by 45 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
)
4-186527
132 t1 = y2;
executed 4 times by 1 test: t1 = y2;
Executed by:
  • tst_QRect
4
133 else-
134 b1 = y2;
executed 186527 times by 45 tests: b1 = y2;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
186527
135-
136 int t2 = r.y1;-
137 int b2 = r.y1;-
138 if (r.y2 - r.y1 + 1 < 0
r.y2 - r.y1 + 1 < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 186527 times by 45 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
)
4-186527
139 t2 = r.y2;
executed 4 times by 1 test: t2 = r.y2;
Executed by:
  • tst_QRect
4
140 else-
141 b2 = r.y2;
executed 186527 times by 45 tests: b2 = r.y2;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
186527
142-
143 QRect tmp;-
144 tmp.x1 = qMin(l1, l2);-
145 tmp.x2 = qMax(r1, r2);-
146 tmp.y1 = qMin(t1, t2);-
147 tmp.y2 = qMax(b1, b2);-
148 return
executed 186531 times by 45 tests: return tmp;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
tmp;
executed 186531 times by 45 tests: return tmp;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • ...
186531
149}-
150QRect QRect::operator&(const QRect &r) const noexcept-
151{-
152 if (isNull()
isNull()Description
TRUEevaluated 651 times by 22 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QDateTimeEdit
  • tst_QFontDialog
  • tst_QGraphicsView
  • tst_QLabel
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QPixmap
  • tst_QRect
  • tst_QSplitter
  • tst_QStyle
  • tst_QStyleSheetStyle
  • tst_QTabBar
  • tst_QTabWidget
  • tst_QToolBar
  • tst_QToolButton
  • tst_QTreeWidget
  • tst_QWidget
FALSEevaluated 537364 times by 127 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
|| r.isNull()
r.isNull()Description
TRUEevaluated 422 times by 21 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QColumnView
  • tst_QCommandLinkButton
  • tst_QDockWidget
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QItemDelegate
  • tst_QListWidget
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPushButton
  • tst_QRect
  • tst_QScrollArea
  • tst_QSplitter
  • tst_QTableView
  • tst_QTreeWidget
  • tst_QWidget
FALSEevaluated 536942 times by 127 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
)
422-537364
153 return
executed 1073 times by 33 tests: return QRect();
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDateTimeEdit
  • tst_QDockWidget
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QListWidget
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QPushButton
  • tst_QRect
  • tst_QScrollArea
  • tst_QSplitter
  • tst_QStyle
  • ...
QRect();
executed 1073 times by 33 tests: return QRect();
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDateTimeEdit
  • tst_QDockWidget
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QListWidget
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMenuBar
  • tst_QPainter
  • tst_QPixmap
  • tst_QPushButton
  • tst_QRect
  • tst_QScrollArea
  • tst_QSplitter
  • tst_QStyle
  • ...
1073
154-
155 int l1 = x1;-
156 int r1 = x1;-
157 if (x2 - x1 + 1 < 0
x2 - x1 + 1 < 0Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_QPainter
  • tst_QRect
FALSEevaluated 536932 times by 127 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
)
10-536932
158 l1 = x2;
executed 10 times by 2 tests: l1 = x2;
Executed by:
  • tst_QPainter
  • tst_QRect
10
159 else-
160 r1 = x2;
executed 536932 times by 127 tests: r1 = x2;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
536932
161-
162 int l2 = r.x1;-
163 int r2 = r.x1;-
164 if (r.x2 - r.x1 + 1 < 0
r.x2 - r.x1 + 1 < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 536938 times by 127 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
)
4-536938
165 l2 = r.x2;
executed 4 times by 1 test: l2 = r.x2;
Executed by:
  • tst_QRect
4
166 else-
167 r2 = r.x2;
executed 536938 times by 127 tests: r2 = r.x2;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
536938
168-
169 if (l1 > r2
l1 > r2Description
TRUEevaluated 7700 times by 28 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QInputDialog
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QPainter
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QScrollArea
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTextEdit
  • ...
FALSEevaluated 529242 times by 127 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
|| l2 > r1
l2 > r1Description
TRUEevaluated 4407 times by 23 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QDockWidget
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QProgressBar
  • tst_QRect
  • tst_QStyleSheetStyle
  • tst_QTableView
  • tst_QTextEdit
  • tst_QTreeView
  • tst_QWidget
FALSEevaluated 524835 times by 127 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
)
4407-529242
170 return
executed 12107 times by 35 tests: return QRect();
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QInputDialog
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QPainter
  • tst_QPixmap
  • tst_QPlainTextEdit
  • ...
QRect();
executed 12107 times by 35 tests: return QRect();
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QHeaderView
  • tst_QInputDialog
  • tst_QItemView
  • tst_QLineEdit
  • tst_QListView
  • tst_QListWidget
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QPainter
  • tst_QPixmap
  • tst_QPlainTextEdit
  • ...
12107
171-
172 int t1 = y1;-
173 int b1 = y1;-
174 if (y2 - y1 + 1 < 0
y2 - y1 + 1 < 0Description
TRUEevaluated 21 times by 2 tests
Evaluated by:
  • tst_QItemDelegate
  • tst_QRect
FALSEevaluated 524814 times by 127 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
)
21-524814
175 t1 = y2;
executed 21 times by 2 tests: t1 = y2;
Executed by:
  • tst_QItemDelegate
  • tst_QRect
21
176 else-
177 b1 = y2;
executed 524814 times by 127 tests: b1 = y2;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
524814
178-
179 int t2 = r.y1;-
180 int b2 = r.y1;-
181 if (r.y2 - r.y1 + 1 < 0
r.y2 - r.y1 + 1 < 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 524832 times by 127 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
)
3-524832
182 t2 = r.y2;
executed 3 times by 1 test: t2 = r.y2;
Executed by:
  • tst_QRect
3
183 else-
184 b2 = r.y2;
executed 524832 times by 127 tests: b2 = r.y2;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
524832
185-
186 if (t1 > b2
t1 > b2Description
TRUEevaluated 2865 times by 34 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QGridLayout
  • tst_QItemView
  • tst_QListView
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMessageBox
  • tst_QPainter
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QSortFilterProxyModel
  • tst_QSplitter
  • tst_QStyle
  • tst_QStyleSheetStyle
  • tst_QTabBar
  • ...
FALSEevaluated 521970 times by 127 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
|| t2 > b1
t2 > b1Description
TRUEevaluated 737 times by 19 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QComboBox
  • tst_QFontDialog
  • tst_QGraphicsView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QScrollBar
  • tst_QTableView
  • tst_QTableWidget
  • tst_QTextBrowser
  • tst_QTextEdit
  • tst_QTreeView
  • tst_QTreeWidget
FALSEevaluated 521233 times by 127 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
)
737-521970
187 return
executed 3602 times by 38 tests: return QRect();
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QDialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QGridLayout
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMessageBox
  • tst_QPainter
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QScrollBar
  • tst_QSortFilterProxyModel
  • ...
QRect();
executed 3602 times by 38 tests: return QRect();
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QDialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QGridLayout
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QMainWindow
  • tst_QMdiArea
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QMessageBox
  • tst_QPainter
  • tst_QPixmap
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QScrollBar
  • tst_QSortFilterProxyModel
  • ...
3602
188-
189 QRect tmp;-
190 tmp.x1 = qMax(l1, l2);-
191 tmp.x2 = qMin(r1, r2);-
192 tmp.y1 = qMax(t1, t2);-
193 tmp.y2 = qMin(b1, b2);-
194 return
executed 521233 times by 127 tests: return tmp;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
tmp;
executed 521233 times by 127 tests: return tmp;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • tst_QDial
  • tst_QDialog
  • tst_QDialogButtonBox
  • ...
521233
195}-
196bool QRect::intersects(const QRect &r) const noexcept-
197{-
198 if (isNull()
isNull()Description
TRUEevaluated 108 times by 16 tests
Evaluated by:
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QRect
  • tst_QStyleSheetStyle
  • tst_QTreeView
  • tst_QWidget
FALSEevaluated 44804 times by 70 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
|| r.isNull()
r.isNull()Description
TRUEevaluated 700 times by 14 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QListView
  • tst_QListWidget
  • tst_QMenu
  • tst_QRect
  • tst_QStandardItemModel
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_QTreeWidgetItemIterator
FALSEevaluated 44104 times by 70 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
)
108-44804
199 return
executed 808 times by 22 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMenu
  • tst_QRect
  • tst_QStandardItemModel
  • tst_QStyleSheetStyle
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_QTreeWidgetItemIterator
  • tst_QWidget
false;
executed 808 times by 22 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QItemDelegate
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMenu
  • tst_QRect
  • tst_QStandardItemModel
  • tst_QStyleSheetStyle
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
  • tst_QTreeWidgetItemIterator
  • tst_QWidget
808
200-
201 int l1 = x1;-
202 int r1 = x1;-
203 if (x2 - x1 + 1 < 0
x2 - x1 + 1 < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 44100 times by 70 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
)
4-44100
204 l1 = x2;
executed 4 times by 1 test: l1 = x2;
Executed by:
  • tst_QRect
4
205 else-
206 r1 = x2;
executed 44100 times by 70 tests: r1 = x2;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
44100
207-
208 int l2 = r.x1;-
209 int r2 = r.x1;-
210 if (r.x2 - r.x1 + 1 < 0
r.x2 - r.x1 + 1 < 0Description
TRUEevaluated 11 times by 4 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QListView
  • tst_QRect
  • tst_QTableView
FALSEevaluated 44093 times by 70 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
)
11-44093
211 l2 = r.x2;
executed 11 times by 4 tests: l2 = r.x2;
Executed by:
  • tst_QAbstractItemView
  • tst_QListView
  • tst_QRect
  • tst_QTableView
11
212 else-
213 r2 = r.x2;
executed 44093 times by 70 tests: r2 = r.x2;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
44093
214-
215 if (l1 > r2
l1 > r2Description
TRUEevaluated 287 times by 13 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QColumnView
  • tst_QDateTimeEdit
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMdiArea
  • tst_QMenuBar
  • tst_QStatusBar
  • tst_QTableView
  • tst_QTreeWidget
FALSEevaluated 43817 times by 70 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
|| l2 > r1
l2 > r1Description
TRUEevaluated 618 times by 13 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QGuiApplication
  • tst_QItemView
  • tst_QListView
  • tst_QMdiArea
  • tst_QMenuBar
  • tst_QRect
  • tst_QTableView
  • tst_QTreeWidget
FALSEevaluated 43199 times by 69 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
)
287-43817
216 return
executed 905 times by 16 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QDateTimeEdit
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QGuiApplication
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMdiArea
  • tst_QMenuBar
  • tst_QRect
  • tst_QStatusBar
  • tst_QTableView
  • tst_QTreeWidget
false;
executed 905 times by 16 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QColumnView
  • tst_QDateTimeEdit
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QGuiApplication
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMdiArea
  • tst_QMenuBar
  • tst_QRect
  • tst_QStatusBar
  • tst_QTableView
  • tst_QTreeWidget
905
217-
218 int t1 = y1;-
219 int b1 = y1;-
220 if (y2 - y1 + 1 < 0
y2 - y1 + 1 < 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 43196 times by 69 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
)
3-43196
221 t1 = y2;
executed 3 times by 1 test: t1 = y2;
Executed by:
  • tst_QRect
3
222 else-
223 b1 = y2;
executed 43196 times by 69 tests: b1 = y2;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
43196
224-
225 int t2 = r.y1;-
226 int b2 = r.y1;-
227 if (r.y2 - r.y1 + 1 < 0
r.y2 - r.y1 + 1 < 0Description
TRUEevaluated 8 times by 3 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QListView
  • tst_QRect
FALSEevaluated 43191 times by 69 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
)
8-43191
228 t2 = r.y2;
executed 8 times by 3 tests: t2 = r.y2;
Executed by:
  • tst_QAbstractItemView
  • tst_QListView
  • tst_QRect
8
229 else-
230 b2 = r.y2;
executed 43191 times by 69 tests: b2 = r.y2;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
43191
231-
232 if (t1 > b2
t1 > b2Description
TRUEevaluated 598 times by 10 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QComboBox
  • tst_QGraphicsView
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMdiArea
  • tst_QMenu
  • tst_QTableView
  • tst_QTreeView
FALSEevaluated 42601 times by 69 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
|| t2 > b1
t2 > b1Description
TRUEevaluated 247 times by 11 tests
Evaluated by:
  • tst_QGraphicsView
  • tst_QItemView
  • tst_QListView
  • tst_QMdiArea
  • tst_QMenu
  • tst_QSqlQueryModel
  • tst_QStandardItemModel
  • tst_QSystemTrayIcon
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
FALSEevaluated 42354 times by 66 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
)
247-42601
233 return
executed 845 times by 14 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QComboBox
  • tst_QGraphicsView
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMdiArea
  • tst_QMenu
  • tst_QSqlQueryModel
  • tst_QStandardItemModel
  • tst_QSystemTrayIcon
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
false;
executed 845 times by 14 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QComboBox
  • tst_QGraphicsView
  • tst_QItemView
  • tst_QListView
  • tst_QListWidget
  • tst_QMdiArea
  • tst_QMenu
  • tst_QSqlQueryModel
  • tst_QStandardItemModel
  • tst_QSystemTrayIcon
  • tst_QTableView
  • tst_QTreeView
  • tst_QTreeWidget
845
234-
235 return
executed 42354 times by 66 tests: return true;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
true;
executed 42354 times by 66 tests: return true;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFocusFrame
  • tst_QFontDialog
  • tst_QFrame
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • ...
42354
236}-
237QDataStream &operator<<(QDataStream &s, const QRect &r)-
238{-
239 if (s.version() == 1
s.version() == 1Description
TRUEnever evaluated
FALSEevaluated 2668 times by 8 tests
Evaluated by:
  • tst_QDataStream
  • tst_QDockWidget
  • tst_QGuiVariant
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_QWidget
)
0-2668
240 s << (qint16)r.left() << (qint16)r.top()
never executed: s << (qint16)r.left() << (qint16)r.top() << (qint16)r.right() << (qint16)r.bottom();
0
241 << (qint16)r.right() << (qint16)r.bottom();
never executed: s << (qint16)r.left() << (qint16)r.top() << (qint16)r.right() << (qint16)r.bottom();
0
242 else-
243 s << (qint32)r.left() << (qint32)r.top()
executed 2668 times by 8 tests: s << (qint32)r.left() << (qint32)r.top() << (qint32)r.right() << (qint32)r.bottom();
Executed by:
  • tst_QDataStream
  • tst_QDockWidget
  • tst_QGuiVariant
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_QWidget
2668
244 << (qint32)r.right() << (qint32)r.bottom();
executed 2668 times by 8 tests: s << (qint32)r.left() << (qint32)r.top() << (qint32)r.right() << (qint32)r.bottom();
Executed by:
  • tst_QDataStream
  • tst_QDockWidget
  • tst_QGuiVariant
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_QWidget
2668
245 return
executed 2668 times by 8 tests: return s;
Executed by:
  • tst_QDataStream
  • tst_QDockWidget
  • tst_QGuiVariant
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_QWidget
s;
executed 2668 times by 8 tests: return s;
Executed by:
  • tst_QDataStream
  • tst_QDockWidget
  • tst_QGuiVariant
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_QWidget
2668
246}-
247QDataStream &operator>>(QDataStream &s, QRect &r)-
248{-
249 if (s.version() == 1
s.version() == 1Description
TRUEnever evaluated
FALSEevaluated 2669 times by 8 tests
Evaluated by:
  • tst_QDataStream
  • tst_QDockWidget
  • tst_QGuiVariant
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_QWidget
) {
0-2669
250 qint16 x1, y1, x2, y2;-
251 s >> x1; s >> y1; s >> x2; s >> y2;-
252 r.setCoords(x1, y1, x2, y2);-
253 }
never executed: end of block
0
254 else {-
255 qint32 x1, y1, x2, y2;-
256 s >> x1; s >> y1; s >> x2; s >> y2;-
257 r.setCoords(x1, y1, x2, y2);-
258 }
executed 2669 times by 8 tests: end of block
Executed by:
  • tst_QDataStream
  • tst_QDockWidget
  • tst_QGuiVariant
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_QWidget
2669
259 return
executed 2669 times by 8 tests: return s;
Executed by:
  • tst_QDataStream
  • tst_QDockWidget
  • tst_QGuiVariant
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_QWidget
s;
executed 2669 times by 8 tests: return s;
Executed by:
  • tst_QDataStream
  • tst_QDockWidget
  • tst_QGuiVariant
  • tst_QLocalSocket
  • tst_QMetaType
  • tst_QSettings
  • tst_QVariant
  • tst_QWidget
2669
260}-
261-
262-
263-
264-
265-
266QDebug operator<<(QDebug dbg, const QRect &r)-
267{-
268 QDebugStateSaver saver(dbg);-
269 dbg.nospace();-
270 dbg << "QRect" << '(';-
271 QtDebugUtils::formatQRect(dbg, r);-
272 dbg << ')';-
273 return
executed 24 times by 5 tests: return dbg;
Executed by:
  • tst_QAccessibility
  • tst_QDebug
  • tst_QMenu
  • tst_QVariant
  • tst_QWidget
dbg;
executed 24 times by 5 tests: return dbg;
Executed by:
  • tst_QAccessibility
  • tst_QDebug
  • tst_QMenu
  • tst_QVariant
  • tst_QWidget
24
274}-
275QRectF QRectF::normalized() const noexcept-
276{-
277 QRectF r = *this;-
278 if (r.w < 0
r.w < 0Description
TRUEevaluated 3 times by 2 tests
Evaluated by:
  • tst_QGraphicsScene
  • tst_QPainter
FALSEevaluated 8411 times by 48 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QImage
  • ...
) {
3-8411
279 r.xp += r.w;-
280 r.w = -r.w;-
281 }
executed 3 times by 2 tests: end of block
Executed by:
  • tst_QGraphicsScene
  • tst_QPainter
3
282 if (r.h < 0
r.h < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QGraphicsScene
FALSEevaluated 8412 times by 48 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QImage
  • ...
) {
2-8412
283 r.yp += r.h;-
284 r.h = -r.h;-
285 }
executed 2 times by 1 test: end of block
Executed by:
  • tst_QGraphicsScene
2
286 return
executed 8414 times by 48 tests: return r;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QImage
  • ...
r;
executed 8414 times by 48 tests: return r;
Executed by:
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QImage
  • ...
8414
287}-
288bool QRectF::contains(const QPointF &p) const noexcept-
289{-
290 qreal l = xp;-
291 qreal r = xp;-
292 if (w < 0
w < 0Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 125980 times by 65 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsPixmapItem
  • ...
)
12-125980
293 l += w;
executed 12 times by 1 test: l += w;
Executed by:
  • tst_QRect
12
294 else-
295 r += w;
executed 125980 times by 65 tests: r += w;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsPixmapItem
  • ...
125980
296 if (l == r
l == rDescription
TRUEevaluated 6 times by 4 tests
Evaluated by:
  • tst_QGraphicsItem
  • tst_QMenuBar
  • tst_QPainterPath
  • tst_QRect
FALSEevaluated 125986 times by 65 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsPixmapItem
  • ...
)
6-125986
297 return
executed 6 times by 4 tests: return false;
Executed by:
  • tst_QGraphicsItem
  • tst_QMenuBar
  • tst_QPainterPath
  • tst_QRect
false;
executed 6 times by 4 tests: return false;
Executed by:
  • tst_QGraphicsItem
  • tst_QMenuBar
  • tst_QPainterPath
  • tst_QRect
6
298-
299 if (p.x() < l
p.x() < lDescription
TRUEevaluated 14974 times by 18 tests
Evaluated by:
  • tst_QApplication
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QItemView
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QPainter
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QProgressBar
  • tst_QTreeView
FALSEevaluated 111012 times by 63 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • ...
|| p.x() > r
p.x() > rDescription
TRUEevaluated 15200 times by 17 tests
Evaluated by:
  • tst_QGestureRecognizer
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QMdiSubWindow
  • tst_QPainter
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QProgressBar
  • tst_QStyle
  • tst_QTextTable
  • tst_QWidget
FALSEevaluated 95812 times by 62 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • ...
)
14974-111012
300 return
executed 30174 times by 23 tests: return false;
Executed by:
  • tst_QApplication
  • tst_QGestureRecognizer
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QItemView
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QPainter
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QProgressBar
  • tst_QStyle
  • tst_QTextTable
  • tst_QTreeView
  • tst_QWidget
false;
executed 30174 times by 23 tests: return false;
Executed by:
  • tst_QApplication
  • tst_QGestureRecognizer
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QItemView
  • tst_QMdiSubWindow
  • tst_QMenu
  • tst_QPainter
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QProgressBar
  • tst_QStyle
  • tst_QTextTable
  • tst_QTreeView
  • tst_QWidget
30174
301-
302 qreal t = yp;-
303 qreal b = yp;-
304 if (h < 0
h < 0Description
TRUEevaluated 12 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 95800 times by 62 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • ...
)
12-95800
305 t += h;
executed 12 times by 1 test: t += h;
Executed by:
  • tst_QRect
12
306 else-
307 b += h;
executed 95800 times by 62 tests: b += h;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • ...
95800
308 if (t == b
t == bDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_QPainterPath
FALSEevaluated 95811 times by 62 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • ...
)
1-95811
309 return
executed 1 time by 1 test: return false;
Executed by:
  • tst_QPainterPath
false;
executed 1 time by 1 test: return false;
Executed by:
  • tst_QPainterPath
1
310-
311 if (p.y() < t
p.y() < tDescription
TRUEevaluated 7758 times by 10 tests
Evaluated by:
  • tst_QComboBox
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QPainter
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QRect
  • tst_QWidget
FALSEevaluated 88053 times by 62 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • ...
|| p.y() > b
p.y() > bDescription
TRUEevaluated 7925 times by 14 tests
Evaluated by:
  • tst_QFileSystemModel
  • tst_QGestureRecognizer
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainter
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QProgressBar
  • tst_QStyle
  • tst_QTextTable
FALSEevaluated 80128 times by 61 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • ...
)
7758-88053
312 return
executed 15683 times by 17 tests: return false;
Executed by:
  • tst_QComboBox
  • tst_QFileSystemModel
  • tst_QGestureRecognizer
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainter
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QProgressBar
  • tst_QRect
  • tst_QStyle
  • tst_QTextTable
  • tst_QWidget
false;
executed 15683 times by 17 tests: return false;
Executed by:
  • tst_QComboBox
  • tst_QFileSystemModel
  • tst_QGestureRecognizer
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainter
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QProgressBar
  • tst_QRect
  • tst_QStyle
  • tst_QTextTable
  • tst_QWidget
15683
313-
314 return
executed 80128 times by 61 tests: return true;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • ...
true;
executed 80128 times by 61 tests: return true;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAbstractTextDocumentLayout
  • tst_QAccessibility
  • tst_QApplication
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDockWidget
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGestureRecognizer
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • ...
80128
315}-
316bool QRectF::contains(const QRectF &r) const noexcept-
317{-
318 qreal l1 = xp;-
319 qreal r1 = xp;-
320 if (w < 0
w < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 13954 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
)
4-13954
321 l1 += w;
executed 4 times by 1 test: l1 += w;
Executed by:
  • tst_QRect
4
322 else-
323 r1 += w;
executed 13954 times by 81 tests: r1 += w;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
13954
324 if (l1 == r1
l1 == r1Description
TRUEevaluated 10 times by 2 tests
Evaluated by:
  • tst_QGraphicsLinearLayout
  • tst_QRect
FALSEevaluated 13948 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
)
10-13948
325 return
executed 10 times by 2 tests: return false;
Executed by:
  • tst_QGraphicsLinearLayout
  • tst_QRect
false;
executed 10 times by 2 tests: return false;
Executed by:
  • tst_QGraphicsLinearLayout
  • tst_QRect
10
326-
327 qreal l2 = r.xp;-
328 qreal r2 = r.xp;-
329 if (r.w < 0
r.w < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 13944 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
)
4-13944
330 l2 += r.w;
executed 4 times by 1 test: l2 += r.w;
Executed by:
  • tst_QRect
4
331 else-
332 r2 += r.w;
executed 13944 times by 81 tests: r2 += r.w;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
13944
333 if (l2 == r2
l2 == r2Description
TRUEevaluated 4 times by 3 tests
Evaluated by:
  • tst_QColorDialog
  • tst_QRect
  • tst_languageChange
FALSEevaluated 13944 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
)
4-13944
334 return
executed 4 times by 3 tests: return false;
Executed by:
  • tst_QColorDialog
  • tst_QRect
  • tst_languageChange
false;
executed 4 times by 3 tests: return false;
Executed by:
  • tst_QColorDialog
  • tst_QRect
  • tst_languageChange
4
335-
336 if (l2 < l1
l2 < l1Description
TRUEevaluated 776 times by 14 tests
Evaluated by:
  • tst_QComboBox
  • tst_QCompleter
  • tst_QGraphicsItem
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainter
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QStyleSheetStyle
  • tst_QTextEdit
FALSEevaluated 13168 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
|| r2 > r1
r2 > r1Description
TRUEevaluated 302 times by 32 tests
Evaluated by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainter
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QRect
  • ...
FALSEevaluated 12866 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
)
302-13168
337 return
executed 1078 times by 35 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainter
  • tst_QPainterPath
  • ...
false;
executed 1078 times by 35 tests: return false;
Executed by:
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsPixmapItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QGridLayout
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainter
  • tst_QPainterPath
  • ...
1078
338-
339 qreal t1 = yp;-
340 qreal b1 = yp;-
341 if (h < 0
h < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 12864 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
)
2-12864
342 t1 += h;
executed 2 times by 1 test: t1 += h;
Executed by:
  • tst_QRect
2
343 else-
344 b1 += h;
executed 12864 times by 81 tests: b1 += h;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
12864
345 if (t1 == b1
t1 == b1Description
TRUEnever evaluated
FALSEevaluated 12866 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
)
0-12866
346 return
never executed: return false;
false;
never executed: return false;
0
347-
348 qreal t2 = r.yp;-
349 qreal b2 = r.yp;-
350 if (r.h < 0
r.h < 0Description
TRUEevaluated 2 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 12864 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
)
2-12864
351 t2 += r.h;
executed 2 times by 1 test: t2 += r.h;
Executed by:
  • tst_QRect
2
352 else-
353 b2 += r.h;
executed 12864 times by 81 tests: b2 += r.h;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
12864
354 if (t2 == b2
t2 == b2Description
TRUEnever evaluated
FALSEevaluated 12866 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
)
0-12866
355 return
never executed: return false;
false;
never executed: return false;
0
356-
357 if (t2 < t1
t2 < t1Description
TRUEevaluated 204 times by 7 tests
Evaluated by:
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QTextEdit
FALSEevaluated 12662 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
|| b2 > b1
b2 > b1Description
TRUEevaluated 114 times by 10 tests
Evaluated by:
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QTextEdit
FALSEevaluated 12548 times by 81 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
)
114-12662
358 return
executed 318 times by 10 tests: return false;
Executed by:
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QTextEdit
false;
executed 318 times by 10 tests: return false;
Executed by:
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QTextEdit
318
359-
360 return
executed 12548 times by 81 tests: return true;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
true;
executed 12548 times by 81 tests: return true;
Executed by:
  • tst_Gestures
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QColorDialog
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QFormLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • ...
12548
361}-
362QRectF QRectF::operator|(const QRectF &r) const noexcept-
363{-
364 if (isNull()
isNull()Description
TRUEevaluated 4071 times by 26 tests
Evaluated by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QDialog
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QLabel
  • tst_QOpenGLWidget
  • tst_QPainter
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QRect
  • tst_QStateMachine
  • tst_QTextBrowser
  • tst_QTextEdit
  • ...
FALSEevaluated 26303 times by 33 tests
Evaluated by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
)
4071-26303
365 return
executed 4071 times by 26 tests: return r;
Executed by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QDialog
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QLabel
  • tst_QOpenGLWidget
  • tst_QPainter
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QRect
  • tst_QStateMachine
  • tst_QTextBrowser
  • tst_QTextEdit
  • ...
r;
executed 4071 times by 26 tests: return r;
Executed by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QDialog
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QLabel
  • tst_QOpenGLWidget
  • tst_QPainter
  • tst_QPlainTextEdit
  • tst_QPrinter
  • tst_QRect
  • tst_QStateMachine
  • tst_QTextBrowser
  • tst_QTextEdit
  • ...
4071
366 if (r.isNull()
r.isNull()Description
TRUEevaluated 222 times by 8 tests
Evaluated by:
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsWidget
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QTextEdit
FALSEevaluated 26081 times by 33 tests
Evaluated by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
)
222-26081
367 return
executed 222 times by 8 tests: return *this;
Executed by:
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsWidget
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QTextEdit
*this;
executed 222 times by 8 tests: return *this;
Executed by:
  • tst_QGraphicsEffect
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsWidget
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QTextEdit
222
368-
369 qreal left = xp;-
370 qreal right = xp;-
371 if (w < 0
w < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 26077 times by 33 tests
Evaluated by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
)
4-26077
372 left += w;
executed 4 times by 1 test: left += w;
Executed by:
  • tst_QRect
4
373 else-
374 right += w;
executed 26077 times by 33 tests: right += w;
Executed by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
26077
375-
376 if (r.w < 0
r.w < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 26077 times by 33 tests
Evaluated by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
) {
4-26077
377 left = qMin(left, r.xp + r.w);-
378 right = qMax(right, r.xp);-
379 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_QRect
else {
4
380 left = qMin(left, r.xp);-
381 right = qMax(right, r.xp + r.w);-
382 }
executed 26077 times by 33 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
26077
383-
384 qreal top = yp;-
385 qreal bottom = yp;-
386 if (h < 0
h < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 26077 times by 33 tests
Evaluated by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
)
4-26077
387 top += h;
executed 4 times by 1 test: top += h;
Executed by:
  • tst_QRect
4
388 else-
389 bottom += h;
executed 26077 times by 33 tests: bottom += h;
Executed by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
26077
390-
391 if (r.h < 0
r.h < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 26077 times by 33 tests
Evaluated by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
) {
4-26077
392 top = qMin(top, r.yp + r.h);-
393 bottom = qMax(bottom, r.yp);-
394 }
executed 4 times by 1 test: end of block
Executed by:
  • tst_QRect
else {
4
395 top = qMin(top, r.yp);-
396 bottom = qMax(bottom, r.yp + r.h);-
397 }
executed 26077 times by 33 tests: end of block
Executed by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
26077
398-
399 return
executed 26081 times by 33 tests: return QRectF(left, top, right - left, bottom - top);
Executed by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
QRectF(left, top, right - left, bottom - top);
executed 26081 times by 33 tests: return QRectF(left, top, right - left, bottom - top);
Executed by:
  • tst_Gestures
  • tst_QAccessibility
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QGlyphRun
  • tst_QGraphicsAnchorLayout
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsGridLayout
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLabel
  • tst_QPainter
  • tst_QPathClipper
  • tst_QPixmapFilter
  • tst_QPlainTextEdit
  • ...
26081
400}-
401QRectF QRectF::operator&(const QRectF &r) const noexcept-
402{-
403 qreal l1 = xp;-
404 qreal r1 = xp;-
405 if (w < 0
w < 0Description
TRUEevaluated 8 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 7806 times by 46 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
)
8-7806
406 l1 += w;
executed 8 times by 1 test: l1 += w;
Executed by:
  • tst_QRect
8
407 else-
408 r1 += w;
executed 7806 times by 46 tests: r1 += w;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
7806
409 if (l1 == r1
l1 == r1Description
TRUEevaluated 38 times by 3 tests
Evaluated by:
  • tst_QGraphicsProxyWidget
  • tst_QRect
  • tst_QTextEdit
FALSEevaluated 7776 times by 46 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
)
38-7776
410 return
executed 38 times by 3 tests: return QRectF();
Executed by:
  • tst_QGraphicsProxyWidget
  • tst_QRect
  • tst_QTextEdit
QRectF();
executed 38 times by 3 tests: return QRectF();
Executed by:
  • tst_QGraphicsProxyWidget
  • tst_QRect
  • tst_QTextEdit
38
411-
412 qreal l2 = r.xp;-
413 qreal r2 = r.xp;-
414 if (r.w < 0
r.w < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 7772 times by 46 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
)
4-7772
415 l2 += r.w;
executed 4 times by 1 test: l2 += r.w;
Executed by:
  • tst_QRect
4
416 else-
417 r2 += r.w;
executed 7772 times by 46 tests: r2 += r.w;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
7772
418 if (l2 == r2
l2 == r2Description
TRUEevaluated 6 times by 3 tests
Evaluated by:
  • tst_QPicture
  • tst_QRect
  • tst_QSplitter
FALSEevaluated 7770 times by 45 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
)
6-7770
419 return
executed 6 times by 3 tests: return QRectF();
Executed by:
  • tst_QPicture
  • tst_QRect
  • tst_QSplitter
QRectF();
executed 6 times by 3 tests: return QRectF();
Executed by:
  • tst_QPicture
  • tst_QRect
  • tst_QSplitter
6
420-
421 if (l1 >= r2
l1 >= r2Description
TRUEevaluated 6 times by 4 tests
Evaluated by:
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QTextEdit
FALSEevaluated 7764 times by 45 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
|| l2 >= r1
l2 >= r1Description
TRUEevaluated 25 times by 5 tests
Evaluated by:
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QTextEdit
FALSEevaluated 7739 times by 45 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
)
6-7764
422 return
executed 31 times by 5 tests: return QRectF();
Executed by:
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QTextEdit
QRectF();
executed 31 times by 5 tests: return QRectF();
Executed by:
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QRect
  • tst_QTextEdit
31
423-
424 qreal t1 = yp;-
425 qreal b1 = yp;-
426 if (h < 0
h < 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 7736 times by 45 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
)
3-7736
427 t1 += h;
executed 3 times by 1 test: t1 += h;
Executed by:
  • tst_QRect
3
428 else-
429 b1 += h;
executed 7736 times by 45 tests: b1 += h;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
7736
430 if (t1 == b1
t1 == b1Description
TRUEnever evaluated
FALSEevaluated 7739 times by 45 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
)
0-7739
431 return
never executed: return QRectF();
QRectF();
never executed: return QRectF();
0
432-
433 qreal t2 = r.yp;-
434 qreal b2 = r.yp;-
435 if (r.h < 0
r.h < 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 7736 times by 45 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
)
3-7736
436 t2 += r.h;
executed 3 times by 1 test: t2 += r.h;
Executed by:
  • tst_QRect
3
437 else-
438 b2 += r.h;
executed 7736 times by 45 tests: b2 += r.h;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
7736
439 if (t2 == b2
t2 == b2Description
TRUEnever evaluated
FALSEevaluated 7739 times by 45 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
)
0-7739
440 return
never executed: return QRectF();
QRectF();
never executed: return QRectF();
0
441-
442 if (t1 >= b2
t1 >= b2Description
TRUEevaluated 1607 times by 6 tests
Evaluated by:
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QPlainTextEdit
  • tst_QTextBrowser
  • tst_QTextDocumentLayout
  • tst_QTextEdit
FALSEevaluated 6132 times by 45 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
|| t2 >= b1
t2 >= b1Description
TRUEevaluated 8 times by 5 tests
Evaluated by:
  • tst_QGraphicsProxyWidget
  • tst_QPlainTextEdit
  • tst_QSplitter
  • tst_QTextBrowser
  • tst_QTextEdit
FALSEevaluated 6124 times by 45 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
)
8-6132
443 return
executed 1615 times by 7 tests: return QRectF();
Executed by:
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QPlainTextEdit
  • tst_QSplitter
  • tst_QTextBrowser
  • tst_QTextDocumentLayout
  • tst_QTextEdit
QRectF();
executed 1615 times by 7 tests: return QRectF();
Executed by:
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsView
  • tst_QPlainTextEdit
  • tst_QSplitter
  • tst_QTextBrowser
  • tst_QTextDocumentLayout
  • tst_QTextEdit
1615
444-
445 QRectF tmp;-
446 tmp.xp = qMax(l1, l2);-
447 tmp.yp = qMax(t1, t2);-
448 tmp.w = qMin(r1, r2) - tmp.xp;-
449 tmp.h = qMin(b1, b2) - tmp.yp;-
450 return
executed 6124 times by 45 tests: return tmp;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
tmp;
executed 6124 times by 45 tests: return tmp;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDialog
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsLayout
  • tst_QGraphicsLinearLayout
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • ...
6124
451}-
452bool QRectF::intersects(const QRectF &r) const noexcept-
453{-
454 qreal l1 = xp;-
455 qreal r1 = xp;-
456 if (w < 0
w < 0Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 1467739 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
)
4-1467739
457 l1 += w;
executed 4 times by 1 test: l1 += w;
Executed by:
  • tst_QRect
4
458 else-
459 r1 += w;
executed 1467739 times by 35 tests: r1 += w;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
1467739
460 if (l1 == r1
l1 == r1Description
TRUEevaluated 114 times by 3 tests
Evaluated by:
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QRect
FALSEevaluated 1467629 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
)
114-1467629
461 return
executed 114 times by 3 tests: return false;
Executed by:
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QRect
false;
executed 114 times by 3 tests: return false;
Executed by:
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QRect
114
462-
463 qreal l2 = r.xp;-
464 qreal r2 = r.xp;-
465 if (r.w < 0
r.w < 0Description
TRUEevaluated 5 times by 2 tests
Evaluated by:
  • tst_QGraphicsScene
  • tst_QRect
FALSEevaluated 1467624 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
)
5-1467624
466 l2 += r.w;
executed 5 times by 2 tests: l2 += r.w;
Executed by:
  • tst_QGraphicsScene
  • tst_QRect
5
467 else-
468 r2 += r.w;
executed 1467624 times by 35 tests: r2 += r.w;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
1467624
469 if (l2 == r2
l2 == r2Description
TRUEevaluated 2 times by 2 tests
Evaluated by:
  • tst_QGraphicsScene
  • tst_QRect
FALSEevaluated 1467627 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
)
2-1467627
470 return
executed 2 times by 2 tests: return false;
Executed by:
  • tst_QGraphicsScene
  • tst_QRect
false;
executed 2 times by 2 tests: return false;
Executed by:
  • tst_QGraphicsScene
  • tst_QRect
2
471-
472 if (l1 >= r2
l1 >= r2Description
TRUEevaluated 700051 times by 9 tests
Evaluated by:
  • tst_Gestures
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QTextTable
FALSEevaluated 767576 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
|| l2 >= r1
l2 >= r1Description
TRUEevaluated 694913 times by 9 tests
Evaluated by:
  • tst_Gestures
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPathClipper
  • tst_QRect
FALSEevaluated 72663 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
)
72663-767576
473 return
executed 1394964 times by 11 tests: return false;
Executed by:
  • tst_Gestures
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QRect
  • tst_QTextTable
false;
executed 1394964 times by 11 tests: return false;
Executed by:
  • tst_Gestures
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QRect
  • tst_QTextTable
1394964
474-
475 qreal t1 = yp;-
476 qreal b1 = yp;-
477 if (h < 0
h < 0Description
TRUEevaluated 3 times by 1 test
Evaluated by:
  • tst_QRect
FALSEevaluated 72660 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
)
3-72660
478 t1 += h;
executed 3 times by 1 test: t1 += h;
Executed by:
  • tst_QRect
3
479 else-
480 b1 += h;
executed 72660 times by 35 tests: b1 += h;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
72660
481 if (t1 == b1
t1 == b1Description
TRUEnever evaluated
FALSEevaluated 72663 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
)
0-72663
482 return
never executed: return false;
false;
never executed: return false;
0
483-
484 qreal t2 = r.yp;-
485 qreal b2 = r.yp;-
486 if (r.h < 0
r.h < 0Description
TRUEevaluated 4 times by 2 tests
Evaluated by:
  • tst_QGraphicsScene
  • tst_QRect
FALSEevaluated 72659 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
)
4-72659
487 t2 += r.h;
executed 4 times by 2 tests: t2 += r.h;
Executed by:
  • tst_QGraphicsScene
  • tst_QRect
4
488 else-
489 b2 += r.h;
executed 72659 times by 35 tests: b2 += r.h;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
72659
490 if (t2 == b2
t2 == b2Description
TRUEnever evaluated
FALSEevaluated 72663 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
)
0-72663
491 return
never executed: return false;
false;
never executed: return false;
0
492-
493 if (t1 >= b2
t1 >= b2Description
TRUEevaluated 27941 times by 9 tests
Evaluated by:
  • tst_QGraphicsItem
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainterPath
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextTable
FALSEevaluated 44722 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
|| t2 >= b1
t2 >= b1Description
TRUEevaluated 34464 times by 11 tests
Evaluated by:
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QRect
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextTable
FALSEevaluated 10258 times by 35 tests
Evaluated by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
)
10258-44722
494 return
executed 62405 times by 12 tests: return false;
Executed by:
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QRect
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextTable
false;
executed 62405 times by 12 tests: return false;
Executed by:
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QRect
  • tst_QTextDocumentLayout
  • tst_QTextEdit
  • tst_QTextTable
62405
495-
496 return
executed 10258 times by 35 tests: return true;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
true;
executed 10258 times by 35 tests: return true;
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAccessibility
  • tst_QCalendarWidget
  • tst_QComboBox
  • tst_QCompleter
  • tst_QDoubleSpinBox
  • tst_QFileDialog2
  • tst_QFiledialog
  • tst_QFontDialog
  • tst_QGraphicsEffect
  • tst_QGraphicsEffectSource
  • tst_QGraphicsItem
  • tst_QGraphicsProxyWidget
  • tst_QGraphicsScene
  • tst_QGraphicsSceneIndex
  • tst_QGraphicsView
  • tst_QGraphicsWidget
  • tst_QInputDialog
  • tst_QItemDelegate
  • tst_QLineEdit
  • tst_QPainterPath
  • tst_QPathClipper
  • tst_QPrinter
  • tst_QRect
  • ...
10258
497}-
498QRect QRectF::toAlignedRect() const noexcept-
499{-
500 int xmin = int(qFloor(xp));-
501 int xmax = int(qCeil(xp + w));-
502 int ymin = int(qFloor(yp));-
503 int ymax = int(qCeil(yp + h));-
504 return
executed 50550 times by 107 tests: return QRect(xmin, ymin, xmax - xmin, ymax - ymin);
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • ...
QRect(xmin, ymin, xmax - xmin, ymax - ymin);
executed 50550 times by 107 tests: return QRect(xmin, ymin, xmax - xmin, ymax - ymin);
Executed by:
  • tst_Gestures
  • tst_QAbstractItemView
  • tst_QAbstractScrollArea
  • tst_QAccessibility
  • tst_QApplication
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QCompleter
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDialog
  • tst_QDialogButtonBox
  • tst_QDockWidget
  • tst_QDoubleSpinBox
  • tst_QErrorMessage
  • tst_QFileDialog2
  • tst_QFileSystemModel
  • tst_QFiledialog
  • tst_QFocusEvent
  • ...
50550
505}-
506QDataStream &operator<<(QDataStream &s, const QRectF &r)-
507{-
508 s << double(r.x()) << double(r.y()) << double(r.width()) << double(r.height());-
509 return
executed 72 times by 3 tests: return s;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
s;
executed 72 times by 3 tests: return s;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
72
510}-
511QDataStream &operator>>(QDataStream &s, QRectF &r)-
512{-
513 double x, y, w, h;-
514 s >> x;-
515 s >> y;-
516 s >> w;-
517 s >> h;-
518 r.setRect(qreal(x), qreal(y), qreal(w), qreal(h));-
519 return
executed 75 times by 3 tests: return s;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
s;
executed 75 times by 3 tests: return s;
Executed by:
  • tst_QDataStream
  • tst_QMetaType
  • tst_QVariant
75
520}-
521-
522-
523-
524-
525-
526QDebug operator<<(QDebug dbg, const QRectF &r)-
527{-
528 QDebugStateSaver saver(dbg);-
529 dbg.nospace();-
530 dbg << "QRectF" << '(';-
531 QtDebugUtils::formatQRect(dbg, r);-
532 dbg << ')';-
533 return
executed 40 times by 4 tests: return dbg;
Executed by:
  • tst_QDebug
  • tst_QGraphicsAnchorLayout
  • tst_QTextLayout
  • tst_QVariant
dbg;
executed 40 times by 4 tests: return dbg;
Executed by:
  • tst_QDebug
  • tst_QGraphicsAnchorLayout
  • tst_QTextLayout
  • tst_QVariant
40
534}-
535-
536-
537-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9