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

Function Tree

Path:<top>::QProcessPrivate
FunctionCondition %eLOC - Effective Lines of Codeā–¾McCabe - Cyclomatic Complexity
startProcess
Name: QProcessPrivate::startProcess
Prototype: void QProcessPrivate::startProcess()
Coverage:  80.263% (61/76)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 366-549
 80.263% (61/76)
9124
startDetached
Name: QProcessPrivate::startDetached
Prototype: bool QProcessPrivate::startDetached(const QString &program, const QStringList &arguments, const QString &workingDirectory, qint64 *pid)
Coverage:  25.000% (14/56)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 932-1045
 25.000% (14/56)
8017
openChannel
Name: QProcessPrivate::openChannel
Prototype: bool QProcessPrivate::openChannel(Channel &channel)
Coverage:  80.392% (41/51)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 209-311
 80.392% (41/51)
6515
tryReadFromChannel
Name: QProcessPrivate::tryReadFromChannel
Prototype: bool QProcessPrivate::tryReadFromChannel(Channel *channel)
Coverage:  79.070% (34/43)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 1006-1076
 79.070% (34/43)
4414
execChild
Name: QProcessPrivate::execChild
Prototype: void QProcessPrivate::execChild(const char *workingDir, char **path, char **argv, char **envp)
Coverage:  0.000% (0/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 551-623
  0.000% (0/33)
3211
waitForReadyRead
Name: QProcessPrivate::waitForReadyRead
Prototype: bool QProcessPrivate::waitForReadyRead(int msecs)
Coverage:  85.714% (36/42)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 758-809
 85.714% (36/42)
3114
start
Name: QProcessPrivate::start
Prototype: void QProcessPrivate::start(QIODevice::OpenMode mode)
Coverage:  86.667% (26/30)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 2146-2185
 86.667% (26/30)
268
cleanup
Name: QProcessPrivate::cleanup
Prototype: void QProcessPrivate::cleanup()
Coverage:  68.421% (13/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 903-956
 68.421% (13/19)
267
waitForFinished
Name: QProcessPrivate::waitForFinished
Prototype: bool QProcessPrivate::waitForFinished(int msecs)
Coverage:  65.517% (19/29)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 858-900
 65.517% (19/29)
2411
waitForBytesWritten
Name: QProcessPrivate::waitForBytesWritten
Prototype: bool QProcessPrivate::waitForBytesWritten(int msecs)
Coverage:  25.806% (8/31)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 811-856
 25.806% (8/31)
2411
_q_processDied
Name: QProcessPrivate::_q_processDied
Prototype: bool QProcessPrivate::_q_processDied()
Coverage:  63.158% (12/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 1121-1185
 63.158% (12/19)
227
QProcessPrivate
Name: QProcessPrivate::QProcessPrivate
Prototype: QProcessPrivate::QProcessPrivate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 862-887
100.000% (1/1)
191
setError
Name: QProcessPrivate::setError
Prototype: void QProcessPrivate::setError(QProcess::ProcessError error, const QString &description)
Coverage:  62.500% (10/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 961-988
 62.500% (10/16)
168
processStarted
Name: QProcessPrivate::processStarted
Prototype: bool QProcessPrivate::processStarted(QString *errorMessage)
Coverage:  88.235% (15/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 625-653
 88.235% (15/17)
165
writeToStdin
Name: QProcessPrivate::writeToStdin
Prototype: bool QProcessPrivate::writeToStdin()
Coverage:  75.000% (9/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 684-714
 75.000% (9/12)
154
_q_startupNotification
Name: QProcessPrivate::_q_startupNotification
Prototype: bool QProcessPrivate::_q_startupNotification()
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 1190-1215
100.000% (7/7)
143
waitForDeadChild
Name: QProcessPrivate::waitForDeadChild
Prototype: bool QProcessPrivate::waitForDeadChild()
Coverage:  57.143% (8/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 906-930
 57.143% (8/14)
124
Channel
Name: QProcessPrivate::Channel
Coverage:  60.000% (3/5)
 60.000% (3/5)
123
_q_canWrite
Name: QProcessPrivate::_q_canWrite
Prototype: bool QProcessPrivate::_q_canWrite()
Coverage:  76.471% (13/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 1097-1116
 76.471% (13/17)
105
waitForStarted
Name: QProcessPrivate::waitForStarted
Prototype: bool QProcessPrivate::waitForStarted(int msecs)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 734-756
 50.000% (2/4)
62
destroyPipe
Name: QProcessPrivate::destroyPipe
Prototype: void QProcessPrivate::destroyPipe(int *pipe)
Coverage: 100.000% (7/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 187-197
100.000% (7/7)
63
bytesAvailableInChannel
Name: QProcessPrivate::bytesAvailableInChannel
Prototype: qint64 QProcessPrivate::bytesAvailableInChannel(const Channel *channel) const
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 655-666
 75.000% (3/4)
62
setErrorAndEmit
Name: QProcessPrivate::setErrorAndEmit
Prototype: void QProcessPrivate::setErrorAndEmit(QProcess::ProcessError error, const QString &description)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 993-1000
100.000% (1/1)
51
readFromChannel
Name: QProcessPrivate::readFromChannel
Prototype: qint64 QProcessPrivate::readFromChannel(const Channel *channel, char *data, qint64 maxlen)
Coverage:  33.333% (2/6)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 668-682
 33.333% (2/6)
52
~QProcessPrivate
Name: QProcessPrivate::~QProcessPrivate
Prototype: QProcessPrivate::~QProcessPrivate()
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 892-898
 71.429% (5/7)
43
closeWriteChannel
Name: QProcessPrivate::closeWriteChannel
Prototype: void QProcessPrivate::closeWriteChannel()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 1220-1235
 75.000% (3/4)
42
terminateProcess
Name: QProcessPrivate::terminateProcess
Prototype: void QProcessPrivate::terminateProcess()
Coverage:  75.000% (3/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 716-723
 75.000% (3/4)
22
killProcess
Name: QProcessPrivate::killProcess
Prototype: void QProcessPrivate::killProcess()
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 725-732
100.000% (4/4)
22
closeChannel
Name: QProcessPrivate::closeChannel
Prototype: void QProcessPrivate::closeChannel(Channel *channel)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess_unix.cpp
Lines: 199-202
100.000% (1/1)
11
_q_canReadStandardOutput
Name: QProcessPrivate::_q_canReadStandardOutput
Prototype: bool QProcessPrivate::_q_canReadStandardOutput()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 1081-1084
100.000% (1/1)
11
_q_canReadStandardError
Name: QProcessPrivate::_q_canReadStandardError
Prototype: bool QProcessPrivate::_q_canReadStandardError()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qprocess.cpp
Lines: 1089-1092
100.000% (1/1)
11

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