LCOV - code coverage report
Current view: top level - source/simulation2/components - CCmpTest.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 103 118 87.3 %
Date: 2023-01-19 00:18:29 Functions: 72 79 91.1 %

Function Name Sort by function name Hit count Sort by hit count
CCmpTest1B::Deserialize(CParamNode const&, IDeserializer&) 0
CCmpTest1B::Serialize(ISerializer&) 0
CCmpTest2Scripted::Deserialize(CParamNode const&, IDeserializer&) 0
CCmpTest2Scripted::Serialize(ISerializer&) 0
CCmpTest1B::GetComponentTypeId() const 0
CCmpTest1Scripted::GetComponentTypeId() const 0
CCmpTest2Scripted::GetComponentTypeId() const 0
_GLOBAL__sub_I_CCmpTest.cpp 1
__static_initialization_and_destruction_0(int, int) 1
CCmpTest2A::Deserialize(CParamNode const&, IDeserializer&) 1
CCmpTest2Scripted::HandleMessage(CMessage const&, bool) 1
CCmpTest2Scripted::GetJSInstance() const 1
CCmpTest1A::Deserialize(CParamNode const&, IDeserializer&) 2
CCmpTest1B::Deallocate(IComponent*) 2
CCmpTest1B::Init(CParamNode const&) 2
CCmpTest1B::Deinit() 2
CCmpTest1B::Allocate(ScriptInterface const&, JS::Handle<JS::Value>) 2
CCmpTest1B::CCmpTest1B() 2
CCmpTest1B::~CCmpTest1B() 2
CCmpTest1B::~CCmpTest1B().2 2
CCmpTest1B::HandleMessage(CMessage const&, bool) 3
CCmpTest2A::Serialize(ISerializer&) 4
CCmpTest1Scripted::GetJSInstance() const 4
CCmpTest1Scripted::Deserialize(CParamNode const&, IDeserializer&) 5
CCmpTest1A::Serialize(ISerializer&) 6
CCmpTest1B::GetX() 6
CCmpTest2A::HandleMessage(CMessage const&, bool) 6
CCmpTest2A::Init(CParamNode const&) 8
CCmpTest1A::GetComponentTypeId() const 8
CCmpTest2A::GetComponentTypeId() const 8
CCmpTest2A::Deallocate(IComponent*) 9
CCmpTest2A::Deinit() 9
CCmpTest2A::Allocate(ScriptInterface const&, JS::Handle<JS::Value>) 9
CCmpTest2A::CCmpTest2A() 9
CCmpTest2A::~CCmpTest2A() 9
CCmpTest2A::~CCmpTest2A().2 9
CCmpTest1Scripted::HandleMessage(CMessage const&, bool) 9
CCmpTest1Scripted::Serialize(ISerializer&) 10
CCmpTest2Scripted::Deallocate(IComponent*) 10
CCmpTest2Scripted::Init(CParamNode const&) 10
CCmpTest2Scripted::Deinit() 10
CCmpTest2Scripted::Allocate(ScriptInterface const&, JS::Handle<JS::Value>) 10
CCmpTest2Scripted::CCmpTest2Scripted(ScriptInterface const&, JS::Handle<JS::Value>) 10
CCmpTest2Scripted::~CCmpTest2Scripted() 10
CCmpTest2Scripted::~CCmpTest2Scripted().2 10
CCmpTest1A::HandleMessage(CMessage const&, bool) 11
CCmpTest2Scripted::GetX() 14
CCmpTest1A::Init(CParamNode const&) 17
CCmpTest2A::GetX() 18
CCmpTest1A::Deallocate(IComponent*) 19
CCmpTest1A::Deinit() 19
CCmpTest1A::Allocate(ScriptInterface const&, JS::Handle<JS::Value>) 19
CCmpTest1A::CCmpTest1A() 19
CCmpTest1A::~CCmpTest1A() 19
CCmpTest1A::~CCmpTest1A().2 19
CCmpTest1A::GetX() 31
CCmpTest1Scripted::Init(CParamNode const&) 32
CCmpTest1Scripted::Deallocate(IComponent*) 37
CCmpTest1Scripted::Deinit() 37
CCmpTest1Scripted::Allocate(ScriptInterface const&, JS::Handle<JS::Value>) 37
CCmpTest1Scripted::CCmpTest1Scripted(ScriptInterface const&, JS::Handle<JS::Value>) 37
CCmpTest1Scripted::~CCmpTest1Scripted() 37
CCmpTest1Scripted::~CCmpTest1Scripted().2 37
CCmpTest1Scripted::GetX() 46
RegisterComponentType_Test1A(CComponentManager&) 116
RegisterComponentType_Test1B(CComponentManager&) 116
RegisterComponentType_Test2A(CComponentManager&) 116
RegisterComponentType_Test1Scripted(CComponentManager&) 116
RegisterComponentType_Test2Scripted(CComponentManager&) 116
CCmpTest1A::ClassInit(CComponentManager&) 116
CCmpTest1A::GetSchema[abi:cxx11]() 116
CCmpTest1B::ClassInit(CComponentManager&) 116
CCmpTest1B::GetSchema[abi:cxx11]() 116
CCmpTest2A::ClassInit(CComponentManager&) 116
CCmpTest2A::GetSchema[abi:cxx11]() 116
CCmpTest1Scripted::ClassInit(CComponentManager&) 116
CCmpTest1Scripted::GetSchema[abi:cxx11]() 116
CCmpTest2Scripted::ClassInit(CComponentManager&) 116
CCmpTest2Scripted::GetSchema[abi:cxx11]() 116

Generated by: LCOV version 1.13