LCOV - code coverage report
Current view: top level - source/scriptinterface - Promises.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 43 51 84.3 %
Date: 2026-12-03 01:19:39 Functions: 7 9 77.8 %

Function Name Sort by function name Hit count Sort by hit count
Script::UnhandledRejectedPromise(JSContext*, bool, JS::Handle<JSObject*>, JS::PromiseRejectionHandlingState, void*) 8
Script::JobQueue::saveJobQueue(JSContext*) 1
Script::JobQueue::enqueuePromiseJob(JSContext*, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<JSObject*>, JS::Handle<JSObject*>) 76
Script::JobQueue::runJobs(JSContext*) 645
Script::JobQueue::getHostDefinedData(JSContext*, JS::MutableHandle<JSObject*>) const 82
Script::JobQueue::empty() const 0
Script::JobQueue::saveJobQueue(JSContext*)::SavedJobQueue::SavedJobQueue(std::queue<Script::JobQueue::QueueElement, std::deque<Script::JobQueue::QueueElement, std::allocator<Script::JobQueue::QueueElement> > >&) 1
Script::JobQueue::saveJobQueue(JSContext*)::SavedJobQueue::~SavedJobQueue() 0
Script::JobQueue::saveJobQueue(JSContext*)::SavedJobQueue::~SavedJobQueue().2 1

Generated by: LCOV version 1.16