CoverMe helps you find the most impactful areas to increase test coverage. It sorts functions by how often they are called in Wikimedia production, and annotates them with how much test coverage each has. You can sort by repository and entry point (index.php, api.php, etc.).

MediaWiki core: all

0%
47%
PPFrame_Hash::expand (446984 calls)
85%
61%
60%
76%
100%
ApiMain::execute (193631 calls)
93%
96%
100%
100%
ApiMain::executeAction (178518 calls)
75%
97%
58%
Article::view (140704 calls)
92%
100%
84%
0%
100%
62%
94%
83%
ApiQuery::execute (111506 calls)
94%
63%
50%
100%
100%
63%
100%
100%
100%
100%
100%
100%
AutoLoader::autoload (80004 calls)
0%
SkinTemplate::outputPage (71837 calls)
0%
100%
0%
ImagePage::view (67348 calls)
92%
99%
0%
0%
100%
94%
100%
0%
100%
0%
100%
79%
94%
19%
100%
ApiPageSet::execute (42079 calls)
79%
0%
0%
100%
100%
0%
0%
79%
43%
0%
41%
0%
97%
0%
100%
0%
APCUBagOStuff::doGet (30785 calls)
100%
75%
93%
0%
SearchEngine::searchText (29070 calls)
0%
0%
0%
100%
56%
ApiQuerySearch::run (26942 calls)
89%
0%
Article::render (26532 calls)
59%
0%
97%
0%
MessageCache::parse (26224 calls)
100%
98%
ApiParse::execute (24794 calls)
100%
100%
56%
93%
0%
95%
100%
78%
57%
100%
0%
0%
79%
100%
95%

Source code available under the terms of the AGPL v3, or any later version. Loaded in 4.38 seconds using PHP 7.4.33.