LCOV - code coverage report
Current view: top level - source/simulation2/components - ICmpPlayer.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 17 35 48.6 %
Date: 2026-12-02 01:21:50 Functions: 12 23 52.2 %

Function Name Sort by function name Hit count Sort by hit count
RegisterComponentInterface_Player(Script::Interface&) 137
RegisterComponentType_PlayerScripted(CComponentManager&) 137
ICmpPlayer::InterfaceInit(Script::Interface&) 0
CCmpPlayerScripted::Deallocate(IComponent*) 9
CCmpPlayerScripted::Deserialize(CParamNode const&, IDeserializer&) 0
CCmpPlayerScripted::HandleMessage(CMessage const&, bool) 1335
CCmpPlayerScripted::GetDisplayedColor() 354
CCmpPlayerScripted::HasStartingCamera() 0
CCmpPlayerScripted::GetStartingCameraPos() 0
CCmpPlayerScripted::GetStartingCameraRot() 0
CCmpPlayerScripted::Init(CParamNode const&) 9
CCmpPlayerScripted::Deinit() 9
CCmpPlayerScripted::HasWon() 0
CCmpPlayerScripted::Allocate(Script::Interface const&, JS::Handle<JS::Value>) 9
CCmpPlayerScripted::IsActive() 0
CCmpPlayerScripted::ClassInit(CComponentManager&) 4
CCmpPlayerScripted::IsRemoved() 0
CCmpPlayerScripted::Serialize(ISerializer&) 54
CCmpPlayerScripted::CCmpPlayerScripted(Script::Interface const&, JS::Handle<JS::Value>) 9
ICmpPlayer::NewJSObject(Script::Interface const&, JS::MutableHandle<JSObject*>) const 0
ICmpPlayer::GetJSInstance() const 0
CCmpPlayerScripted::GetJSInstance() const 11625
CCmpPlayerScripted::GetComponentTypeId() const 0

Generated by: LCOV version 1.16