LCOV - code coverage report
Current view: top level - source/simulation2/components - ICmpAttack.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 3 7 42.9 %
Date: 2026-12-02 01:21:50 Functions: 11 18 61.1 %

Function Name Sort by function name Hit count Sort by hit count
ICmpAttack::InterfaceInit(Script::Interface&) 0
CCmpAttackScripted::Deserialize(CParamNode const&, IDeserializer&) 0
ICmpAttack::NewJSObject(Script::Interface const&, JS::MutableHandle<JSObject*>) const 0
ICmpAttack::GetJSInstance() const 0
CCmpAttackScripted::GetRepeatTime(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 0
CCmpAttackScripted::GetAttackTypes() const 0
CCmpAttackScripted::GetComponentTypeId() const 0
CCmpAttackScripted::ClassInit(CComponentManager&) 8
RegisterComponentInterface_Attack(Script::Interface&) 137
RegisterComponentType_AttackScripted(CComponentManager&) 137
CCmpAttackScripted::HandleMessage(CMessage const&, bool) 156
CCmpAttackScripted::Deallocate(IComponent*) 165
CCmpAttackScripted::Init(CParamNode const&) 165
CCmpAttackScripted::Deinit() 165
CCmpAttackScripted::Allocate(Script::Interface const&, JS::Handle<JS::Value>) 165
CCmpAttackScripted::CCmpAttackScripted(Script::Interface const&, JS::Handle<JS::Value>) 165
CCmpAttackScripted::Serialize(ISerializer&) 888
CCmpAttackScripted::GetJSInstance() const 2490

Generated by: LCOV version 1.16