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

Function Tree

Path:<top>::QLockFilePrivate
FunctionCondition %▴eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
processNameByPid
Name: QLockFilePrivate::processNameByPid
Coverage:  0.000% (0/1)
  0.000% (0/1)
01
checkFcntlWorksAfterFlock
Name: QLockFilePrivate::checkFcntlWorksAfterFlock
Prototype: int QLockFilePrivate::checkFcntlWorksAfterFlock(const QString &fn)
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile_unix.cpp
Lines: 106-129
 40.000% (4/10)
154
processNameByPid
Name: QLockFilePrivate::processNameByPid
Prototype: QString QLockFilePrivate::processNameByPid(qint64 pid)
Coverage:  44.444% (4/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile_unix.cpp
Lines: 262-318
 44.444% (4/9)
85
tryLock_sys
Name: QLockFilePrivate::tryLock_sys
Prototype: QLockFile::LockError QLockFilePrivate::tryLock_sys()
Coverage:  47.368% (9/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile_unix.cpp
Lines: 181-227
 47.368% (9/19)
219
removeStaleLock
Name: QLockFilePrivate::removeStaleLock
Prototype: bool QLockFilePrivate::removeStaleLock()
Coverage:  50.000% (4/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile_unix.cpp
Lines: 229-238
 50.000% (4/8)
72
isApparentlyStale
Name: QLockFilePrivate::isApparentlyStale
Prototype: bool QLockFilePrivate::isApparentlyStale() const
Coverage:  52.174% (12/23)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile_unix.cpp
Lines: 240-260
 52.174% (12/23)
157
getLockInfo
Name: QLockFilePrivate::getLockInfo
Prototype: bool QLockFilePrivate::getLockInfo(qint64 *pid, QString *hostname, QString *appname) const
Coverage:  68.750% (11/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 288-311
 68.750% (11/16)
196

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