QtBase - 2016-12-13 07:58:44 +0000

Function Tree

Path:<top>::QXcbClipboard
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
handleSelectionRequest
Name: QXcbClipboard::handleSelectionRequest
Prototype: void QXcbClipboard::handleSelectionRequest(xcb_selection_request_event_t *req)
Coverage:  60.606% (40/66)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 603-724
 60.606% (40/66)
8018
clipboardReadProperty
Name: QXcbClipboard::clipboardReadProperty
Prototype: bool QXcbClipboard::clipboardReadProperty(xcb_window_t win, xcb_atom_t property, bool deleteProperty, QByteArray *buffer, int *size, xcb_atom_t *type, int *format)
Coverage:  55.000% (22/40)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 754-838
 55.000% (22/40)
5112
setMimeData
Name: QXcbClipboard::setMimeData
Prototype: void QXcbClipboard::setMimeData(QMimeData *data, QClipboard::Mode mode)
Coverage:  78.788% (26/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 389-434
 78.788% (26/33)
2711
clipboardReadIncrementalProperty
Name: QXcbClipboard::clipboardReadIncrementalProperty
Prototype: QByteArray QXcbClipboard::clipboardReadIncrementalProperty(xcb_window_t win, xcb_atom_t property, int nbytes, bool nullterm)
Coverage:  0.000% (0/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 928-991
  0.000% (0/35)
4011
waitForClipboardEvent
Name: QXcbClipboard::waitForClipboardEvent
Prototype: xcb_generic_event_t *QXcbClipboard::waitForClipboardEvent(xcb_window_t win, int type, int timeout, bool checkManager)
Coverage:  72.222% (13/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 888-926
 72.222% (13/18)
256
sendSelection
Name: QXcbClipboard::sendSelection
Prototype: xcb_atom_t QXcbClipboard::sendSelection(QMimeData *d, xcb_atom_t target, xcb_window_t window, xcb_atom_t property)
Coverage:  50.000% (9/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 531-573
 50.000% (9/18)
246
~QXcbClipboard
Name: QXcbClipboard::~QXcbClipboard
Prototype: QXcbClipboard::~QXcbClipboard()
Coverage:  76.471% (13/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 305-334
 76.471% (13/17)
175
handleXFixesSelectionRequest
Name: QXcbClipboard::handleXFixesSelectionRequest
Prototype: void QXcbClipboard::handleXFixesSelectionRequest(xcb_xfixes_selection_notify_event_t *event)
Coverage:  61.111% (11/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 726-745
 61.111% (11/18)
115
handleSelectionClearRequest
Name: QXcbClipboard::handleSelectionClearRequest
Prototype: void QXcbClipboard::handleSelectionClearRequest(xcb_selection_clear_event_t *event)
Coverage:  46.667% (7/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 575-601
 46.667% (7/15)
115
getSelection
Name: QXcbClipboard::getSelection
Prototype: QByteArray QXcbClipboard::getSelection(xcb_atom_t selection, xcb_atom_t target, xcb_atom_t property, xcb_timestamp_t time)
Coverage:  47.368% (9/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 998-1026
 47.368% (9/19)
175
sendTargetsSelection
Name: QXcbClipboard::sendTargetsSelection
Prototype: xcb_atom_t QXcbClipboard::sendTargetsSelection(QMimeData *d, xcb_window_t window, xcb_atom_t property)
Coverage:  90.000% (9/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 510-529
 90.000% (9/10)
144
mimeData
Name: QXcbClipboard::mimeData
Prototype: QMimeData * QXcbClipboard::mimeData(QClipboard::Mode mode)
Coverage:  80.000% (8/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 373-387
 80.000% (8/10)
84
modeForAtom
Name: QXcbClipboard::modeForAtom
Prototype: QClipboard::Mode QXcbClipboard::modeForAtom(xcb_atom_t a) const
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 362-370
 71.429% (5/7)
53
incrTransactionPeeker
Name: QXcbClipboard::incrTransactionPeeker
Prototype: void QXcbClipboard::incrTransactionPeeker(xcb_generic_event_t *ge, bool &accepted)
Coverage:  0.000% (0/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 336-346
  0.000% (0/7)
63
atomForMode
Name: QXcbClipboard::atomForMode
Prototype: xcb_atom_t QXcbClipboard::atomForMode(QClipboard::Mode mode) const
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 353-360
 71.429% (5/7)
53
supportsMode
Name: QXcbClipboard::supportsMode
Prototype: bool QXcbClipboard::supportsMode(QClipboard::Mode mode) const
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 436-441
100.000% (4/4)
32
setRequestor
Name: QXcbClipboard::setRequestor
Prototype: void QXcbClipboard::setRequestor(xcb_window_t window)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 497-503
 50.000% (2/4)
32
requestor
Name: QXcbClipboard::requestor
Prototype: xcb_window_t QXcbClipboard::requestor() const
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 458-495
 83.333% (5/6)
212
ownsMode
Name: QXcbClipboard::ownsMode
Prototype: bool QXcbClipboard::ownsMode(QClipboard::Mode mode) const
Coverage:  83.333% (5/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 443-451
 83.333% (5/6)
42
QXcbClipboard
Name: QXcbClipboard::QXcbClipboard
Prototype: QXcbClipboard::QXcbClipboard(QXcbConnection *c)
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 268-303
 75.000% (3/4)
222
screen
Name: QXcbClipboard::screen
Prototype: QXcbScreen *QXcbClipboard::screen() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 453-456
100.000% (1/1)
11
owner
Name: QXcbClipboard::owner
Prototype: xcb_window_t QXcbClipboard::owner() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 505-508
100.000% (1/1)
11
getSelectionOwner
Name: QXcbClipboard::getSelectionOwner
Prototype: xcb_window_t QXcbClipboard::getSelectionOwner(xcb_atom_t atom) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 348-351
100.000% (1/1)
11
getDataInFormat
Name: QXcbClipboard::getDataInFormat
Prototype: QByteArray QXcbClipboard::getDataInFormat(xcb_atom_t modeAtom, xcb_atom_t fmtAtom)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbclipboard.cpp
Lines: 993-996
100.000% (1/1)
11

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