LCOV - code coverage report
Current view: top level - source/simulation2/components - ICmpSound.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 5 5 100.0 %
Date: 2026-12-02 01:21:50 Functions: 11 17 64.7 %

Function Name Sort by function name Hit count Sort by hit count
RegisterComponentInterface_Sound(Script::Interface&) 137
RegisterComponentType_SoundScripted(CComponentManager&) 137
CCmpSoundScripted::Deallocate(IComponent*) 195
CCmpSoundScripted::Deserialize(CParamNode const&, IDeserializer&) 0
CCmpSoundScripted::HandleMessage(CMessage const&, bool) 0
CCmpSoundScripted::Init(CParamNode const&) 195
CCmpSoundScripted::Deinit() 195
CCmpSoundScripted::Allocate(Script::Interface const&, JS::Handle<JS::Value>) 195
CCmpSoundScripted::ClassInit(CComponentManager&) 4
CCmpSoundScripted::Serialize(ISerializer&) 1056
CCmpSoundScripted::CCmpSoundScripted(Script::Interface const&, JS::Handle<JS::Value>) 195
ICmpSound::InterfaceInit(Script::Interface&) 0
CCmpSoundScripted::GetJSInstance() const 174
CCmpSoundScripted::GetSoundGroup(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) const 2625
CCmpSoundScripted::GetComponentTypeId() const 0
ICmpSound::NewJSObject(Script::Interface const&, JS::MutableHandle<JSObject*>) const 0
ICmpSound::GetJSInstance() const 0

Generated by: LCOV version 1.16