| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/qqmlprofilereventtype.cpp |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | QDataStream &operator>>(QDataStream &stream, QQmlProfilerEventType &type) | - |
| 7 | { | - |
| 8 | quint8 message; | - |
| 9 | quint8 rangeType; | - |
| 10 | stream >> type.m_displayName >> type.m_data >> type.m_location >> message >> rangeType | - |
| 11 | >> type.m_detailType; | - |
| 12 | type.m_message = static_cast<Message>(message); | - |
| 13 | type.m_rangeType = static_cast<RangeType>(rangeType); | - |
| 14 | return never executed: stream;return stream;never executed: return stream; | 0 |
| 15 | } | - |
| 16 | - | |
| 17 | QDataStream &operator<<(QDataStream &stream, const QQmlProfilerEventType &type) | - |
| 18 | { | - |
| 19 | return never executed: stream << type.m_displayName << type.m_data << type.m_locationreturn stream << type.m_displayName << type.m_data << type.m_location << static_cast<quint8>(type.m_message) << static_cast<quint8>(type.m_rangeType) << type.m_detailType;never executed: return stream << type.m_displayName << type.m_data << type.m_location << static_cast<quint8>(type.m_message) << static_cast<quint8>(type.m_rangeType) << type.m_detailType; | 0 |
| 20 | << static_cast<quint8>(type.m_message) << static_cast<quint8>(type.m_rangeType) never executed: return stream << type.m_displayName << type.m_data << type.m_location << static_cast<quint8>(type.m_message) << static_cast<quint8>(type.m_rangeType) << type.m_detailType; | 0 |
| 21 | << type.m_detailType; never executed: return stream << type.m_displayName << type.m_data << type.m_location << static_cast<quint8>(type.m_message) << static_cast<quint8>(type.m_rangeType) << type.m_detailType; | 0 |
| 22 | } | - |
| 23 | - | |
| 24 | ProfileFeature QQmlProfilerEventType::feature() const | - |
| 25 | { | - |
| 26 | switch (m_message) { | - |
| 27 | case executed 103 times by 1 test: Event:case Event:Executed by:
executed 103 times by 1 test: {case Event:Executed by:
| 103 |
| 28 | switch (m_detailType) { | - |
| 29 | case never executed: Mouse:case Mouse:never executed: case Mouse: | 0 |
| 30 | case never executed: Key:case Key:never executed: case Key: | 0 |
| 31 | return never executed: ProfileInputEvents;return ProfileInputEvents;never executed: return ProfileInputEvents; | 0 |
| 32 | case executed 103 times by 1 test: AnimationFrame:case AnimationFrame:Executed by:
executed 103 times by 1 test: case AnimationFrame:Executed by:
| 103 |
| 33 | return executed 103 times by 1 test: ProfileAnimations;return ProfileAnimations;Executed by:
executed 103 times by 1 test: return ProfileAnimations;Executed by:
| 103 |
| 34 | default never executed: :default:never executed: default: | 0 |
| 35 | return never executed: MaximumProfileFeature;return MaximumProfileFeature;never executed: return MaximumProfileFeature; | 0 |
| 36 | } | - |
| 37 | } | - |
| 38 | case executed 8 times by 1 test: PixmapCacheEvent:case PixmapCacheEvent:Executed by:
executed 8 times by 1 test: case PixmapCacheEvent:Executed by:
| 8 |
| 39 | return executed 8 times by 1 test: ProfilePixmapCache;return ProfilePixmapCache;Executed by:
executed 8 times by 1 test: return ProfilePixmapCache;Executed by:
| 8 |
| 40 | case never executed: SceneGraphFrame:case SceneGraphFrame:never executed: case SceneGraphFrame: | 0 |
| 41 | return never executed: ProfileSceneGraph;return ProfileSceneGraph;never executed: return ProfileSceneGraph; | 0 |
| 42 | case executed 465 times by 1 test: MemoryAllocation:case MemoryAllocation:Executed by:
executed 465 times by 1 test: case MemoryAllocation:Executed by:
| 465 |
| 43 | return executed 465 times by 1 test: ProfileMemory;return ProfileMemory;Executed by:
executed 465 times by 1 test: return ProfileMemory;Executed by:
| 465 |
| 44 | case never executed: DebugMessage:case DebugMessage:never executed: case DebugMessage: | 0 |
| 45 | return never executed: ProfileDebugMessages;return ProfileDebugMessages;never executed: return ProfileDebugMessages; | 0 |
| 46 | default executed 742 times by 1 test: :default:Executed by:
executed 742 times by 1 test: default:Executed by:
| 742 |
| 47 | break; executed 742 times by 1 test: break;Executed by:
| 742 |
| 48 | } | - |
| 49 | - | |
| 50 | switch (m_rangeType) { | - |
| 51 | case never executed: Painting:case Painting:never executed: case Painting: | 0 |
| 52 | return never executed: ProfilePainting;return ProfilePainting;never executed: return ProfilePainting; | 0 |
| 53 | case executed 72 times by 1 test: Compiling:case Compiling:Executed by:
executed 72 times by 1 test: case Compiling:Executed by:
| 72 |
| 54 | return executed 72 times by 1 test: ProfileCompiling;return ProfileCompiling;Executed by:
executed 72 times by 1 test: return ProfileCompiling;Executed by:
| 72 |
| 55 | case executed 120 times by 1 test: Creating:case Creating:Executed by:
executed 120 times by 1 test: case Creating:Executed by:
| 120 |
| 56 | return executed 120 times by 1 test: ProfileCreating;return ProfileCreating;Executed by:
executed 120 times by 1 test: return ProfileCreating;Executed by:
| 120 |
| 57 | case executed 6 times by 1 test: Binding:case Binding:Executed by:
executed 6 times by 1 test: case Binding:Executed by:
| 6 |
| 58 | return executed 6 times by 1 test: ProfileBinding;return ProfileBinding;Executed by:
executed 6 times by 1 test: return ProfileBinding;Executed by:
| 6 |
| 59 | case executed 246 times by 1 test: HandlingSignal:case HandlingSignal:Executed by:
executed 246 times by 1 test: case HandlingSignal:Executed by:
| 246 |
| 60 | return executed 246 times by 1 test: ProfileHandlingSignal;return ProfileHandlingSignal;Executed by:
executed 246 times by 1 test: return ProfileHandlingSignal;Executed by:
| 246 |
| 61 | case executed 298 times by 1 test: Javascript:case Javascript:Executed by:
executed 298 times by 1 test: case Javascript:Executed by:
| 298 |
| 62 | return executed 298 times by 1 test: ProfileJavaScript;return ProfileJavaScript;Executed by:
executed 298 times by 1 test: return ProfileJavaScript;Executed by:
| 298 |
| 63 | default never executed: :default:never executed: default: | 0 |
| 64 | return never executed: MaximumProfileFeature;return MaximumProfileFeature;never executed: return MaximumProfileFeature; | 0 |
| 65 | } | - |
| 66 | } | - |
| 67 | - | |
| 68 | - | |
| 69 | - | |
| Switch to Source code | Preprocessed file |