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

Function Tree

Path:<top>::QSharedMemoryPrivate
FunctionCondition %eLOC - Effective Lines of Codeā–“McCabe - Cyclomatic Complexity
QSharedMemoryPrivate
Name: QSharedMemoryPrivate::QSharedMemoryPrivate
Prototype: QSharedMemoryPrivate::QSharedMemoryPrivate()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsharedmemory_unix.cpp
Lines: 67-78
100.000% (1/1)
21
cleanHandle
Name: QSharedMemoryPrivate::cleanHandle
Prototype: bool QSharedMemoryPrivate::cleanHandle()
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsharedmemory_systemv.cpp
Lines: 129-133
100.000% (1/1)
21
createUnixKeyFile
Name: QSharedMemoryPrivate::createUnixKeyFile
Prototype: int QSharedMemoryPrivate::createUnixKeyFile(const QString &fileName)
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsharedmemory_systemv.cpp
Lines: 112-124
100.000% (8/8)
83
makePlatformSafeKey
Name: QSharedMemoryPrivate::makePlatformSafeKey
Prototype: QString QSharedMemoryPrivate::makePlatformSafeKey(const QString &key, const QString &prefix)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsharedmemory.cpp
Lines: 61-83
100.000% (4/4)
92
attach
Name: QSharedMemoryPrivate::attach
Prototype: bool QSharedMemoryPrivate::attach(QSharedMemory::AccessMode mode)
Coverage:  45.455% (5/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsharedmemory_systemv.cpp
Lines: 175-202
 45.455% (5/11)
154
setErrorString
Name: QSharedMemoryPrivate::setErrorString
Prototype: void QSharedMemoryPrivate::setErrorString(QLatin1String function)
Coverage:  16.667% (2/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsharedmemory_unix.cpp
Lines: 80-109
 16.667% (2/12)
158
handle
Name: QSharedMemoryPrivate::handle
Prototype: key_t QSharedMemoryPrivate::handle()
Coverage:  69.231% (9/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsharedmemory_systemv.cpp
Lines: 71-98
 69.231% (9/13)
165
create
Name: QSharedMemoryPrivate::create
Prototype: bool QSharedMemoryPrivate::create(int size)
Coverage:  56.000% (14/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsharedmemory_systemv.cpp
Lines: 135-173
 56.000% (14/25)
239
initKey
Name: QSharedMemoryPrivate::initKey
Prototype: bool QSharedMemoryPrivate::initKey()
Coverage:  45.000% (9/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsharedmemory.cpp
Lines: 242-279
 45.000% (9/20)
2410
detach
Name: QSharedMemoryPrivate::detach
Prototype: bool QSharedMemoryPrivate::detach()
Coverage:  30.769% (8/26)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qsharedmemory_systemv.cpp
Lines: 204-253
 30.769% (8/26)
2612

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