LCOV - code coverage report
Current view: top level - source/gui - CGUI.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 191 692 27.6 %
Date: 2023-01-19 00:18:29 Functions: 22 47 46.8 %

Function Name Sort by function name Hit count Sort by hit count
_GLOBAL__sub_I_CGUI.cpp 1
__static_initialization_and_destruction_0(int, int) 1
void (anonymous namespace)::CollectVisibleObjectsRecursively<std::vector<(anonymous namespace)::VisibleObject, ProxyAllocator<(anonymous namespace)::VisibleObject, Allocators::DynamicArena<131072ul> > > >(std::vector<IGUIObject*, std::allocator<IGUIObject*> > const&, std::vector<(anonymous namespace)::VisibleObject, ProxyAllocator<(anonymous namespace)::VisibleObject, Allocators::DynamicArena<131072ul> > >*) 0
CGUI::DrawSprite(CGUISpriteInstance const&, CCanvas2D&, CRect const&, CRect const&) 0
CGUI::HandleEvent(SDL_Event_ const*) 7
CGUI::LoadXmlFile(Path const&, std::unordered_set<Path, std::hash<Path>, std::equal_to<Path>, std::allocator<Path> >&) 8
CGUI::TickObjects() 2
CGUI::GetBaseObject() 61
CGUI::LoadedXmlFiles() 6
CGUI::SendEventToAll(CStr8 const&) 8
CGUI::SendEventToAll(CStr8 const&, JS::HandleValueArray const&) 0
CGUI::SetObjectStyle(IGUIObject*, CStr8 const&) 4
CGUI::ConstructObject(CStr8 const&) 4
CGUI::SetGlobalHotkey(CStr8 const&, CStr8 const&, JS::Handle<JS::Value>) 0
CGUI::SetObjectHotkey(IGUIObject*, CStr8 const&) 0
CGUI::SendFocusMessage(EGUIMessageType) 7
CGUI::SetFocusedObject(IGUIObject*) 0
CGUI::UnsetObjectStyle(IGUIObject*) 0
CGUI::UpdateResolution() 0
CGUI::UnsetGlobalHotkey(CStr8 const&, CStr8 const&) 0
CGUI::UnsetObjectHotkey(IGUIObject*, CStr8 const&) 0
CGUI::Xeromyces_ReadIcon(XMBData const&, XMBElement) 0
CGUI::Xeromyces_ReadColor(XMBData const&, XMBElement) 0
CGUI::Xeromyces_ReadImage(XMBData const&, XMBElement, CGUISprite&) 0
CGUI::Xeromyces_ReadStyle(XMBData const&, XMBElement) 5
CGUI::FindObjectUnderMouse() 16
CGUI::Xeromyces_ReadObject(XMBData const&, XMBElement, IGUIObject*, std::vector<std::pair<CStr8, CStr8>, std::allocator<std::pair<CStr8, CStr8> > >&, std::unordered_set<Path, std::hash<Path>, std::equal_to<Path>, std::allocator<Path> >&, unsigned int) 4
CGUI::Xeromyces_ReadRepeat(XMBData const&, XMBElement, IGUIObject*, std::vector<std::pair<CStr8, CStr8>, std::allocator<std::pair<CStr8, CStr8> > >&, std::unordered_set<Path, std::hash<Path>, std::equal_to<Path>, std::allocator<Path> >&, unsigned int) 0
CGUI::Xeromyces_ReadScript(XMBData const&, XMBElement, std::unordered_set<Path, std::hash<Path>, std::equal_to<Path>, std::allocator<Path> >&) 3
CGUI::Xeromyces_ReadSprite(XMBData const&, XMBElement) 0
CGUI::Xeromyces_ReadEffects(XMBData const&, XMBElement, SGUIImageEffects&) 0
CGUI::Xeromyces_ReadTooltip(XMBData const&, XMBElement) 0
CGUI::Xeromyces_ReadRootSetup(XMBData const&, XMBElement) 0
CGUI::Xeromyces_ReadRootStyles(XMBData const&, XMBElement) 5
CGUI::Xeromyces_ReadRootObjects(XMBData const&, XMBElement, std::unordered_set<Path, std::hash<Path>, std::equal_to<Path>, std::allocator<Path> >&) 3
CGUI::Xeromyces_ReadRootSprites(XMBData const&, XMBElement) 0
CGUI::Xeromyces_ReadScrollBarStyle(XMBData const&, XMBElement) 0
CGUI::Draw(CCanvas2D&) 0
CGUI::AddObject(IGUIObject&, IGUIObject&) 4
CGUI::CGUI(std::shared_ptr<ScriptContext> const&) 12
CGUI::~CGUI() 12
CGUI::ObjectExists(CStr8 const&) const 0
CGUI::GetWindowSize() const 4
CGUI::FindObjectByName(CStr8 const&) const 5
CGUI::GetScrollBarStyle(CStr8 const&) const 0
CGUI::UnsetObjectHotkey(IGUIObject*, CStr8 const&)::{lambda(IGUIObject const*)#1}::operator()(IGUIObject const*) const 0
CGUI::Draw(CCanvas2D&)::{lambda((anonymous namespace)::VisibleObject const&, (anonymous namespace)::VisibleObject const&)#1}::operator()((anonymous namespace)::VisibleObject const&, (anonymous namespace)::VisibleObject const&) const 0

Generated by: LCOV version 1.13