Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
FormulaInfo0%
SpecialMathSearch0%
BatchImport0%
BatchExport0%
AddSwhids0%
AddIpfs0%
SpecialUploadResult0%
SpecialMlpEval0%
SpecialMathIndex0%
CreateBaseXMathTable0%
SpecialMathDownloadResult0%
SpecialMathDebug0%
SpecialLaTeXTranslator0%
SpecialDisplayTopics0%
MathEngineRest0%
MathEngineMws0%
MathEngineBaseX0%
CalculateDistances0%
CreateMWSHarvest0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLWikidataHook0%
IndexBase0%
WMCAssessSeeds0%
UpdateMath0%
QueryEval0%
Properties0%
ProfilePages0%
MathPerformance0%
MathMLFilter0%
ImportStackExchangeDump0%
ExportMathCache0%
ImportOpenAlex0%
ImportIntentConcepts0%
ImportDefinitions0%
GenerateWorkload0%
GenerateResultTableFromJson0%
GenerateFeatureTable0%
ExtractFeatures0%
WikidataDriver0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLValidator0%
GetEquationsByQuery0%
MediaWiki\Extension\MathSearch\Graph\Map0%
MathSearchTerm0%
MathQueryObject0%
MathHighlighter0%
LaTeXTranslator0%
ImportCsv0%
MediaWiki\Extension\MathSearch\Graph\Query0%
MediaWiki\Extension\MathSearch\Graph\Job\SetProfileType0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLRdfBuilder0%
MediaWiki\Extension\MathSearch\Graph\Job\PageCreation0%
MediaWiki\Extension\MathSearch\Graph\Job\OpenAlex0%
MediaWiki\Extension\MathSearch\Graph\Job\NormalizeDoi0%
MediaWiki\Extension\MathSearch\Graph\Job\MathMLIntents0%
MediaWiki\Extension\MathSearch\Graph\Job\GraphJob0%
MediaWiki\Extension\MathSearch\Graph\Job\FetchIdsFromWd0%
MathSearchUtils0%
MathoidDriver0%
MathosphereDriver0%
MlpEvalForm0%
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\IdMap0%
MediaWiki\Extension\MathSearch\StackExchange\DumpReader0%
MediaWiki\Extension\MathSearch\StackExchange\Formula0%
MediaWiki\Extension\MathSearch\Rest\ArqTask\GetPostId0%
MwsDumpWriter0%
WmcRefIdentifier0%
MediaWiki\Extension\MathSearch\StackExchange\Field2%
MediaWiki\Extension\MathSearch\StackExchange\Row3%
MathSearchHooks4%
MathIdGenerator6%
MathObject16%
MediaWiki\Extension\MathSearch\StackExchange\WikitextGenerator24%
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathValidator53%

Project Risks

Class CRAP
SpecialMlpEval17030
MathObject6507
SpecialMathSearch4290
MathSearchHooks2244
FormulaInfo1980
ImportCsv1806
SpecialLaTeXTranslator1722
MathIdGenerator1275
MathQueryObject1260
UpdateMath1190
MlpEvalForm1190
SpecialUploadResult1056
MathoidDriver930
SpecialMathDebug870
MathPerformance870
MathosphereDriver870
LaTeXTranslator756
MathEngineRest702
MediaWiki\Extension\MathSearch\StackExchange\Field650
MediaWiki\Extension\MathSearch\StackExchange\Row501
MathSearchTerm462
MediaWiki\Extension\MathSearch\Graph\Job\MathMLIntents380
MediaWiki\Extension\MathSearch\Graph\Job\OpenAlex380
MediaWiki\Extension\MathSearch\Swh\Swhid342
SpecialDisplayTopics272
MathEngineBaseX272
MwsDumpWriter240
ImportOpenAlex240
MathHighlighter156
QueryEval156
MediaWiki\Extension\MathSearch\StackExchange\DumpReader156
WikidataDriver156
GetEquationsByQuery156
SpecialMathIndex132
MediaWiki\Extension\MathSearch\Graph\Map132
ExtractFeatures132
MediaWiki\Extension\MathSearch\Graph\Job\FetchIdsFromWd132
GenerateResultTableFromJson132
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathFormatter132
CreateBaseXMathTable110
GenerateFeatureTable110
CalculateDistances110
AddIpfs110
ImportDefinitions90
MediaWiki\Extension\MathSearch\StackExchange\IdMap90
SpecialMathDownloadResult90
BatchImport90
MediaWiki\Extension\MathSearch\Graph\Query90
MediaWiki\Extension\MathSearch\StackExchange\WikitextGenerator75
ImportIntentConcepts72
ExportMathCache72
WmcRefIdentifier72
MediaWiki\Extension\MathSearch\Graph\Job\SetProfileType72
AddSwhids72
CreateMWSHarvest56
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLFormatter56
MediaWiki\Extension\MathSearch\Graph\Job\NormalizeDoi56
ProfilePages56
IndexBase56
MathSearchUtils42
MathEngineMws42
MathMLFilter30
Properties30
GenerateWorkload30
MediaWiki\Extension\MathSearch\StackExchange\LineReaderJob30
MediaWiki\Extension\MathSearch\Graph\Job\PageCreation30
MediaWiki\Extension\MathSearch\Graph\Job\GraphJob20
BatchExport20
ImportStackExchangeDump20
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathWikidataHook20
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%
getTexvcTex0%
__construct0%
exception_error_handler0%
getGroupName0%
processInput0%
testIndex0%
execute0%
setHeaders0%
__construct0%
getGroupName0%
processInput0%
execute0%
run2CSV0%
__construct0%
getGroupName0%
getMathTagsFromPage0%
searchForm0%
render0%
generateLaTeXMLOutput0%
generateParserTests0%
testParser0%
compareParser0%
displayButtons0%
execute0%
setHeaders0%
__construct0%
displayTests0%
printColFooter0%
printColHeader0%
getGroupName0%
printList0%
execute0%
getSearchRows0%
printSource0%
__construct0%
getGroupName0%
getRenderingFields0%
getPreviousStep0%
getNextStep0%
getSubStep0%
enableMathStyles0%
log0%
setRevision0%
setPage0%
getRandomPageText0%
getStep0%
execute0%
loadData0%
setStep0%
getIdentifiers0%
processInput0%
isTexInputChanged0%
getGroupName0%
getDefault0%
addFormData0%
enableMathStyles0%
addTerm0%
render0%
displayRevisionResults0%
printSource0%
highlightHit0%
printTerm0%
getElementById0%
displayMathElements0%
performSearch0%
displayResults0%
calculateDependencyGraphFromContext0%
getRandomFId0%
onWikibaseRepoDataTypes0%
__construct0%
getResults0%
element2String0%
search0%
getBackendUrl0%
onWikibaseClientDataTypes0%
onWikibaseRepoDataTypes0%
setOptions0%
validate0%
addValue0%
getFormat0%
format0%
__construct0%
onWikibaseClientDataTypes0%
setOptions0%
processMathResults0%
addValue0%
getFormat0%
formatDetails0%
format0%
__construct0%
saveCodeNow0%
getStatus0%
getBody0%
fetchSnapshot0%
fetchOrSave0%
getSnapshotDate0%
getSnapshot0%
getUrl0%
getWait0%
processResults0%
getPostData0%
getDependencyGraphFromContext0%
setType0%
calculateTranslations0%
getTranslations0%
processInput0%
execute0%
__construct0%
log0%
getGroupName0%
printIndividualResults0%
printMostFrequentRuns0%
displayTopic0%
displayOverview0%
execute0%
__construct0%
resetResults0%
getType0%
update0%
processResults0%
getPostData0%
postQuery0%
setQuery0%
getRelevanceMap0%
getResultSet0%
getSize0%
__construct0%
getQuery0%
setBackendUrl0%
getBackendUrl0%
doPost0%
processMathResults0%
__construct0%
setFId0%
getFId0%
getFormulae0%
execute0%
execute0%
__construct0%
writeRevision0%
replaceMath0%
renderMath0%
register0%
getFooter0%
getHead0%
execute0%
wFile0%
__construct0%
execute0%
__construct0%
readline0%
__construct0%
getFormulae0%
findConcept0%
execute0%
__construct0%
execute0%
__construct0%
execute0%
generateIndexString0%
__construct0%
printColFooter0%
printColHeader0%
printSource0%
execute0%
__construct0%
execute0%
actionExport0%
actionBenchmark0%
populateSearchIndex0%
createTopicTex0%
__construct0%
execute0%
__construct0%
exportMMLtoFile0%
getMathMLForExport0%
execute0%
getParser0%
getParserOptions0%
doUpdate0%
populateSearchIndex0%
time0%
__construct0%
execute0%
dropUDFs0%
addExtensionTable0%
time0%
__construct0%
printAvailableActions0%
execute0%
__construct0%
printAvailableActions0%
printProfileTypes0%
execute0%
__construct0%
makePath0%
processImage0%
actionPng0%
runTest0%
vPrint0%
resetTimer0%
doUpdate0%
__construct0%
getOldId0%
getSpeechRuleText0%
displayFormulaFeedback0%
displayFeedback0%
printResultRow0%
processInput0%
runFileCheck0%
runValidatorFilter0%
runSelectorFilter0%
printRunSelector0%
execute0%
formatErrors0%
__construct0%
removeSVGs0%
updateTex0%
getMathMlRenderer0%
getRelations0%
downloadPdf0%
printMathObjectInContext0%
printPrefix0%
printFormulaRef0%
getWikiTextLink0%
printIntro0%
printTitle0%
printFormula0%
getMathMLRenderingAsHtmlFragment0%
printSource0%
resetFormula0%
resetPage0%
writeLog0%
printIntorduction0%
getRevisionTitle0%
getGroupName0%
uploadToIPFS0%
execute0%
getFooter0%
doUpdate0%
populateSearchIndex0%
__construct0%
execute0%
getMathTagsFromDatabase0%
__construct0%
execute0%
getFooter0%
getHead0%
generateIndexString0%
__construct0%
__destruct0%
execute0%
wFile0%
getHead0%
pinToIPFS0%
__construct0%
__construct0%
execute0%
__construct0%
getQuery0%
execute0%
createWbItem0%
execute0%
generateIndexString0%
__construct0%
execute0%
__construct0%
execute0%
populateSearchIndex0%
__construct0%
__construct0%
getQId0%
execute0%
getRevisionId0%
getStatusCode0%
updateStatistics0%
extractMathTagsFromWikiText0%
constructformpagerow0%
dbIndexFieldsArray0%
newFromRevisionText0%
constructformpage0%
cloneFromRenderer0%
findSimilarPages0%
hash2md50%
getUserInputTex0%
formatKey0%
getUniqueFromId0%
getTagFromId0%
getWikiText0%
getTimestamp0%
getMathTags0%
guessIdFromContent0%
getContentIdMap0%
getInputHash0%
parserKey2fId0%
formatIds0%
newFromTitle0%
newFromRevisionId0%
__construct0%
getKeys0%
newFromRevisionRecord0%
getWikiText0%
getEndPos0%
getStartPos0%
setStatusCode0%
setTimestamp0%
processInput0%
getRelations0%
exportTexDocument0%
saveToDatabase0%
setQueryId0%
__construct0%
setRenderingTime0%
setPostData0%
getRbi0%
getReSizedSvgLink0%
getSvgHeight0%
getSvgWidth0%
getMathMlAltText0%
getWikiText0%
getTexInfo0%
getMathTableName0%
getRevision0%
getIndexTimestamp0%
addIdentifierTitle0%
getSvg0%
render0%
setAnchorID0%
getAnchorID0%
printLink2Page0%
isCurrent0%
getAllOccurrences0%
getPageTitle0%
getNouns0%
updateObservations0%
setRevisionID0%
getRevisionID0%
getObservations0%
__construct0%
brackR0%
getQueryId0%
__construct0%
processRow0%
getDeQIdMap0%
run0%
__construct0%
run0%
__construct0%
getNumericPropertyId0%
processRow0%
getConceptIdMap0%
run0%
__construct0%
getUser0%
getLog0%
run0%
getGroupName0%
__construct0%
execute0%
__construct0%
getGroupName0%
DisplayRendering0%
hasSvgSupport0%
hasMathMLSupport0%
formatBytes0%
getlengh0%
printSource0%
DisplayInfo0%
PrintTranslationResult0%
GetTranslation0%
DisplayTranslations0%
InfoTex0%
getNumericPropertyId0%
run0%
__construct0%
getUser0%
getRunId0%
getResults0%
setOverwrite0%
isOverwrite0%
getWarnings0%
deleteRun0%
processInput0%
getCsvColumnHeader0%
addValidatedResult0%
getInputHash0%
isValidQId0%
importFromArray0%
importFromFile0%
setUser0%
validateRunId0%
__construct0%
execute0%
__construct0%
getQueryEndpoint0%
getQueryForWdId0%
getQueryForDoi0%
getResults0%
getQidFromConcept0%
getQidFromDe0%
getQueryFromProfileType0%
getQueryFromConfig0%
getJobs0%
pushJob0%
__construct0%
run0%
getNextElement0%
newQueryFromEquationRow0%
getTeXQuery0%
saveSubstepField0%
getParamSettings0%
__construct0%
addFromMathIdGenerator0%
getOutput0%
setMwsns0%
getMwsns0%
addRevision0%
addMwsExpression0%
getMwsExpression0%
getFooter0%
getHead0%
generateIndexString0%
InitializeHeader0%
__construct0%
addOptions0%
getLog0%
addButtons0%
addStateFields0%
addControls0%
__construct0%
getRelations0%
checkBackend0%
getPostData0%
getBackendUrl0%
doPost0%
addIdentifierDefinitionTuple0%
processResults0%
analyze0%
getVersion0%
setTitle0%
run0%
__construct0%
getCQuery0%
addWikiText0%
__construct0%
addField0%
getQIdFromField0%
processBody0%
getStatementList0%
getField0%
getQid0%
getItem0%
createWbItem0%
getLog0%
__construct0%
run0%
getLog0%
__construct0%
addQid0%
normalizeFilename0%
propagateFieldInfo0%
run0%
addJob0%
getLog0%
__construct0%
getSnaks0%
setIfDefined0%
isExcludedFromWb0%
getNewQid0%
getExternalIdType0%
__construct0%
updateSearchIndex0%
createWbItem0%
__construct0%
getInstance0%
getTitle0%
setLanguage0%
getLanguage0%
writeMathIndex0%
getRel0%
setKey0%
getKey0%
__construct0%
getMwsHarvest0%
getRevIdGenerator0%
registerExtension0%
onPageContentSaveComplete0%
onPageSaveComplete0%
onArticleUndelete0%
onArticleDeleteComplete0%
mQueryTagHook0%
onParserFirstCallInit0%
generateMathAnchorString0%
getType0%
addLinkToFormulaInfoPage0%
addIdentifierDescription0%
updateMathIndex0%
updateIndex0%
onLoadExtensionSchemaUpdates0%
setXQuery0%
getXQuery0%
generatePresentationQueryString0%
generateContentQueryString0%
getLaTeXMLPMLSettings0%
getLaTeXMLCMMLSettings0%
injectQvar0%
getPQuery0%
getWikiText0%
setRel0%
setType0%
getRequiredPackages0%
setWikiText0%
newFromWikitext0%
__construct0%
getFormat0%
getSvg0%
getSpeech0%
checkBackend0%
getPostData0%
getBackendUrl0%
doPost0%
processResults0%
texvcInfo0%
getExpr0%
execute0%
getIdentifiers0%
getChecked0%
setExpr0%
doSearch0%
getResultSet0%
getRelevanceMap0%
getRevisionResult0%
addExtensionTable0%
createEvaluationTables0%
getTableHead0%
dbRowToWikiTable0%
getVersion0%
getError0%
__construct0%
getSuccess0%
setMathId8%
writeToCache57%
validate58%
getIdsFromContent75%
initializeFromCache80%
onMathFormulaRenderedNoLink88%

Project Risks

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