LCOV - code coverage report
Current view: top level - source/ps/scripting - JSInterface_VFS.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 55 123 44.7 %
Date: 2026-12-03 01:19:39 Functions: 11 22 50.0 %

Function Name Sort by function name Hit count Sort by hit count
bool JSI_VFS::FileExists<JSI_VFS::PathRestriction::SIMULATION>(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 0
bool JSI_VFS::FileExists<JSI_VFS::PathRestriction::GUI>(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 0
bool JSI_VFS::FileExists<JSI_VFS::PathRestriction::MAPS>(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 0
JSI_VFS::GetFileSize(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 0
JS::Value JSI_VFS::ReadJSONFile<JSI_VFS::PathRestriction::SIMULATION>(Script::Interface const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 1347
JS::Value JSI_VFS::ReadJSONFile<JSI_VFS::PathRestriction::GUI>(Script::Interface const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 0
JS::Value JSI_VFS::ReadJSONFile<JSI_VFS::PathRestriction::MAPS>(Script::Interface const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 105
JS::Value JSI_VFS::ReadFileLines<JSI_VFS::PathRestriction::GUI>(Script::Request const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 0
void JSI_VFS::WriteJSONFile<JSI_VFS::PathRestriction::GUI>(Script::Interface const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, JS::Handle<JS::Value>) 0
JS::Value JSI_VFS::BuildDirEntList<JSI_VFS::PathRestriction::SIMULATION>(Script::Request const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool) 17
JS::Value JSI_VFS::BuildDirEntList<JSI_VFS::PathRestriction::GUI>(Script::Request const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool) 0
JS::Value JSI_VFS::BuildDirEntList<JSI_VFS::PathRestriction::MAPS>(Script::Request const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, bool) 7
JSI_VFS::DeleteCampaignSave(CStrW const&) 0
bool JSI_VFS::PathRestrictionMet<JSI_VFS::PathRestriction::SIMULATION>(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 1364
bool JSI_VFS::PathRestrictionMet<JSI_VFS::PathRestriction::GUI>(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 0
bool JSI_VFS::PathRestrictionMet<JSI_VFS::PathRestriction::MAPS>(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 112
JSI_VFS::BuildDirEntListState::BuildDirEntListState(Script::Request const&) 24
JSI_VFS::RegisterScriptFunctions_ReadWriteAnywhere(Script::Request const&, unsigned short) 26
JSI_VFS::RegisterScriptFunctions_ReadOnlySimulation(Script::Request const&, unsigned short) 82
JSI_VFS::RegisterScriptFunctions_ReadOnlySimulationMaps(Script::Request const&, unsigned short) 8
JS::Value JSI_VFS::ReadFile<JSI_VFS::PathRestriction::GUI>(Script::Request const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) 0
JSI_VFS::BuildDirEntListCB(Path const&, CFileInfo const&, unsigned long) 1449

Generated by: LCOV version 1.16