Function | Condition % | eLOC - Effective Lines of Code | McCabe - Cyclomatic Complexityâ–¾ |
tryLock_sysName: | 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 |
| | 21 | 9 |
isApparentlyStaleName: | 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 |
| | 15 | 7 |
getLockInfoName: | 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 |
| | 19 | 6 |
processNameByPidName: | 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 |
| | 8 | 5 |
checkFcntlWorksAfterFlockName: | 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 |
| | 15 | 4 |
removeStaleLockName: | 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 |
| | 7 | 2 |
processNameByPidName: | QLockFilePrivate::processNameByPid | Coverage: | 0.000% (0/1) |
| | 0 | 1 |