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 (497788 calls)
85%
61%
59%
100%
ApiMain::execute (250334 calls)
93%
76%
100%
ApiMain::executeAction (232131 calls)
100%
96%
75%
97%
100%
92%
84%
58%
Article::view (150692 calls)
0%
100%
83%
ApiQuery::execute (138946 calls)
62%
94%
94%
63%
100%
50%
100%
63%
100%
100%
100%
100%
100%
100%
AutoLoader::autoload (93066 calls)
0%
SkinTemplate::outputPage (84684 calls)
0%
0%
0%
ImagePage::view (75350 calls)
100%
99%
0%
0%
92%
100%
100%
94%
100%
0%
100%
94%
19%
100%
ApiPageSet::execute (51533 calls)
79%
79%
0%
0%
100%
0%
0%
100%
79%
43%
41%
0%
0%
98%
ApiParse::execute (41548 calls)
97%
0%
0%
SearchEngine::searchText (40740 calls)
100%
0%
APCUBagOStuff::doGet (37458 calls)
0%
100%
56%
ApiQuerySearch::run (36582 calls)
75%
93%
59%
0%
0%
0%
100%
89%
100%
97%
0%
MessageCache::parse (31055 calls)
100%
100%
100%
0%
93%
100%
100%
0%
Article::render (25134 calls)
57%
100%
95%
78%
56%
0%
0%
100%

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