OpenCoverage

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

Function Tree

Path:<top>::QSocketNotifier
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
~QSocketNotifier
Name: QSocketNotifier::~QSocketNotifier
Prototype: QSocketNotifier::~QSocketNotifier()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsocketnotifier.cpp
Lines: 162-165
100.000% (1/1)
11
type
Name: QSocketNotifier::type
Prototype: QSocketNotifier::Type QSocketNotifier::type() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsocketnotifier.cpp
Lines: 196-200
100.000% (1/1)
21
socket
Name: QSocketNotifier::socket
Prototype: qintptr QSocketNotifier::socket() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsocketnotifier.cpp
Lines: 185-189
100.000% (1/1)
21
isEnabled
Name: QSocketNotifier::isEnabled
Prototype: bool QSocketNotifier::isEnabled() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsocketnotifier.cpp
Lines: 207-211
100.000% (1/1)
21
event
Name: QSocketNotifier::event
Prototype: bool QSocketNotifier::event(QEvent *e)
Coverage:  91.667% (11/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsocketnotifier.cpp
Lines: 252-270
 91.667% (11/12)
114
setEnabled
Name: QSocketNotifier::setEnabled
Prototype: void QSocketNotifier::setEnabled(bool enable)
Coverage:  75.000% (12/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsocketnotifier.cpp
Lines: 228-247
 75.000% (12/16)
146
QSocketNotifier
Name: QSocketNotifier::QSocketNotifier
Prototype: QSocketNotifier::QSocketNotifier(qintptr socket, Type type, QObject *parent)
Coverage:  42.857% (3/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsocketnotifier.cpp
Lines: 142-156
 42.857% (3/7)
93

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