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