LCOV - code coverage report
Current view: top level - source/simulation2/components - CCmpObstruction.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 120 372 32.3 %
Date: 2026-12-02 01:21:50 Functions: 15 40 37.5 %

Function Name Sort by function name Hit count Sort by hit count
RegisterComponentType_Obstruction(CComponentManager&) 137
CCmpObstruction::Deallocate(IComponent*) 195
CCmpObstruction::Deserialize(CParamNode const&, IDeserializer&) 0
CCmpObstruction::HandleMessage(CMessage const&, bool) 7971
CCmpObstruction::SetMovingFlag(bool) 8118
void CCmpObstruction::SerializeCommon<ISerializer>(ISerializer&) 1032
void CCmpObstruction::SerializeCommon<IDeserializer>(IDeserializer&) 0
CCmpObstruction::SetControlGroup(unsigned int) 0
CCmpObstruction::AddClusterShapes(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) 0
CCmpObstruction::SetControlGroup2(unsigned int) 0
CCmpObstruction::SetUnitClearance(CFixed<int, 2147483647, 32, 15, 16, 65536> const&) 189
CCmpObstruction::RemoveClusterShapes() 0
CCmpObstruction::UpdateControlGroups() 0
CCmpObstruction::SetDisableBlockMovementPathfinding(bool, bool, int) 0
CCmpObstruction::Init(CParamNode const&) 195
CCmpObstruction::Deinit() 195
CCmpObstruction::Allocate(Script::Interface const&, JS::Handle<JS::Value>) 195
CCmpObstruction::Serialize(ISerializer&) 1032
CCmpObstruction::SetActive(bool) 0
CCmpObstruction::GetStaticSize() const 0
CCmpObstruction::GetObstruction() const 8508
CCmpObstruction::CheckFoundation(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 0
CCmpObstruction::CheckFoundation(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const 0
CCmpObstruction::GetControlGroup() const 0
CCmpObstruction::GetControlGroup2() const 0
CCmpObstruction::GetComponentTypeId() const 0
CCmpObstruction::GetEntitiesByFlags(unsigned char) const 0
CCmpObstruction::GetObstructionType() const 0
CCmpObstruction::CheckShorePlacement() const 0
CCmpObstruction::IsControlPersistent() const 0
CCmpObstruction::GetBlockMovementFlag(bool) const 189
CCmpObstruction::GetObstructionSquare(ICmpObstructionManager::ObstructionSquare&) const 50148
CCmpObstruction::GetObstructionSquare(ICmpObstructionManager::ObstructionSquare&, bool) const 50148
CCmpObstruction::CheckDuplicateFoundation() const 0
CCmpObstruction::GetEntitiesBlockingMovement() const 0
CCmpObstruction::ResolveFoundationCollisions() const 0
CCmpObstruction::GetPreviousObstructionSquare(ICmpObstructionManager::ObstructionSquare&) const 0
CCmpObstruction::GetEntitiesBlockingConstruction() const 0
CCmpObstruction::GetEntitiesDeletedUponConstruction() const 0
CCmpObstruction::GetSize() const 186

Generated by: LCOV version 1.16