LCOV - code coverage report
Current view: top level - source/simulation2/helpers - LongPathfinder.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 228 475 48.0 %
Date: 2026-12-03 01:19:39 Functions: 12 28 42.9 %

Function Name Sort by function name Hit count Sort by hit count
(anonymous namespace)::BuildTextureRGBA(LongPathfinder&, unsigned char*, unsigned long, unsigned long) 0
JumpPointCache::ComputeRows(std::vector<JumpPointCache::RowRaw, std::allocator<JumpPointCache::RowRaw> >&, Grid<unsigned short> const&, unsigned short, bool, bool) 0
JumpPointCache::reset(Grid<unsigned short> const*, unsigned short) 0
JumpPointCache::RowRaw::SetRange(int, int, bool) 0
JumpPointCache::RowRaw::RowRaw(int) 0
LongPathfinder::ComputePath(HierarchicalPathfinder const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, PathGoal const&, unsigned short, std::vector<CircularRegion, std::allocator<CircularRegion> >, WaypointPath&) 0
LongPathfinder::GenerateSpecialMap(unsigned short, std::vector<CircularRegion, std::allocator<CircularRegion> >) 0
JumpPointCache::GetJumpPointUp(int, int, PathGoal const&) const 0
JumpPointCache::GetMemoryUsage() const 0
JumpPointCache::GetJumpPointDown(int, int, PathGoal const&) const 0
JumpPointCache::GetJumpPointLeft(int, int, PathGoal const&) const 0
JumpPointCache::GetJumpPointRight(int, int, PathGoal const&) const 0
JumpPointCache::RowRaw::Get(int, int&, bool&) const 0
LongPathfinder::GetDebugDataJPS(unsigned int&, double&, Grid<unsigned char>&) const 0
LongPathfinder::CalculateHeuristic(int, int, int, int) const 0
(anonymous namespace)::BuildTextureRGBA(LongPathfinder&, unsigned char*, unsigned long, unsigned long)::{lambda(int, int)#1}::operator()(int, int) const 0
LongPathfinder::SetDebugOverlay(bool) 7
LongPathfinder::LongPathfinder() 11
LongPathfinder::~LongPathfinder() 11
LongPathfinder::AddJumpedDiag(int, int, int, int, PathCost, PathfinderState&) const 30
LongPathfinder::AddJumpedHoriz(int, int, int, PathCost, PathfinderState&, bool) const 30
LongPathfinder::HasJumpedVert(int, int, int, PathfinderState&, bool) const 84
LongPathfinder::HasJumpedHoriz(int, int, int, PathfinderState&, bool) const 84
LongPathfinder::AddJumpedVert(int, int, int, PathCost, PathfinderState&, bool) const 948
LongPathfinder::ImprovePathWaypoints(WaypointPath&, unsigned short, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 953
LongPathfinder::ComputePath(HierarchicalPathfinder const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, PathGoal const&, unsigned short, WaypointPath&) const 954
LongPathfinder::ComputeJPSPath(HierarchicalPathfinder const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, PathGoal const&, unsigned short, WaypointPath&) const 954
LongPathfinder::ProcessNeighbour(int, int, int, int, PathCost, PathfinderState&) const 8585

Generated by: LCOV version 1.16