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

Function Name Sort by function name Hit count Sort by hit count
RegisterComponentType_ProjectileManager(CComponentManager&) 137
CCmpProjectileManager::Deallocate(IComponent*) 7
CCmpProjectileManager::Projectile::position(float) 0
CCmpProjectileManager::Deserialize(CParamNode const&, IDeserializer&) 0
CCmpProjectileManager::Interpolate(float) 3
CCmpProjectileManager::HandleMessage(CMessage const&, bool) 3
CCmpProjectileManager::LaunchProjectile(CFixedVector3D, CFixedVector3D, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, CFixed<int, 2147483647, 32, 15, 16, 65536>) 120
CCmpProjectileManager::RemoveProjectile(unsigned int) 57
CCmpProjectileManager::LaunchProjectileAtPoint(CFixedVector3D const&, CFixedVector3D const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, CFixed<int, 2147483647, 32, 15, 16, 65536>) 120
CCmpProjectileManager::Init(CParamNode const&) 7
CCmpProjectileManager::Deinit() 7
CCmpProjectileManager::Allocate(Script::Interface const&, JS::Handle<JS::Value>) 7
CCmpProjectileManager::Serialize(ISerializer&) 18
CCmpProjectileManager::RenderModel(CModelAbstract&, CVector3D const&, SceneCollector&, CFrustum const&, bool, CLosQuerier const&, bool) const 0
CCmpProjectileManager::RenderSubmit(SceneCollector&, CFrustum const&, bool) const 0
CCmpProjectileManager::AdvanceProjectile(CCmpProjectileManager::Projectile&, float) const 0
CCmpProjectileManager::GetComponentTypeId() const 0

Generated by: LCOV version 1.16