LCOV - code coverage report
Current view: top level - source/simulation2/components - CCmpPosition.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 295 500 59.0 %
Date: 2022-06-14 00:41:00 Functions: 34 48 70.8 %

Function Name Sort by function name Hit count Sort by hit count
CCmpPosition::GetTurrets() 0
CCmpPosition::MoveAndTurnTo(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) 0
CCmpPosition::SetTurretParent(unsigned int, CFixedVector3D const&) 0
CCmpPosition::SetActorFloating(bool) 0
CCmpPosition::UpdateTurretPosition() 0
CCmpPosition::SetConstructionProgress(CFixed<int, 2147483647, 32, 15, 16, 65536>) 0
CCmpPosition::TurnTo(CFixed<int, 2147483647, 32, 15, 16, 65536>) 0
CCmpPosition::GetTurnRate() const 0
CCmpPosition::GetPosition2D() const 0
CCmpPosition::GetTurretParent() const 0
CCmpPosition::GetComponentTypeId() const 0
CCmpPosition::GetPreviousPosition() const 0
CCmpPosition::GetDistanceTravelled() const 0
CCmpPosition::GetPreviousPosition2D() const 0
CCmpPosition::SetYRotation(CFixed<int, 2147483647, 32, 15, 16, 65536>) 1
CCmpPosition::HandleMessage(CMessage const&, bool) 1
CCmpPosition::SetXZRotation(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) 1
CCmpPosition::SetHeightRelative(bool) 1
CCmpPosition::GetRotation() const 1
CCmpPosition::MoveOutOfWorld() 2
CCmpPosition::SetHeightFixed(CFixed<int, 2147483647, 32, 15, 16, 65536>) 2
CCmpPosition::IsHeightRelative() const 2
CCmpPosition::Deserialize(CParamNode const&, IDeserializer&) 3
CCmpPosition::SetFloating(bool) 3
CCmpPosition::CanFloat() const 3
CCmpPosition::SetHeightOffset(CFixed<int, 2147483647, 32, 15, 16, 65536>) 4
CCmpPosition::UpdateMessageSubscriptions() 4
CCmpPosition::JumpTo(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) 4
CCmpPosition::Deallocate(IComponent*) 6
CCmpPosition::UpdateXZRotation() 6
CCmpPosition::Init(CParamNode const&) 6
CCmpPosition::Deinit() 6
CCmpPosition::MoveTo(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) 6
CCmpPosition::Allocate(ScriptInterface const&, JS::Handle<JS::Value>) 6
CCmpPosition::IsInWorld() const 6
CCmpPosition::GetHeightFixed() const 8
CCmpPosition::GetPosition() const 10
CCmpPosition::AdvertisePositionChanges() const 13
CCmpPosition::GetHeightOffset() const 14
CCmpPosition::GetInterpolatedTransform(float) const 15
CCmpPosition::GetInterpolatedPosition2D(float, float&, float&, float&) const 15
CCmpPosition::Serialize(ISerializer&) 18
CCmpPosition::GetInterpolatedPositions(CVector3D&, CVector3D&) const 18
CCmpPosition::GetHeightAtFixed(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 21
CCmpPosition::AdvertiseInterpolatedPositionChanges() const 22
CCmpPosition::GetConstructionProgressOffset(CVector3D const&) const 51
RegisterComponentType_Position(CComponentManager&) 115
CCmpPosition::ClassInit(CComponentManager&) 115

Generated by: LCOV version 1.13