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

Function Tree

Path:<top>::QMetaType
FunctionCondition %▾eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
typeName
Name: QMetaType::typeName
Prototype: const char *QMetaType::typeName(int typeId)
Coverage: 100.000% (159/159)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 836-871
100.000% (159/159)
1678
typeInfo
Name: QMetaType::typeInfo
Prototype: QMetaType QMetaType::typeInfo(const int type)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2268-2285
100.000% (1/1)
151
typeFlags
Name: QMetaType::typeFlags
Prototype: QMetaType::TypeFlags QMetaType::typeFlags(int type)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2006-2010
100.000% (1/1)
21
type
Name: QMetaType::type
Prototype: int QMetaType::type(const char *typeName)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1218-1221
100.000% (1/1)
11
type
Name: QMetaType::type
Prototype: int QMetaType::type(const ::QByteArray &typeName)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1244-1247
100.000% (1/1)
11
sizeOf
Name: QMetaType::sizeOf
Prototype: int QMetaType::sizeOf(int type)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1942-1946
100.000% (1/1)
21
sizeExtended
Name: QMetaType::sizeExtended
Prototype: uint QMetaType::sizeExtended() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2442-2445
100.000% (1/1)
11
registerTypedef
Name: QMetaType::registerTypedef
Prototype: int QMetaType::registerTypedef(const char* typeName, int aliasId)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1111-1120
100.000% (1/1)
21
registerType
Name: QMetaType::registerType
Prototype: int QMetaType::registerType(const char *typeName, Deleter deleter, Creator creator, Destructor destructor, Constructor constructor, int size, TypeFlags flags, const QMetaObject *metaObject)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 972-985
100.000% (1/1)
21
registerStreamOperators
Name: QMetaType::registerStreamOperators
Prototype: void QMetaType::registerStreamOperators(const char *typeName, SaveOperator saveOp, LoadOperator loadOp)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 806-810
100.000% (1/1)
11
registerNormalizedType
Name: QMetaType::registerNormalizedType
Prototype: int QMetaType::registerNormalizedType(const ::QByteArray &normalizedTypeName, Deleter deleter, Creator creator, Destructor destructor, Constructor constructor, int size, TypeFlags flags, const QMetaObject *metaObject)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 996-1005
100.000% (1/1)
31
registerConverterFunction
Name: QMetaType::registerConverterFunction
Prototype: bool QMetaType::registerConverterFunction(const QtPrivate::AbstractConverterFunction *f, int from, int to)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 645-653
100.000% (4/4)
52
operator =
Name: QMetaType::operator =
Prototype: QMetaType &QMetaType::operator =(const QMetaType &other)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2331-2346
100.000% (1/1)
131
metaObjectForType
Name: QMetaType::metaObjectForType
Prototype: const QMetaObject *QMetaType::metaObjectForType(int type)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2067-2076
100.000% (1/1)
21
isRegistered
Name: QMetaType::isRegistered
Prototype: bool QMetaType::isRegistered(int type)
Coverage: 100.000% (14/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1174-1186
100.000% (14/14)
72
hasRegisteredConverterFunction
Name: QMetaType::hasRegisteredConverterFunction
Prototype: bool QMetaType::hasRegisteredConverterFunction(int fromTypeId, int toTypeId)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 797-800
100.000% (1/1)
11
flagsExtended
Name: QMetaType::flagsExtended
Prototype: QMetaType::TypeFlags QMetaType::flagsExtended() const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2455-2458
100.000% (1/1)
11
equals
Name: QMetaType::equals
Prototype: bool QMetaType::equals(const void *lhs, const void *rhs, int typeId, int *result)
Coverage: 100.000% (8/8)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 758-769
100.000% (8/8)
83
destructExtended
Name: QMetaType::destructExtended
Prototype: void QMetaType::destructExtended(void *data) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2429-2432
100.000% (1/1)
11
destruct
Name: QMetaType::destruct
Prototype: void QMetaType::destruct(int type, void *where)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1877-1883
100.000% (4/4)
42
destroyExtended
Name: QMetaType::destroyExtended
Prototype: void QMetaType::destroyExtended(void *data) const
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2402-2406
100.000% (1/1)
21
destroy
Name: QMetaType::destroy
Prototype: void QMetaType::destroy(int type, void *data)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1717-1722
100.000% (1/1)
31
debugStream
Name: QMetaType::debugStream
Prototype: bool QMetaType::debugStream(QDebug& dbg, const void *rhs, int typeId)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 776-783
100.000% (4/4)
52
ctor
Name: QMetaType::ctor
Prototype: void QMetaType::ctor(const QMetaTypeInterface *info)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2356-2364
100.000% (1/1)
31
create
Name: QMetaType::create
Prototype: void *QMetaType::create(int type, const void *copy)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1704-1710
100.000% (4/4)
42
convert
Name: QMetaType::convert
Prototype: bool QMetaType::convert(const void *from, int fromTypeId, void *to, int toTypeId)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 724-729
100.000% (1/1)
31
construct
Name: QMetaType::construct
Prototype: void *QMetaType::construct(int type, void *where, const void *copy)
Coverage: 100.000% (4/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1803-1809
100.000% (4/4)
42
QMetaType
Name: QMetaType::QMetaType
Prototype: QMetaType::QMetaType(const int typeId)
Coverage: 100.000% (10/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2293-2308
100.000% (10/10)
84
unregisterType
Name: QMetaType::unregisterType
Prototype: bool QMetaType::unregisterType(int type)
Coverage:  94.118% (16/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 941-960
 94.118% (16/17)
105
save
Name: QMetaType::save
Prototype: bool QMetaType::save(QDataStream &stream, int type, const void *data)
Coverage:  86.331% (120/139)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1264-1469
 86.331% (120/139)
10582
load
Name: QMetaType::load
Prototype: bool QMetaType::load(QDataStream &stream, int type, void *data)
Coverage:  86.331% (120/139)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1485-1695
 86.331% (120/139)
11182
compare
Name: QMetaType::compare
Prototype: bool QMetaType::compare(const void *lhs, const void *rhs, int typeId, int* result)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 737-750
 84.615% (11/13)
104
registerStreamOperators
Name: QMetaType::registerStreamOperators
Prototype: void QMetaType::registerStreamOperators(int idx, SaveOperator saveOp, LoadOperator loadOp)
Coverage:  71.429% (5/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 815-827
 71.429% (5/7)
93
registerNormalizedTypedef
Name: QMetaType::registerNormalizedTypedef
Prototype: int QMetaType::registerNormalizedTypedef(const ::QByteArray &normalizedTypeName, int aliasId)
Coverage:  63.158% (12/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1130-1166
 63.158% (12/19)
266
registerNormalizedType
Name: QMetaType::registerNormalizedType
Prototype: int QMetaType::registerNormalizedType(const ::QByteArray &normalizedTypeName, Destructor destructor, Constructor constructor, int size, TypeFlags flags, const QMetaObject *metaObject)
Coverage:  52.632% (20/38)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1019-1103
 52.632% (20/38)
5411
unregisterConverterFunction
Name: QMetaType::unregisterConverterFunction
Prototype: void QMetaType::unregisterConverterFunction(int from, int to)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 660-665
 50.000% (2/4)
32
registerDebugStreamOperatorFunction
Name: QMetaType::registerDebugStreamOperatorFunction
Prototype: bool QMetaType::registerDebugStreamOperatorFunction(const QtPrivate::AbstractDebugStreamFunction *f, int type)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 692-700
 50.000% (2/4)
42
registerComparatorFunction
Name: QMetaType::registerComparatorFunction
Prototype: bool QMetaType::registerComparatorFunction(const QtPrivate::AbstractComparatorFunction *f, int type)
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 667-674
 50.000% (2/4)
42
createExtended
Name: QMetaType::createExtended
Prototype: void *QMetaType::createExtended(const void *copy) const
Coverage:  50.000% (2/4)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2386-2391
 50.000% (2/4)
32
registerType
Name: QMetaType::registerType
Prototype: int QMetaType::registerType(const char *typeName, Deleter deleter, Creator creator)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 922-928
  0.000% (0/1)
31
metaObjectExtended
Name: QMetaType::metaObjectExtended
Prototype: const QMetaObject *QMetaType::metaObjectExtended() const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2468-2471
  0.000% (0/1)
11
hasRegisteredDebugStreamOperator
Name: QMetaType::hasRegisteredDebugStreamOperator
Prototype: bool QMetaType::hasRegisteredDebugStreamOperator(int typeId)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 713-716
  0.000% (0/1)
11
hasRegisteredComparators
Name: QMetaType::hasRegisteredComparators
Prototype: bool QMetaType::hasRegisteredComparators(int typeId)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 686-689
  0.000% (0/1)
11
constructExtended
Name: QMetaType::constructExtended
Prototype: void *QMetaType::constructExtended(void *where, const void *copy) const
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2415-2420
  0.000% (0/1)
31
QMetaType
Name: QMetaType::QMetaType
Prototype: QMetaType::QMetaType(const QMetaType &other)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 2316-2329
  0.000% (0/1)
11

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