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

Function Tree

Path:<top>::QLockFile
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–´
QLockFile
Name: QLockFile::QLockFile
Prototype: QLockFile::QLockFile(const QString &fileName)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 110-113
100.000% (1/1)
21
error
Name: QLockFile::error
Prototype: QLockFile::LockError QLockFile::error() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 342-346
100.000% (1/1)
21
getLockInfo
Name: QLockFile::getLockInfo
Prototype: bool QLockFile::getLockInfo(qint64 *pid, QString *hostname, QString *appname) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 282-286
100.000% (1/1)
21
isLocked
Name: QLockFile::isLocked
Prototype: bool QLockFile::isLocked() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 164-168
100.000% (1/1)
21
lock
Name: QLockFile::lock
Prototype: bool QLockFile::lock()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 185-188
100.000% (1/1)
11
setStaleLockTime
Name: QLockFile::setStaleLockTime
Prototype: void QLockFile::setStaleLockTime(int staleLockTime)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 140-144
100.000% (1/1)
21
staleLockTime
Name: QLockFile::staleLockTime
Prototype: int QLockFile::staleLockTime() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 152-156
  0.000% (0/1)
21
~QLockFile
Name: QLockFile::~QLockFile
Prototype: QLockFile::~QLockFile()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 119-122
100.000% (1/1)
11
removeStaleLockFile
Name: QLockFile::removeStaleLockFile
Prototype: bool QLockFile::removeStaleLockFile()
Coverage:  0.000% (0/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 326-334
  0.000% (0/4)
52
unlock
Name: QLockFile::unlock
Prototype: void QLockFile::unlock()
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile_unix.cpp
Lines: 320-333
 71.429% (5/7)
93
tryLock
Name: QLockFile::tryLock
Prototype: bool QLockFile::tryLock(int timeout)
Coverage:  77.143% (27/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qlockfile.cpp
Lines: 210-246
 77.143% (27/35)
2312

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