Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
FormulaInfo0%
SpecialMathIndex0%
BatchImport0%
BatchExport0%
AddSwhids0%
SpecialUploadResult0%
SpecialMlpEval0%
SpecialMathSearch0%
SpecialMathDownloadResult0%
CreateBaseXMathTable0%
SpecialMathDebug0%
SpecialLaTeXTranslator0%
SpecialDisplayTopics0%
MathEngineRest0%
MathEngineMws0%
MathEngineBaseX0%
CalculateDistances0%
CreateMWSHarvest0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLWikidataHook0%
IndexBase0%
WMCAssessSeeds0%
UpdateMath0%
QueryEval0%
ProfilePages0%
MathPerformance0%
MathMLFilter0%
ImportStackExchangeDump0%
ExportMathCache0%
ImportOpenAlex0%
ImportDefinitions0%
GenerateWorkload0%
GenerateResultTableFromJson0%
GenerateFeatureTable0%
ExtractFeatures0%
WikidataDriver0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLValidator0%
GetEquationsByQuery0%
MlpEvalForm0%
MediaWiki\Extension\MathSearch\Graph\Job\GraphJob0%
MediaWiki\Extension\MathSearch\Graph\Job\OpenAlex0%
MediaWiki\Extension\MathSearch\Graph\Job\PageCreation0%
MediaWiki\Extension\MathSearch\Graph\Job\SetProfileType0%
MediaWiki\Extension\MathSearch\Graph\Map0%
MediaWiki\Extension\MathSearch\Graph\Query0%
ImportCsv0%
LaTeXTranslator0%
MathHighlighter0%
MathQueryObject0%
MathSearchTerm0%
MathSearchUtils0%
MathoidDriver0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLRdfBuilder0%
MathosphereDriver0%
MwsDumpWriter0%
MediaWiki\Extension\MathSearch\Rest\ArqTask\GetPostId0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLFormatter0%
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathWikidataHook0%
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathMLRdfBuilder0%
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathFormatter0%
MediaWiki\Extension\MathSearch\Swh\Swhid0%
MediaWiki\Extension\MathSearch\StackExchange\LineReaderJob0%
MediaWiki\Extension\MathSearch\StackExchange\Formula0%
MediaWiki\Extension\MathSearch\StackExchange\IdMap0%
MediaWiki\Extension\MathSearch\StackExchange\DumpReader0%
WmcRefIdentifier0%
MediaWiki\Extension\MathSearch\StackExchange\Field2%
MediaWiki\Extension\MathSearch\StackExchange\Row3%
MathSearchHooks4%
MathIdGenerator6%
MathObject15%
MediaWiki\Extension\MathSearch\StackExchange\WikitextGenerator22%
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathValidator53%

Project Risks

Class CRAP
SpecialMlpEval17292
MathObject6517
SpecialMathSearch4290
MathSearchHooks2431
FormulaInfo1980
ImportCsv1892
SpecialLaTeXTranslator1640
MathIdGenerator1348
UpdateMath1260
MathQueryObject1260
MlpEvalForm1190
SpecialUploadResult1056
MathosphereDriver992
MathPerformance930
MathoidDriver930
SpecialMathDebug870
LaTeXTranslator756
MathEngineRest702
MediaWiki\Extension\MathSearch\StackExchange\Field651
MathSearchTerm506
MediaWiki\Extension\MathSearch\StackExchange\Row501
MediaWiki\Extension\MathSearch\Graph\Job\OpenAlex420
MediaWiki\Extension\MathSearch\Swh\Swhid342
SpecialDisplayTopics272
MathEngineBaseX272
MwsDumpWriter240
ImportOpenAlex240
MediaWiki\Extension\MathSearch\StackExchange\DumpReader182
WikidataDriver156
GetEquationsByQuery156
QueryEval156
MathHighlighter156
ExtractFeatures132
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathFormatter132
SpecialMathIndex132
GenerateResultTableFromJson132
CalculateDistances110
GenerateFeatureTable110
CreateBaseXMathTable110
MediaWiki\Extension\MathSearch\StackExchange\WikitextGenerator92
ImportDefinitions90
BatchImport90
SpecialMathDownloadResult90
MediaWiki\Extension\MathSearch\StackExchange\IdMap90
AddSwhids72
ExportMathCache72
WmcRefIdentifier72
MediaWiki\Extension\MathSearch\Graph\Job\SetProfileType72
MediaWiki\Extension\MathSearch\Graph\Map56
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLFormatter56
ProfilePages56
CreateMWSHarvest56
IndexBase56
MathEngineMws42
MathSearchUtils42
MediaWiki\Extension\MathSearch\Graph\Job\PageCreation30
MathMLFilter30
MediaWiki\Extension\MathSearch\Graph\Query30
GenerateWorkload30
MediaWiki\Extension\MathSearch\StackExchange\LineReaderJob30
BatchExport20
ImportStackExchangeDump20
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathWikidataHook20
MediaWiki\Extension\MathSearch\Graph\Job\GraphJob20
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLWikidataHook20
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathMLRdfBuilder12
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLValidator12
WMCAssessSeeds12
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathValidator5

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
generateLaTeXMLOutput0%
testIndex0%
execute0%
setHeaders0%
__construct0%
getGroupName0%
processInput0%
execute0%
run2CSV0%
__construct0%
getGroupName0%
getTexvcTex0%
getMathTagsFromPage0%
render0%
generateParserTests0%
getGroupName0%
testParser0%
compareParser0%
displayButtons0%
execute0%
setHeaders0%
__construct0%
displayTests0%
printColFooter0%
printColHeader0%
getGroupName0%
printList0%
displayResults0%
printSource0%
processInput0%
exception_error_handler0%
getDependencyGraphFromContext0%
getDefault0%
enableMathStyles0%
log0%
setRevision0%
setPage0%
getRandomPageText0%
getStep0%
execute0%
loadData0%
setStep0%
__construct0%
getIdentifiers0%
isTexInputChanged0%
getGroupName0%
addFormData0%
__construct0%
enableMathStyles0%
addTerm0%
render0%
displayRevisionResults0%
printSource0%
highlightHit0%
printTerm0%
getElementById0%
displayMathElements0%
performSearch0%
processInput0%
getSearchRows0%
searchForm0%
execute0%
calculateDependencyGraphFromContext0%
calculateTranslations0%
getNextStep0%
onWikibaseRepoDataTypes0%
getResults0%
element2String0%
search0%
getBackendUrl0%
onWikibaseClientDataTypes0%
onWikibaseRepoDataTypes0%
setOptions0%
validate0%
addValue0%
getFormat0%
format0%
__construct0%
onWikibaseClientDataTypes0%
setOptions0%
processResults0%
addValue0%
getFormat0%
formatDetails0%
format0%
__construct0%
saveCodeNow0%
getStatus0%
getBody0%
fetchSnapshot0%
fetchOrSave0%
getSnapshotDate0%
getSnapshot0%
getUrl0%
getWait0%
__construct0%
processMathResults0%
getTranslations0%
getType0%
processInput0%
execute0%
__construct0%
log0%
getGroupName0%
printIndividualResults0%
printMostFrequentRuns0%
displayTopic0%
displayOverview0%
execute0%
__construct0%
resetResults0%
setType0%
processResults0%
getPostData0%
getPostData0%
postQuery0%
setQuery0%
getRelevanceMap0%
getResultSet0%
getSize0%
__construct0%
getQuery0%
setBackendUrl0%
getBackendUrl0%
doPost0%
processMathResults0%
__construct0%
update0%
getSubStep0%
getPreviousStep0%
execute0%
__construct0%
writeRevision0%
replaceMath0%
renderMath0%
register0%
getFooter0%
getHead0%
execute0%
wFile0%
__construct0%
execute0%
__construct0%
readline0%
execute0%
execute0%
execute0%
__construct0%
execute0%
generateIndexString0%
__construct0%
printColFooter0%
printColHeader0%
printSource0%
execute0%
__construct0%
execute0%
doUpdate0%
populateSearchIndex0%
__construct0%
__construct0%
actionExport0%
doUpdate0%
dropUDFs0%
__construct0%
execute0%
__construct0%
exportMMLtoFile0%
getMathMLForExport0%
execute0%
getParser0%
getParserOptions0%
doUpdate0%
populateSearchIndex0%
time0%
__construct0%
execute0%
createTopicTex0%
getFormulae0%
addExtensionTable0%
__construct0%
printAvailableActions0%
printProfileTypes0%
execute0%
__construct0%
makePath0%
processImage0%
actionPng0%
runTest0%
vPrint0%
resetTimer0%
time0%
actionBenchmark0%
execute0%
populateSearchIndex0%
getRenderingFields0%
getWikiTextLink0%
runSelectorFilter0%
printRunSelector0%
execute0%
formatErrors0%
__construct0%
removeSVGs0%
updateTex0%
getMathMlRenderer0%
getSpeechRuleText0%
getRelations0%
printMathObjectInContext0%
printPrefix0%
printFormulaRef0%
printIntro0%
runFileCheck0%
printTitle0%
printFormula0%
getMathMLRenderingAsHtmlFragment0%
printSource0%
resetFormula0%
resetPage0%
writeLog0%
printIntorduction0%
getRevisionTitle0%
getOldId0%
getFId0%
getRandomFId0%
setFId0%
getGroupName0%
runValidatorFilter0%
processInput0%
__construct0%
generateIndexString0%
execute0%
getMathTagsFromDatabase0%
__construct0%
execute0%
getFooter0%
getHead0%
generateIndexString0%
__construct0%
__destruct0%
execute0%
wFile0%
getFooter0%
getHead0%
__construct0%
printResultRow0%
populateSearchIndex0%
execute0%
__construct0%
execute0%
__construct0%
execute0%
__construct0%
createWbItem0%
execute0%
getQuery0%
__construct0%
getGroupName0%
displayFormulaFeedback0%
displayFeedback0%
__construct0%
getFormulae0%
getQId0%
newFromRevisionText0%
updateObservations0%
setRevisionID0%
getRevisionID0%
getObservations0%
getIndexTimestamp0%
setTimestamp0%
getTimestamp0%
setStatusCode0%
getStatusCode0%
updateStatistics0%
extractMathTagsFromWikiText0%
constructformpagerow0%
dbIndexFieldsArray0%
constructformpage0%
getPageTitle0%
cloneFromRenderer0%
findSimilarPages0%
hash2md50%
getUserInputTex0%
formatKey0%
getUniqueFromId0%
getTagFromId0%
getRevisionId0%
getWikiText0%
getMathTags0%
guessIdFromContent0%
getContentIdMap0%
getInputHash0%
getNouns0%
getAllOccurrences0%
formatIds0%
getRbi0%
getLaTeXMLCMMLSettings0%
injectQvar0%
getPQuery0%
getCQuery0%
getTeXQuery0%
getQueryId0%
newQueryFromEquationRow0%
exportTexDocument0%
saveToDatabase0%
setQueryId0%
__construct0%
setRenderingTime0%
setPostData0%
getReSizedSvgLink0%
isCurrent0%
getSvgHeight0%
getSvgWidth0%
getMathMlAltText0%
getWikiText0%
getTexInfo0%
getMathTableName0%
getRelations0%
getRevision0%
addIdentifierTitle0%
getSvg0%
render0%
setAnchorID0%
getAnchorID0%
printLink2Page0%
parserKey2fId0%
newFromTitle0%
generateContentQueryString0%
getGroupName0%
pushJob0%
__construct0%
run0%
__construct0%
run0%
__construct0%
getNumericPropertyId0%
processRow0%
getDeQIdMap0%
run0%
__construct0%
getUser0%
getLog0%
execute0%
getQueryFromConfig0%
__construct0%
getGroupName0%
DisplayRendering0%
hasSvgSupport0%
hasMathMLSupport0%
formatBytes0%
getlengh0%
printSource0%
DisplayInfo0%
PrintTranslationResult0%
GetTranslation0%
DisplayTranslations0%
InfoTex0%
getJobs0%
getQueryFromProfileType0%
newFromRevisionId0%
isOverwrite0%
__construct0%
getKeys0%
newFromRevisionRecord0%
getWikiText0%
getEndPos0%
getStartPos0%
__construct0%
processInput0%
brackR0%
__construct0%
getRunId0%
getResults0%
setOverwrite0%
getWarnings0%
getQidFromDe0%
deleteRun0%
processInput0%
getCsvColumnHeader0%
addValidatedResult0%
getInputHash0%
isValidQId0%
importFromArray0%
importFromFile0%
setUser0%
getUser0%
validateRunId0%
execute0%
__construct0%
getResults0%
getNextElement0%
getLaTeXMLPMLSettings0%
generatePresentationQueryString0%
generateIndexString0%
getLog0%
run0%
getParamSettings0%
__construct0%
addFromMathIdGenerator0%
getOutput0%
setMwsns0%
getMwsns0%
addRevision0%
addMwsExpression0%
getMwsExpression0%
getFooter0%
getHead0%
InitializeHeader0%
normalizeFilename0%
__construct0%
saveSubstepField0%
addOptions0%
addButtons0%
addStateFields0%
addControls0%
__construct0%
getRelations0%
checkBackend0%
getPostData0%
getBackendUrl0%
doPost0%
addIdentifierDefinitionTuple0%
processResults0%
__construct0%
run0%
getXQuery0%
__construct0%
__construct0%
addField0%
getQIdFromField0%
processBody0%
getStatementList0%
getField0%
getQid0%
getItem0%
createWbItem0%
getLog0%
__construct0%
run0%
getLog0%
addWikiText0%
addJob0%
addQid0%
getNewQid0%
getInstance0%
__construct0%
createWbItem0%
updateSearchIndex0%
__construct0%
getExternalIdType0%
isExcludedFromWb0%
propagateFieldInfo0%
setIfDefined0%
getSnaks0%
__construct0%
getLog0%
analyze0%
getError0%
getVersion0%
onPageContentSaveComplete0%
setExpr0%
getExpr0%
setType0%
getType0%
setRel0%
getRel0%
setKey0%
getKey0%
__construct0%
getMwsHarvest0%
getRevIdGenerator0%
registerExtension0%
onPageSaveComplete0%
getRelevanceMap0%
onArticleUndelete0%
onArticleDeleteComplete0%
mQueryTagHook0%
onParserFirstCallInit0%
writeMathIndex0%
generateMathAnchorString0%
addLinkToFormulaInfoPage0%
addIdentifierDescription0%
updateMathIndex0%
updateIndex0%
onLoadExtensionSchemaUpdates0%
setXQuery0%
getResultSet0%
doSearch0%
getRevisionResult0%
getBackendUrl0%
setTitle0%
getTitle0%
setLanguage0%
getLanguage0%
getWikiText0%
setWikiText0%
newFromWikitext0%
__construct0%
getFormat0%
getSvg0%
getSpeech0%
addExtensionTable0%
getPostData0%
checkBackend0%
doPost0%
getSuccess0%
createEvaluationTables0%
getTableHead0%
dbRowToWikiTable0%
getVersion0%
getError0%
processResults0%
__construct0%
getChecked0%
getIdentifiers0%
getRequiredPackages0%
texvcInfo0%
execute0%
setMathId8%
writeToCache57%
validate58%
getIdsFromContent75%
initializeFromCache80%
onMathFormulaRenderedNoLink88%

Project Risks

Method CRAP
__construct506
printIntorduction420
loadData420
doUpdate240
addControls240
DisplayInfo156
injectQvar132
importFromArray132
performSearch132
execute110
getSnaks110
processRow110
getObservations90
displayMathElements90
doSearch90
DisplayRendering90
execute72
format72
displayTests72
run72
getPreviousStep72
execute72
getNextStep56
execute56
displayRevisionResults56
execute56
execute56
writeLog56
getNextElement56
addOptions56
processResults56
checkBackend56
run56
execute56
readline56
updateIndex42
processResults42
processResults42
getBody42
propagateFieldInfo42
actionBenchmark42
validateRunId42
highlightHit42
populateSearchIndex42
populateSearchIndex42
getRandomPageText42
populateSearchIndex42
checkBackend42
processResults42
format30
printMathObjectInContext30
getJobs30
processMathResults30
getTagFromId30
getUniqueFromId30
onPageSaveComplete30
execute30
populateSearchIndex30
compareParser30
setRevision30
getRelations30
importFromFile30
addButtons30
constructformpagerow30
getDefault30
getAllOccurrences30
printList30
setMathId24
processImage20
execute20
__construct20
getStatementList20
createTopicTex20
runFileCheck20
search20
run2CSV20
displayFeedback20
displayFormulaFeedback20
execute20
setPage20
getMathTagsFromDatabase20
processInput20
generateLaTeXMLOutput20
getResults20
execute20
printSource20
runSelectorFilter20
displayResults20
printSource20
execute20
update20
execute20
execute20
run20
DisplayTranslations20
findSimilarPages20
getContentIdMap20
getStartPos20
updateMathIndex20
run20
getEndPos20
guessIdFromContent20
getMwsHarvest20
parserKey2fId20
saveToDatabase20
execute12
printPrefix12
getPostData12
printTerm12
getDeQIdMap12
displayTopic12
doPost12
execute12
printResultRow12
processMathResults12
onLoadExtensionSchemaUpdates12
generateIndexString12
isValidQId12
printMostFrequentRuns12
printIndividualResults12
addIdentifierTitle12
execute12
doUpdate12
processInput12
execute12
getSearchRows12
generateIndexString12
setRenderingTime12
testParser12
generateIndexString12
brackR12
__construct12
execute12
element2String12
execute12
dbRowToWikiTable12
onArticleUndelete12
getMathMLForExport12
saveSubstepField12
generateIndexString12
getRandomFId12
__construct12
setFId12
registerExtension12
time12
addQid12
execute12
run12
doPost12
execute12
processBody12
addStateFields12
enableMathStyles12
execute12
getUser12
printRunSelector12
updateObservations12
fetchSnapshot12
time12
addValue12
InfoTex12
getFormulae12
addLinkToFormulaInfoPage12
getWikiText12
resetPage12
getKeys6
updateTex6
newFromRevisionRecord6
processInput6
runValidatorFilter6
__construct6
processInput6
actionPng6
execute6
exportMMLtoFile6
getParser6
getParserOptions6
printSource6
dropUDFs6
formatBytes6
addExtensionTable6
hasSvgSupport6
runTest6
execute6
vPrint6
actionExport6
writeRevision6
execute6
wFile6
getNumericPropertyId6
getResults6
doUpdate6
processInput6
deleteRun6
getRelations6
getRevision6
printFormula6
__construct6
postQuery6
__construct6
getPQuery6
generateContentQueryString6
generatePresentationQueryString6
onWikibaseClientDataTypes6
onWikibaseRepoDataTypes6
validate6
onWikibaseClientDataTypes6
mQueryTagHook6
fetchOrSave6
onArticleDeleteComplete6
addField6
printSource6
getQIdFromField6
createWbItem6
onPageContentSaveComplete6
addWikiText6
getInstance6
setIfDefined6
getRevIdGenerator6
addJob6
addFromMathIdGenerator6
getRevisionResult6
__construct6
doPost6
getCQuery6
displayOverview6
log6
execute6
resetFormula6
cloneFromRenderer6
newFromRevisionText6
dbIndexFieldsArray6
getNouns6
getPageTitle6
isCurrent6
printLink2Page6
getSvg6
addIdentifierDefinitionTuple6
getTexInfo6
exception_error_handler6
getMathMlAltText6
getTeXQuery6
getMathTagsFromPage6
getSvgWidth6
generateParserTests6
getSvgHeight6
getQueryId6
calculateDependencyGraphFromContext6
getDependencyGraphFromContext6
calculateTranslations6
getTranslations6
onWikibaseRepoDataTypes6
writeToCache5
initializeFromCache5
onMathFormulaRenderedNoLink4
validate3
getIdsFromContent2