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

48%
PPFrame_Hash::expand (763509 calls)
87%
Parser::braceSubstitution (693489 calls)
95%
0%
MediaWiki::run (171066 calls)
0%
MediaWiki::main (163826 calls)
91%
Parser::parse (146594 calls)
71%
Parser::replaceVariables (142303 calls)
94%
Parser::internalParse (139212 calls)
100%
39%
100%
81%
100%
0%
MediaWiki::performRequest (106868 calls)
0%
100%
ApiMain::execute (98295 calls)
93%
0%
MediaWiki::performAction (93267 calls)
100%
ApiMain::executeAction (93107 calls)
100%
Hooks::run (80843 calls)
74%
Article::view (78269 calls)
0%
100%
Message::toString (56394 calls)
0%
OutputPage::output (52555 calls)
0%
Message::fetchMessage (49039 calls)
100%
76%
MessageCache::get (48185 calls)
0%
0%
SkinTemplate::outputPage (47794 calls)
81%
83%
Parser::argSubstitution (47294 calls)
100%
100%
100%
100%
78%
ApiQuery::execute (40041 calls)
76%
0%
100%
86%
52%
MessageCache::load (35775 calls)
0%
APCUBagOStuff::doGet (34048 calls)
0%
100%
Message::text (32293 calls)
0%
94%
AutoLoader::autoload (30189 calls)
100%
0%
LCStoreCDB::get (27555 calls)
100%
94%
100%
47%
44%
34%
RefreshLinksJob::run (24285 calls)
79%
100%
100%
WANObjectCache::get (23251 calls)
0%
98%
WANObjectCache::getMulti (23056 calls)
0%
100%
ApiParse::execute (18745 calls)
88%
100%
0%
81%
0%
100%
Hooks::runWithoutAbort (15115 calls)
100%
100%
Parser::getTemplateDom (15017 calls)
71%
88%
82%
0%
100%
100%
100%
100%
0%
100%
0%
100%
OutputPage::setPageTitle (12805 calls)
100%
Message::parseText (12660 calls)
0%
MessageCache::parse (12509 calls)
0%
WebRequest::getSession (11953 calls)
100%
OutputPage::setHTMLTitle (11948 calls)
23%
100%
ApiPageSet::execute (11275 calls)
100%
100%
100%
Message::exists (10750 calls)
0%
SpecialPage::run (10718 calls)
86%
0%
Skin::bottomScripts (10463 calls)
100%
MWTidy::tidy (9628 calls)
100%
0%
ImagePage::view (9452 calls)
0%
MediaWiki::restInPeace (9267 calls)
98%
100%
100%
97%

Source code available under the terms of the AGPL v3, or any later version. Loaded in 15.07 seconds using PHP 7.2.26-1+0~20191218.33+debian9~1.gbpb5a340+wmf1.