Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
FormulaInfo0%
WikidataDriver0%
MediaWiki\Extension\MathSearch\StackExchange\LineReaderJob0%
MediaWiki\Extension\MathSearch\Swh\Swhid0%
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathFormatter0%
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathMLRdfBuilder0%
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathWikidataHook0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLFormatter0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLRdfBuilder0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLValidator0%
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLWikidataHook0%
MathEngineBaseX0%
MediaWiki\Extension\MathSearch\StackExchange\Formula0%
MathEngineMws0%
MathEngineRest0%
SpecialDisplayTopics0%
SpecialLaTeXTranslator0%
SpecialMathDebug0%
SpecialMathDownloadResult0%
SpecialMathIndex0%
SpecialMathSearch0%
SpecialMlpEval0%
GetEquationsByQuery0%
MediaWiki\Extension\MathSearch\StackExchange\IdMap0%
SpecialUploadResult0%
MediaWiki\Extension\MathSearch\StackExchange\DumpReader0%
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%
MathosphereDriver0%
MlpEvalForm0%
MwsDumpWriter0%
MediaWiki\Extension\MathSearch\Rest\ArqTask\GetPostId0%
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
SpecialLaTeXTranslator1722
MathIdGenerator1426
MathQueryObject1260
MlpEvalForm1190
SpecialUploadResult1056
MathosphereDriver992
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
MathEngineBaseX272
SpecialDisplayTopics272
MwsDumpWriter240
MediaWiki\Extension\MathSearch\StackExchange\DumpReader182
GetEquationsByQuery156
WikidataDriver156
MathHighlighter156
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathFormatter132
SpecialMathIndex132
MediaWiki\Extension\MathSearch\StackExchange\WikitextGenerator92
SpecialMathDownloadResult90
MediaWiki\Extension\MathSearch\StackExchange\IdMap90
MediaWiki\Extension\MathSearch\Graph\Job\SetProfileType72
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLFormatter56
MediaWiki\Extension\MathSearch\Graph\Map56
MathEngineMws42
MathSearchUtils42
MediaWiki\Extension\MathSearch\StackExchange\LineReaderJob30
MediaWiki\Extension\MathSearch\Graph\Job\PageCreation30
MediaWiki\Extension\MathSearch\Graph\Query30
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLWikidataHook20
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathWikidataHook20
MediaWiki\Extension\MathSearch\Graph\Job\GraphJob20
MediaWiki\Extension\MathSearch\Wikidata\MathML\MathMLValidator12
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathMLRdfBuilder12
MediaWiki\Extension\MathSearch\Wikidata\Content\ContentMathValidator5

Methods

Coverage Distribution

Complexity

Insufficient Coverage

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

Project Risks

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