LCOV - code coverage report
Current view: top level - source/simulation2/system - ComponentManager.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 465 578 80.4 %
Date: 2023-01-19 00:18:29 Functions: 48 63 76.2 %

Function Name Sort by function name Hit count Sort by hit count
CMessageScripted::CMessageScripted(ScriptInterface const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, JS::Handle<JS::Value>) 0
CMessageScripted::~CMessageScripted() 0
CMessageScripted::~CMessageScripted().2 0
CComponentManager::Script_GetTemplate(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 0
CComponentManager::Script_RegisterMessageType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 0
CComponentManager::Script_GetEntitiesWithInterface(int) 0
CComponentManager::Script_GetComponentsWithInterface(int) 0
CComponentManager::Script_RegisterSystemComponentType(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, JS::Handle<JS::Value>) 0
CComponentManager::MarkScriptedComponentForSystemEntity(int) 0
CMessageScripted::GetScriptHandlerName() const 0
CMessageScripted::GetScriptGlobalHandlerName() const 0
CMessageScripted::GetType() const 0
CMessageScripted::ToJSVal(ScriptInterface const&) const 0
CComponentManager::GetEntitiesWithInterface(int) const 0
CComponentManager::GetEntitiesWithInterfaceUnordered(int) const 0
_GLOBAL__sub_I_ComponentManager.cpp 1
__static_initialization_and_destruction_0(int, int) 1
CComponentManager::Script_BroadcastMessage(int, JS::Handle<JS::Value>) 1
CComponentManager::Script_ReRegisterComponentType(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, JS::Handle<JS::Value>) 1
CComponentManager::SetRNGSeed(unsigned int) 2
CComponentManager::Script_AddEntity(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 2
CComponentManager::AllocateNewEntity(unsigned int) 2
CComponentManager::Script_PostMessage(int, int, JS::Handle<JS::Value>) 2
CComponentManager::Script_AddLocalEntity(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 2
CComponentManager::ConstructMessage(int, JS::Handle<JS::Value>) 3
CComponentManager::AddSystemComponents(bool, bool) 3
CComponentManager::FlattenDynamicSubscriptions() 4
CComponentManager::DynamicSubscriptionNonsync(int, IComponent*, bool) 5
CComponentManager::Script_RegisterGlobal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, JS::Handle<JS::Value>) 6
CComponentManager::AllocateNewLocalEntity() 6
CComponentManager::Script_RegisterInterface(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 6
CComponentManager::DestroyComponentsSoon(unsigned int) 7
CComponentManager::FlushDestroyedComponents() 7
CComponentManager::RemoveComponentDynamicSubscriptions(IComponent*) 7
CComponentManager::LookupComponentTypeName[abi:cxx11](int) const 8
CComponentManager::BroadcastMessage(CMessage const&) 10
CComponentManager::AddEntity(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned int) 10
CComponentManager::GenerateSchema[abi:cxx11]() const 11
CComponentManager::AllocateNewEntity() 15
CComponentManager::AddMockComponent(CEntityHandle, int, IComponent&) 19
CComponentManager::InitSystemEntity() 26
CComponentManager::LookupEntityHandle(unsigned int, bool) 50
CComponentManager::PostMessage(unsigned int, CMessage const&) 54
CComponentManager::SendGlobalMessage(unsigned int, CMessage const&) 64
CComponentManager::Script_RegisterComponentType(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, JS::Handle<JS::Value>) 70
CComponentManager::GetScriptWrapper(int) 71
CComponentManager::Script_RegisterComponentType_Common(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, JS::Handle<JS::Value>, bool, bool) 71
CComponentManager::AllocateEntityHandle(unsigned int) 106
CComponentManager::EntityExists(unsigned int) const 113
CComponentManager::LoadComponentTypes() 116
CComponentManager::CComponentManager(CSimContext&, std::shared_ptr<ScriptContext>, bool) 129
CComponentManager::~CComponentManager() 129
CComponentManager::LookupCID(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 133
CComponentManager::AddComponent(CEntityHandle, int, CParamNode const&) 139
CComponentManager::ConstructComponent(CEntityHandle, int) 153
CComponentManager::ResetState() 265
CComponentManager::QueryInterface(unsigned int, int) const 293
CComponentManager::LoadScript(Path const&, bool) 494
CComponentManager::SubscribeGloballyToMessageType(int) 1509
CComponentManager::RegisterComponentTypeScriptWrapper(int, int, IComponent* (*)(ScriptInterface const&, JS::Handle<JS::Value>), void (*)(IComponent*), char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 2436
CComponentManager::RegisterMessageType(int, char const*) 3712
CComponentManager::RegisterComponentType(int, int, IComponent* (*)(ScriptInterface const&, JS::Handle<JS::Value>), void (*)(IComponent*), char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) 3828
CComponentManager::SubscribeToMessageType(int) 8820

Generated by: LCOV version 1.13