Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
CirrusSearch\Api\ConfigDump0%
CirrusSearch\Maintenance\Validators\ReplicaRangeValidator0%
CirrusSearch\Sanity\Checker0%
CirrusSearch\Query\NearMatchQueryBuilder0%
CirrusSearch\Query\FullTextSimpleMatchQueryBuilder0%
CirrusSearch\Query\CountContentWordsBuilder0%
CirrusSearch\Profile\SearchProfileException0%
CirrusSearch\NearMatchPicker0%
CirrusSearch\Api\MappingDump0%
CirrusSearch\MetaStore\MetaStoreIndex0%
CirrusSearch\MetaStore\MetaNamespaceStore0%
CirrusSearch\Maintenance\Validators\Validator0%
CirrusSearch\Maintenance\Validators\ShardAllocationValidator0%
CirrusSearch\Maintenance\Validators\NumberOfShardsValidator0%
CirrusSearch\Sanity\PrintingRemediator0%
CirrusSearch\Maintenance\Validators\MaxShardsPerNodeValidator0%
CirrusSearch\Maintenance\Validators\MappingValidator0%
CirrusSearch\Maintenance\Validators\IndexAllAliasValidator0%
CirrusSearch\Maintenance\Validators\IndexAliasValidator0%
CirrusSearch\Maintenance\Validators\AnalyzersValidator0%
CirrusSearch\Maintenance\SuggesterMappingConfigBuilder0%
CirrusSearch\Maintenance\NullPrinter0%
CirrusSearch\Maintenance\Maintenance0%
CirrusSearch\Maintenance\ChunkBuilder0%
CirrusSearch\Maintenance\ArchiveMappingConfigBuilder0%
CirrusSearch\Job\OtherIndex0%
CirrusSearch\Sanity\NoopRemediator0%
CirrusSearch\Search\BaseCirrusSearchResultSet0%
CirrusSearch\Job\IncomingLinkCount0%
CirrusSearch\Search\Rescore\LogMultFunctionScoreBuilder0%
CirrusSearch\Job\JobTraits0%
CirrusSearch\Updater0%
CirrusSearch\SearchRequestLog0%
CirrusSearch\Search\TitleResultsType0%
CirrusSearch\Search\TextIndexField0%
CirrusSearch\Search\StaticCrossProjectBlockScorer0%
CirrusSearch\Search\SourceTextIndexField0%
CirrusSearch\Search\SingleAggResultsType0%
CirrusSearch\Search\ShortTextIndexField0%
CirrusSearch\Search\Rescore\SatuFunctionScoreBuilder0%
CirrusSearch\Search\Rescore\LogScaleBoostFunctionScoreBuilder0%
CirrusSearch\Search\Rescore\GeoMeanFunctionScoreBuilder0%
CirrusSearch\Search\BaseResultsType0%
CirrusSearch\Search\Rescore\FunctionScoreBuilder0%
CirrusSearch\Search\RandomCrossProjectBlockScorer0%
CirrusSearch\Search\OpeningTextIndexField0%
CirrusSearch\Search\NestedIndexField0%
CirrusSearch\Search\KeywordIndexField0%
CirrusSearch\Search\InterleavedResultSet0%
CirrusSearch\Search\EmptySearchResultSet0%
CirrusSearch\Search\DatetimeIndexField0%
CirrusSearch\Search\CrossProjectBlockScorerFactory0%
CirrusSearch\Search\CrossProjectBlockScorer0%
CirrusSearch\Search\CompositeCrossProjectBlockScorer0%
CirrusSearch\Job\LinksUpdate0%
CirrusSearch\MultiSearchRequestLog0%
CirrusSearch\Job\DeletePages0%
CirrusSearch\BuildDocument\Completion\NaiveSubphrasesSuggestionsBuilder0%
CirrusSearch\Api\QueryCompSuggestBuildDoc0%
CirrusSearch\Elastica\ReindexStatus0%
CirrusSearch\Api\SettingsDump0%
CirrusSearch\BaseRequestLog0%
CirrusSearch\BuildDocument\BuildDocumentException0%
CirrusSearch\BuildDocument\Completion\DefaultSortSuggestionsBuilder0%
CirrusSearch\Elastica\ReindexResponse0%
CirrusSearch\BuildDocument\Completion\SuggestScoringMethodFactory0%
CirrusSearch\ExplainPrinter0%
CirrusSearch\BuildDocument\RedirectsAndIncomingLinks0%
CirrusSearch\Elastica\LtrQuery0%
CirrusSearch\BulkUpdateRequestLog0%
CirrusSearch\Elastica\Health0%
CirrusSearch\Elastica\DeprecationLoggedHttp0%
CirrusSearch\Dump0%
CirrusSearch\CirrusSearchHookRunner0%
CirrusSearch\CompletionSuggester0%
CirrusSearch\EmptyInterwikiResolver0%
CirrusSearch\Api\SuggestIndex0%
CirrusSearch\CompletionRequestLog0%
CirrusSearch\Hooks\CustomPageFields0%
CirrusSearch\Job\DeleteArchive0%
CirrusSearch\Job\CirrusTitleJob0%
CirrusSearch\Job\CirrusGenericJob0%
CirrusSearch\Job\CheckerJob0%
CirrusSearch\Extra\Query\TermFreq0%
CirrusSearch\Extra\Query\TokenCountRouter0%
CirrusSearch\Iterator\IteratorDecorator0%
CirrusSearch\Api\QueryCirrusDoc0%
CirrusSearch\Iterator\CallbackIterator0%
CirrusSearch\InterwikiSearcher0%
CirrusSearch\Job\MassIndex6%
CirrusSearch\Maintenance\Reindexer7%
CirrusSearch\Extra\Query\SourceRegex10%
CirrusSearch\Api\ApiTrait13%
CirrusSearch\Search\SearchRequestBuilder15%
CirrusSearch\Search\CirrusSearchResult15%
CirrusSearch\Maintenance\ConfigUtils17%
CirrusSearch\Job\ElasticaWrite18%
CirrusSearch\Search\ResultSet19%
CirrusSearch\Maintenance\Validators\SpecificAliasValidator24%
CirrusSearch\CirrusSearch25%
CirrusSearch\Profile\PhraseSuggesterProfileRepoWrapper28%
CirrusSearch\Hooks32%
CirrusSearch\ElasticaErrorHandler36%
CirrusSearch\Search\SearchContext39%
CirrusSearch\Util43%
CirrusSearch\Connection50%
CirrusSearch\Search\Result52%
CirrusSearch\Searcher55%
CirrusSearch\UserTestingStatus57%
CirrusSearch\Maintenance\SuggesterAnalysisConfigBuilder60%
CirrusSearch\Search\Filters60%
CirrusSearch\MetaStore\MetaSaneitizeJobStore60%
CirrusSearch\Query\PrefixSearchQueryBuilder63%
CirrusSearch\Parser\AST\NegatedNode63%
CirrusSearch\DataSender66%
CirrusSearch\BuildDocument\BuildDocument66%
CirrusSearch\Search\FancyTitleResultsType67%
CirrusSearch\Search\FullTextResultsType68%
CirrusSearch\Fallbacks\FallbackRunnerContextImpl68%
CirrusSearch\Query\FullTextQueryStringQueryBuilder68%
CirrusSearch\Elastica\ReindexRequest69%
CirrusSearch\Query\MoreLikeTrait69%
CirrusSearch\Elastica\ReindexTask70%
CirrusSearch\BuildDocument\Completion\SuggestBuilder70%
CirrusSearch\Dispatch\CirrusDefaultSearchQueryRoute71%
CirrusSearch\ElasticsearchIntermediary71%
CirrusSearch\Search\TeamDraftInterleaver73%
CirrusSearch\OtherIndexesUpdater74%
CirrusSearch\BuildDocument\Completion\IncomingLinksScoringMethod75%
CirrusSearch\CirrusSearchServices75%
CirrusSearch\Wikimedia\WeightedTagsHooks75%
CirrusSearch\Search\Rescore\RescoreBuilder75%
CirrusSearch\Search\Rescore\FunctionScoreChain76%
CirrusSearch\Search\TitleHelper78%
CirrusSearch\ClusterSettings78%
CirrusSearch\Parser\AST\ParseWarning78%
CirrusSearch\Maintenance\IndexCreator79%
CirrusSearch\Search\CirrusIndexField79%
CirrusSearch\RequestLogger79%
CirrusSearch\Dispatch\BasicSearchQueryRoute80%
CirrusSearch\Profile\SearchProfileRepositoryTransformer80%
CirrusSearch\Parser\AST\FuzzyNode80%
CirrusSearch\Search\Fetch\ExperimentalHighlightedFieldBuilder80%
CirrusSearch\Elastica\SearchAfter80%
CirrusSearch\Search\Rescore\NamespacesFunctionScoreBuilder82%
CirrusSearch\Search\Rescore\FunctionScoreDecorator83%
CirrusSearch\Parser\AST\WordsQueryNode83%
CirrusSearch\Parser\AST\WildcardNode83%
CirrusSearch\Parser\AST\PhrasePrefixNode83%
CirrusSearch\Search\Escaper84%
CirrusSearch\BuildDocument\ParserOutputPageProperties85%
CirrusSearch\Assignment\ConstantAssignment85%
CirrusSearch\Search\Rescore\CustomFieldFunctionScoreBuilder85%
CirrusSearch\Parser\AST\NamespaceHeaderNode85%
CirrusSearch\Parser\AST\Visitor\LeafVisitor86%
CirrusSearch\Parser\FullTextKeywordRegistry86%
CirrusSearch\SiteMatrixInterwikiResolver87%
CirrusSearch\Search\CompletionResultsCollector87%
CirrusSearch\Wikimedia\WeightedTags87%
CirrusSearch\Parser\AST\Visitor\QueryFixer88%
CirrusSearch\UserTestingEngine88%
CirrusSearch\Search\Rescore\ByKeywordTemplateBoostFunction88%
CirrusSearch\Parser\AST\KeywordFeatureNode89%
CirrusSearch\Query\HasTemplateFeature89%
CirrusSearch\Profile\SearchProfileService89%
CirrusSearch\Search\Fetch\BaseHighlightedField89%
CirrusSearch\ExternalIndex89%
CirrusSearch\BuildDocument\Completion\PQScore89%
CirrusSearch\Query\BaseRegexFeature89%

Project Risks

Class CRAP
CirrusSearch\Hooks4333
CirrusSearch\CirrusSearch3203
CirrusSearch\Maintenance\Reindexer3022
CirrusSearch\Updater2550
CirrusSearch\MetaStore\MetaStoreIndex2070
CirrusSearch\Search\SearchContext1929
CirrusSearch\Sanity\Checker1640
CirrusSearch\Maintenance\ConfigUtils1503
CirrusSearch\Util1378
CirrusSearch\Search\TextIndexField1332
CirrusSearch\Query\FullTextSimpleMatchQueryBuilder1260
CirrusSearch\Maintenance\Maintenance1260
CirrusSearch\Search\BaseCirrusSearchResultSet1260
CirrusSearch\Job\CheckerJob1190
CirrusSearch\CompletionSuggester1190
CirrusSearch\Search\SearchRequestBuilder1178
CirrusSearch\Searcher1143
CirrusSearch\SearchRequestLog1122
CirrusSearch\Profile\PhraseSuggesterProfileRepoWrapper1021
CirrusSearch\Search\InterleavedResultSet650
CirrusSearch\Search\ResultSet643
CirrusSearch\ElasticaErrorHandler597
CirrusSearch\BuildDocument\RedirectsAndIncomingLinks506
CirrusSearch\Api\ApiTrait425
CirrusSearch\DataSender399
CirrusSearch\NearMatchPicker380
CirrusSearch\Search\Rescore\GeoMeanFunctionScoreBuilder380
CirrusSearch\Api\ConfigDump342
CirrusSearch\Maintenance\Validators\Validator342
CirrusSearch\BuildDocument\Completion\NaiveSubphrasesSuggestionsBuilder272
CirrusSearch\Job\JobTraits272
CirrusSearch\Extra\Query\TokenCountRouter240
CirrusSearch\CompletionRequestLog240
CirrusSearch\Search\Result214
CirrusSearch\MultiSearchRequestLog210
CirrusSearch\Extra\Query\SourceRegex199
CirrusSearch\Connection198
CirrusSearch\Job\ElasticaWrite172
CirrusSearch\Query\FullTextQueryStringQueryBuilder171
CirrusSearch\ExplainPrinter156
CirrusSearch\Maintenance\Validators\IndexAliasValidator156
CirrusSearch\BuildDocument\Completion\SuggestBuilder133
CirrusSearch\Elastica\ReindexResponse132
CirrusSearch\BaseRequestLog132
CirrusSearch\Maintenance\ChunkBuilder132
CirrusSearch\MetaStore\MetaNamespaceStore132
CirrusSearch\Job\LinksUpdate132
CirrusSearch\Api\QueryCirrusDoc132
CirrusSearch\Maintenance\Validators\SpecificAliasValidator112
CirrusSearch\InterwikiSearcher110
CirrusSearch\Maintenance\Validators\ShardAllocationValidator110
CirrusSearch\BulkUpdateRequestLog110
CirrusSearch\Search\TitleResultsType90
CirrusSearch\Search\Rescore\FunctionScoreBuilder90
CirrusSearch\RequestLogger79
CirrusSearch\Search\Rescore\RescoreBuilder77
CirrusSearch\ElasticsearchIntermediary76
CirrusSearch\Search\Rescore\SatuFunctionScoreBuilder72
CirrusSearch\Maintenance\Validators\MappingValidator72
CirrusSearch\Search\Rescore\LogScaleBoostFunctionScoreBuilder72
CirrusSearch\BuildDocument\Completion\DefaultSortSuggestionsBuilder72
CirrusSearch\Search\Filters68
CirrusSearch\Profile\SearchProfileService56
CirrusSearch\Search\Fetch\BaseHighlightedField56
CirrusSearch\Search\SingleAggResultsType56
CirrusSearch\Search\CrossProjectBlockScorerFactory56
CirrusSearch\Search\Rescore\LogMultFunctionScoreBuilder56
CirrusSearch\Api\QueryCompSuggestBuildDoc56
CirrusSearch\Parser\AST\Visitor\QueryFixer54
CirrusSearch\BuildDocument\BuildDocument51
CirrusSearch\Query\BaseRegexFeature44
CirrusSearch\Search\Rescore\FunctionScoreChain43
CirrusSearch\Search\FancyTitleResultsType43
CirrusSearch\Dump42
CirrusSearch\Search\SourceTextIndexField42
CirrusSearch\Api\MappingDump42
CirrusSearch\Api\SettingsDump42
CirrusSearch\Job\OtherIndex42
CirrusSearch\Maintenance\SuggesterAnalysisConfigBuilder38
CirrusSearch\Elastica\ReindexTask36
CirrusSearch\SiteMatrixInterwikiResolver36
CirrusSearch\Job\MassIndex35
CirrusSearch\UserTestingStatus32
CirrusSearch\BuildDocument\ParserOutputPageProperties31
CirrusSearch\OtherIndexesUpdater31
CirrusSearch\Maintenance\Validators\IndexAllAliasValidator30
CirrusSearch\Hooks\CustomPageFields30
CirrusSearch\Search\KeywordIndexField30
CirrusSearch\Search\CirrusIndexField28
CirrusSearch\Search\CompletionResultsCollector27
CirrusSearch\Query\MoreLikeTrait26
CirrusSearch\Search\TitleHelper25
CirrusSearch\Search\Rescore\NamespacesFunctionScoreBuilder23
CirrusSearch\Search\Escaper21
CirrusSearch\Elastica\ReindexRequest21
CirrusSearch\ClusterSettings21
CirrusSearch\Search\CompositeCrossProjectBlockScorer20
CirrusSearch\Job\DeleteArchive20
CirrusSearch\BuildDocument\Completion\SuggestScoringMethodFactory20
CirrusSearch\Elastica\DeprecationLoggedHttp20
CirrusSearch\Search\CrossProjectBlockScorer20
CirrusSearch\UserTestingEngine19
CirrusSearch\Elastica\SearchAfter19
CirrusSearch\Wikimedia\WeightedTagsHooks18
CirrusSearch\Search\TeamDraftInterleaver17
CirrusSearch\Search\Fetch\ExperimentalHighlightedFieldBuilder16
CirrusSearch\MetaStore\MetaSaneitizeJobStore13
CirrusSearch\Query\HasTemplateFeature13
CirrusSearch\Query\PrefixSearchQueryBuilder13
CirrusSearch\Search\StaticCrossProjectBlockScorer12
CirrusSearch\Extra\Query\TermFreq12
CirrusSearch\Query\NearMatchQueryBuilder12
CirrusSearch\Elastica\Health12
CirrusSearch\Search\OpeningTextIndexField12
CirrusSearch\Search\NestedIndexField12
CirrusSearch\Maintenance\SuggesterMappingConfigBuilder12
CirrusSearch\Maintenance\Validators\AnalyzersValidator12
CirrusSearch\Maintenance\Validators\MaxShardsPerNodeValidator12
CirrusSearch\Job\DeletePages12
CirrusSearch\Maintenance\Validators\NumberOfShardsValidator12
CirrusSearch\Job\CirrusTitleJob12
CirrusSearch\Maintenance\Validators\ReplicaRangeValidator12
CirrusSearch\Dispatch\BasicSearchQueryRoute11
CirrusSearch\Profile\SearchProfileRepositoryTransformer11
CirrusSearch\ExternalIndex11
CirrusSearch\Parser\AST\NegatedNode11
CirrusSearch\Parser\AST\ParseWarning10
CirrusSearch\Maintenance\IndexCreator9
CirrusSearch\Parser\AST\Visitor\LeafVisitor9
CirrusSearch\Parser\AST\FuzzyNode7
CirrusSearch\BuildDocument\Completion\PQScore7
CirrusSearch\Dispatch\CirrusDefaultSearchQueryRoute6
CirrusSearch\Search\Rescore\CustomFieldFunctionScoreBuilder5
CirrusSearch\Parser\AST\NamespaceHeaderNode5
CirrusSearch\Parser\FullTextKeywordRegistry5
CirrusSearch\Search\Rescore\ByKeywordTemplateBoostFunction3

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
execute0%
hasRewrittenQuery0%
setSuggestionQuery0%
preCacheContainedTitles0%
emptyResultSet0%
shrink0%
extractResults0%
extractTitles0%
addInterwikiResults0%
getInterwikiResults0%
hasInterwikiResults0%
setRewrittenQuery0%
getQueryAfterRewrite0%
log0%
getQueryAfterRewriteSnippet0%
hasSuggestion0%
getSuggestionQuery0%
getSuggestionSnippet0%
count0%
numRows0%
getTotalHits0%
getElasticResponse0%
getTitleHelper0%
getSourceFiltering0%
setMappingFlags0%
hasMoreResults0%
oldDocument0%
initFromTitle0%
loadPagesFromIndex0%
__construct0%
check0%
checkExisitingPage0%
checkIfRedirect0%
checkInexistentPage0%
checkPageInIndex0%
checkIndexMismatch0%
checkIndexedVersion0%
loadPagesFromDB0%
getDB0%
sane0%
oldVersionInIndex0%
redirectInIndex0%
pageNotInIndex0%
ghostPageInIndex0%
pageInWrongIndex0%
oldVersionInIndex0%
oldDocument0%
__construct0%
redirectInIndex0%
pageNotInIndex0%
ghostPageInIndex0%
pageInWrongIndex0%
addIndexingHints0%
isBrokenTitle0%
appendLastLogPayload0%
addInterwikiResults0%
insourceOrIntitle0%
getFields0%
getHighlightingConfiguration0%
withFetchPhaseBuilder0%
__construct0%
getMetrics0%
getOffset0%
extractResults0%
getElasticResponse0%
getElasticaResultSet0%
setRewrittenQuery0%
insource0%
count0%
numRows0%
getTotalHits0%
hasRewrittenQuery0%
getQueryAfterRewrite0%
getQueryAfterRewriteSnippet0%
hasSuggestion0%
getSuggestionQuery0%
getSuggestionSnippet0%
getInterwikiResults0%
hasInterwikiResults0%
intitle0%
booleanOr0%
isMissingRevision0%
__construct0%
getFile0%
initText0%
addExtraField0%
__construct0%
score0%
__construct0%
reorder0%
load0%
loadScorer0%
getMapping0%
transformOneResult0%
withConfig0%
getElasticaResultSet0%
searchContainedSyntax0%
fixupQueryStringPart0%
getAllowLeadingWildcard0%
getLanguage0%
getSourceFiltering0%
getHighlightingConfiguration0%
transformElasticsearchResult0%
createEmptyResult0%
getFactories0%
getFactories0%
getQueryTypesUsed0%
sample0%
hasMoreResults0%
elasticaIndex0%
createOrUpgradeIfNecessary0%
buildIndexConfiguration0%
createNewIndex0%
buildMapping0%
switchAliasTo0%
getAliasedIndexName0%
upgradeIndexVersion0%
runtimeVersion0%
storeMetastoreVersion0%
log0%
cirrusReady0%
stores0%
metastoreVersion0%
getMasterTimeout0%
addGlobals0%
getRequests0%
extractRequestVariables0%
__construct0%
pickBest0%
checkAllMatches0%
checkOneMatch0%
buildOtherIndexesUpdater0%
runUpdates0%
createIfNecessary0%
saneitizeJobStore0%
getWord0%
outputIndented0%
set0%
updateIndices0%
swapAliases0%
shouldRemoveFromAlias0%
__construct0%
printDebugCheckConfig0%
checkConfig0%
normalizeConfigValue0%
debugCheckConfig0%
output0%
__construct0%
namespaceStore0%
docId0%
buildIndexProperties0%
reindex0%
find0%
queryFilter0%
buildDocuments0%
update0%
delete0%
buildIndexProperties0%
__construct0%
versionStore0%
logFailure0%
getFuzziness0%
wordPrefixQuery0%
__construct0%
fromFile0%
__construct0%
supportsContext0%
registerFileRepository0%
buildRegexWithGroovy0%
build0%
isPathologicalWildcard0%
buildDegraded0%
switchSearchToExactForWildcards0%
buildHighlightQuery0%
buildSearchTextQuery0%
getOffsets0%
buildHighlightQuery0%
buildPhraseRescoreQuery0%
getMultiTermRewriteMethod0%
buildExpQuery0%
attachFilter0%
buildSimpleAllFilter0%
buildTitleFilter0%
doApply0%
build0%
getCrossSearchStrategy0%
defaultNSPrefixParser0%
ignorable0%
visitNamespaceHeader0%
getValue0%
getRequiredNamespaces0%
getQuotedValue0%
getSuffix0%
accept0%
toArray0%
accept0%
getMessage0%
getExpectedTokens0%
getActualToken0%
getMessageParams0%
getQuery0%
getPhrase0%
visitNegatedNode0%
getPhrase0%
visitNegatedNode0%
visitNamespaceHeader0%
visitPhrasePrefixNode0%
visitFuzzyNode0%
visitPrefixNode0%
visitEmptyQueryNode0%
visitNegatedNode0%
visitNamespaceHeader0%
getWildcardQuery0%
getWords0%
searchContainedSyntax0%
shrink0%
validate0%
__construct0%
getNamespaceText0%
__construct0%
getFields0%
getHighlightingConfiguration0%
transformElasticsearchResult0%
createEmptyResult0%
getTitleHelper0%
newFromGlobals0%
getUserLanguage0%
getNonCirrusConfigVarNames0%
setCachedResult0%
getSimilarity0%
finish0%
isCachedResponse0%
getElasticTookMs0%
getLogVariables0%
getRequests0%
extractRequestVariables0%
extractResponseVariables0%
extractHits0%
setSort0%
limitSearchToLocalWiki0%
nearMatchTitleSearch0%
isExternal0%
initFlags0%
prefixSearch0%
transformElasticsearchResult0%
getTimeout0%
setTimeout0%
getSort0%
setSort0%
getSearchContext0%
getMapping0%
__construct0%
getSourceFiltering0%
getFields0%
getHighlightingConfiguration0%
createEmptyResult0%
configureHighlighting0%
__construct0%
getMapping0%
__construct0%
score0%
__construct0%
interleave0%
extractResults0%
__construct0%
setTextOptions0%
getTextOptions0%
getMapping0%
countContentWords0%
get0%
getLimit0%
getEngineHints0%
overrideYesNo0%
overrideNumeric0%
getExecutionId0%
resetExecutionId0%
getRequestSetToken0%
generateIdentToken0%
getExecutionContext0%
getStatsDataFactory0%
getIndexMapping0%
processSearchRawReturn0%
onCirrusSearchSimilarityConfig0%
parsePotentialPercent0%
onSearchIndexFields0%
onCirrusSearchAnalysisConfig0%
loadDocuments0%
determineCirrusDocId0%
hasRedirect0%
backoffDelay0%
decideClusters0%
run0%
buildJobDelayOptions0%
buildJobName0%
collectTitlesFromElastic0%
endsWith0%
doPoolCounterWork0%
findNamespace0%
deletePages0%
updateNamespacesFromQuery0%
getQueryCacheStatsKey0%
newLog0%
__construct0%
build0%
updateFromTitle0%
traceRedirects0%
updatePages0%
updateWeightedTags0%
resetWeightedTags0%
archivePages0%
wrapWithPoolStats0%
buildArchiveDocuments0%
updateLinkedArticles0%
pagesToTitles0%
pushElasticaWriteJobs0%
elasticaWriteClusters0%
newLog0%
decideActiveTest0%
hasInstance0%
getInstance0%
getNamespaceText0%
getPoolStatsKey0%
setLimit0%
setOffset0%
extractTitles0%
getDocId0%
getTitleSnippet0%
getRedirectSnippet0%
getTextSnippet0%
getCategorySnippet0%
getWordCount0%
getByteSize0%
getTimestamp0%
isFileMatch0%
getInterwikiPrefix0%
getInterwikiNamespaceText0%
getScore0%
append0%
getExplanation0%
getTotalHits0%
preCacheContainedTitles0%
hasSuggestion0%
getSuggestionQuery0%
extractResults0%
transformOneResult0%
addInterwikiResults0%
getInterwikiResults0%
hasInterwikiResults0%
hasRewrittenQuery0%
getScript0%
__construct0%
getElasticResponse0%
append0%
setSuggestionQuery0%
__construct0%
getMapping0%
getRequests0%
transformAsResultSet0%
addSubfield0%
getMapping0%
getTextOptions0%
__construct0%
score0%
__construct0%
buildLtrQuery0%
getOverriddenFactor0%
getSize0%
__construct0%
getScript0%
append0%
__construct0%
append0%
__construct0%
findCenterFactor0%
append0%
getScript0%
getQueryAfterRewrite0%
getElasticaResultSet0%
getOffset0%
getResultsType0%
setOriginalSearchTerm0%
getCleanedSearchTerm0%
setCleanedSearchTerm0%
escaper0%
getExtraScoreBuilders0%
addCustomRescoreComponent0%
addWarning0%
getWarnings0%
setFulltextQueryBuilderProfile0%
setResultsType0%
getExtraIndices0%
getCacheTtl0%
getPhraseRescoreQuery0%
setPhraseRescoreQuery0%
addAggregation0%
getAggregations0%
getDebugOptions0%
mustNot0%
setTrackTotalHits0%
getTrackTotalHits0%
setSearchEngineEntryPoint0%
setProvideAllSnippets0%
build0%
setCacheTtl0%
setLimitSearchToLocalWiki0%
count0%
setResultsPossible0%
numRows0%
searchContainedSyntax0%
hasMoreResults0%
shrink0%
extractTitles0%
withConfig0%
__clone0%
isDirty0%
setRescoreProfile0%
areResultsPossible0%
getSyntaxUsed0%
getSearchQuery0%
getSyntaxDescription0%
addNotFilter0%
setHighlightQuery0%
addNonTextHighlightQuery0%
getFetchPhaseBuilder0%
getHighlight0%
getHighlightQuery0%
getRescore0%
getQuery0%
setMainQuery0%
addNonTextQuery0%
fetchActualAllocation0%
getLogVariables0%
__construct0%
isParseError0%
isComplete0%
cancel0%
delete0%
getResponse0%
getScoringMethod0%
fetchMaxDoc0%
getTargetNamespace0%
logRequestResponse0%
extractMessage0%
getBatchId0%
getThrottledUntil0%
getQueryTypesUsed0%
hasQueryLogs0%
encodePossibleDocIds0%
successViaCache0%
appendLastLogPayload0%
validate0%
isMSearchResultSetOK0%
getSisterProjectPrefixes0%
getSisterProjectConfigs0%
getSlices0%
getRequestsPerSecond0%
getSameProjectWikiByLang0%
isComplete0%
isComplete0%
isFailed0%
__construct0%
getFailures0%
isCanceled0%
getCanceledReason0%
__construct0%
finalize0%
finishInitializeBatch0%
getTotal0%
getThrottledMillis0%
getUpdated0%
getCreated0%
getDeleted0%
getBatches0%
getVersionConflicts0%
getNoops0%
getBulkRetries0%
getSearchRetries0%
initialize0%
getInterwikiPrefix0%
getSameProjectConfigByLang0%
isSuccessful0%
create0%
setText0%
setFallback0%
setField0%
setAnalyzer0%
addCondition0%
getRequiredFields0%
getExtraFields0%
setPreviousResultSet0%
getCharRange0%
__construct0%
__construct0%
getNamespacePrefixParser0%
getCirrusSearchHookRunner0%
getMetrics0%
getRequiredFields0%
addInputToFST0%
build0%
getRequiredFields0%
__construct0%
onBeforeInitialize0%
__construct0%
setMaxNgramClauses0%
__construct0%
setRegex0%
format0%
formatText0%
processExplain0%
create0%
getRequiredFields0%
getRequiredFields0%
getGroupAndIndexName0%
getIndexName0%
__construct0%
setField0%
setMaxNgramsExtracted0%
setNGramField0%
tokenize0%
setGramSize0%
splitTranslatedPage0%
build0%
setMaxExpand0%
setMaxStatesTraced0%
setMaxInspect0%
setMaxDeterminizedStates0%
setCaseSensitive0%
getUnsuccessfulReason0%
initialize0%
onArticleDelete0%
getConnectTimeout0%
onCirrusSearchRegisterFullTextQueryClassifiers0%
onCirrusSearchAddQueryFeatures0%
onCirrusSearchSimilarityConfig0%
onCirrusSearchAnalysisConfig0%
onCirrusSearchMappingConfig0%
onCirrusSearchProfileService0%
onCirrusSearchScoreBuilder0%
getCirrusCategoriesClient0%
raiseResponseException0%
__construct0%
getCirrusSearchHookRunner0%
setResult0%
getElasticTookMs0%
isCachedResponse0%
getLogVariables0%
getRequests0%
setTotalHits0%
setSuggestTookMs0%
setPrefixTookMs0%
addIndex0%
__construct0%
makeSearcher0%
suggest0%
isFeatureEnabled0%
getElasticTookMs0%
getLogVariables0%
getRequests0%
finish0%
__construct0%
setConnection0%
getConnection0%
getConfig0%
__construct0%
searchTextReal0%
countContentWords0%
getSuggestions0%
getValidSorts0%
getLastSearchMetrics0%
completionSearchBackend0%
completionSearchWithVariants0%
prefixSearch0%
searchArchiveTitle0%
resetWeightedTags0%
getUpdater0%
__construct0%
processMSearchResponse0%
setRequestsPerSecond0%
finishInitializeBatch0%
__construct0%
__construct0%
onView0%
getName0%
requiresWrite0%
requiresUnblock0%
__construct0%
strStartsWith0%
_setupCurl0%
__construct0%
bulkResponseExceptionIsJustDocumentMissing0%
_retrieveHealthData0%
__construct0%
_getBaseName0%
setModel0%
setStore0%
addLtrParam0%
setLtrParams0%
setRemoteInfo0%
setSize0%
convertEncoding0%
finalize0%
collectCompSuggestResults0%
getMaxConnectionAttempts0%
collectPrefixSearchResults0%
getSuggestSearchRequest0%
getPrefixSearchRequest0%
newLog0%
getCompletionIndex0%
getResultsTransformer0%
clearPool0%
__sleep0%
getClusterName0%
getArchiveIndex0%
raiseLinkCountException0%
getIndexSuffixForNamespace0%
pickIndexTypeForNamespaces0%
pickIndexSuffixForNamespaces0%
getAllIndexSuffixesForNamespaces0%
destroyClient0%
getClusterConnections0%
newLog0%
getConfig0%
buildCount0%
reportUpdateMetrics0%
onApiBeforeMain0%
makeSearcher0%
onArticleDeleteComplete0%
addReplicaGroup0%
outputIndented0%
error0%
waitForGreen0%
isIndex0%
getAllowedParams0%
addUserTesting0%
getIndicesWithAlias0%
isIndexLive0%
addProfiles0%
getTemplateName0%
scanAvailableModules0%
__construct0%
finalSetup0%
setupUserTest0%
runChild0%
getConnection0%
getSearchConfig0%
getMetaStore0%
decideCluster0%
loadSpecialVars0%
done0%
output0%
getExamplesMessages0%
outputIndented0%
execute0%
addExplanation0%
getAllowedParams0%
execute0%
__construct0%
getExamplesMessages0%
getAllowedParams0%
generateSourceFiltering0%
addByPageId0%
buildConfig0%
__construct0%
getAllIndicesByType0%
canOptimizeAnalysisConfig0%
getExamplesMessages0%
getExamplesMessages0%
build0%
__construct0%
getExamplesMessages0%
getAllowedParams0%
checkElasticsearchVersion0%
pickIndexIdentifierFromOption0%
execute0%
output0%
error0%
getAllowedParams0%
updateIndices0%
getNumberOfNodes0%
getNumberOfShards0%
hasStopWords0%
__construct0%
buildConfig0%
__construct0%
validate0%
__construct0%
validate0%
__construct0%
estimateTimeRemaining0%
updateIndices0%
shouldRemoveFromAlias0%
__construct0%
validate0%
compareMappingToActual0%
__construct0%
validate0%
__construct0%
validate0%
__construct0%
estimateSlices0%
monitorSleepSeconds0%
disablePoolCountersAndLogging0%
reindex0%
maybeCreateMetastore0%
requireCirrusReady0%
getBackCompatOption0%
unwrap0%
canOptimizeAnalysisConfig0%
output0%
outputIndented0%
addConcreteNamespaceMap0%
error0%
__construct0%
waitForCounts0%
monitorReindexTask0%
waitForGreen0%
getHealth0%
decideMaxShardsPerNodeForReindex0%
setConnectionTimeout0%
destroyClients0%
output0%
outputIndented0%
error0%
fatalError0%
makeUpdateFieldsScript0%
execute0%
isCachedResponse0%
getExamplesMessages0%
__construct0%
__construct0%
current0%
__construct0%
current0%
key0%
next0%
rewind0%
valid0%
build0%
doJob0%
getInterwikiResults0%
makeIsOldClosure0%
getPressure0%
allowRetries0%
retry0%
__construct0%
createBuilders0%
formatDescription0%
__construct0%
getQueryType0%
getSearchConfig0%
getQueryCacheStatsKey0%
__construct0%
__construct0%
onPageMoveComplete0%
onRevisionDelete0%
onSoftwareInfo0%
onSpecialSearchResultsAppend0%
addSearchFeedbackLink0%
onLinksUpdateCompleted0%
onUploadComplete0%
onPrefixSearchExtractNamespace0%
onSearchGetNearMatch0%
onTitleMove0%
pickFromArray0%
buildSearchIndexFields0%
getConfig0%
getConnection0%
onShowSearchHitTitle0%
onAPIAfterExecute0%
onSpecialSearchResults0%
addWordCount0%
onArticleUndelete0%
onSpecialStatsAddExtra0%
onAPIQuerySiteInfoStatisticsInfo0%
onSearchIndexFields0%
getDescription0%
getSearchConfig0%
getTookMs0%
doJob0%
__construct0%
allowRetries0%
doJob0%
finish0%
__construct0%
doJob0%
doJob0%
queueIncomingLinksJobs0%
isPrioritized0%
__construct0%
requeueError0%
build0%
queueIfRequired0%
start0%
__construct0%
canWriteToCluster0%
doJob0%
buildSimilarityConfig0%
execute0%
doJob0%
doJob0%
doSearchText12%
extractMessageAndStatus12%
overrideMoreLikeThisOptionsFromMessage20%
maybeWrapWithTokenCountRouter20%
getProfile20%
onMediaWikiServices25%
serde25%
pickTextSnippet31%
runSearch33%
estimateDataSize33%
searchMulti37%
searchOne38%
addNoopHandler40%
isAutomatedRequest44%
prepareQueryParams45%
extractFullError46%
formatMessage46%
runMSearch50%
__construct55%
defaults56%
prefixSearchExtractNamespaceWithConnection57%
getOverriddenConnection60%
customize60%
registerRepository60%
finalize61%
isMinimumShouldMatch62%
request62%
getPoolCounterType62%
getStatus63%
getBoostForNamespace64%
build66%
append66%
createIndex66%
getOverriddenName66%
allWikisStrategy66%
hostWikiOnlyStrategy66%
getQueryWithoutNsHeader66%
reportDocSize66%
searchTextDefaultRoute66%
transform66%
trimForDistanceCheck66%
getUserLang66%
setResultPages66%
collectTitles66%
identifyInterwikiPrefix66%
rewrite69%
makeRemoteReindexInfo70%
transformElasticsearchResult70%
sendDeletes70%
sendOtherIndexUpdates70%
sendData71%
finalizeReal71%
getShardCount71%
pushAnalyzerAliasesIntoMappings71%
doExpand71%
__construct71%
getProfileService71%
collectTitlesFromDB72%
buildRescoreQuery72%
searchTextInternal72%
getImplementation72%
getSupportedProfile74%
start75%
areResultsPossible75%
registerSearchQueryRoute75%
newBuilder75%
mainText75%
findUsedAnalyzersInMappings75%
initialize75%
mainText75%
extractAttribute75%
getTypeLabels75%
visitParsedBooleanNode75%
getSearchType75%
decideUiWarning75%
addRequest76%
areSearchesTheSame76%
getPhpRequestTookMs77%
scanModulesOrPlugins78%
collect78%
doApply80%
setValue80%
__construct80%
getCrossSearchStrategy80%
accepts80%
getSameProjectConfigByLang80%
getICUNormSetFilter80%
create80%
registerProfileOverride80%
next80%
loadProfile80%
hasProfile80%
__construct80%
transform80%
wrapBulkRequest80%
decideRequiredSetAction80%
buildArgs80%
createFromProfile80%
__construct80%
buildLogMessage81%
findSuggestion81%
successApproximation81%
buildFullTextBuilder81%
buildRescoreQuery81%
score81%
resolveRedirectHighlight81%
loadMatrix83%
entireValue83%
build83%
keywordPrefixQuery83%
__construct83%
looksLikeAutomation83%
doCategory83%
entireValue83%
getMapping83%
filterKeyword83%
buildRegexWithPlugin83%
build83%
buildFullTextSearchFields83%
rewrite84%
sendUpdateWeightedTags84%
__construct85%
toArray85%
loadInterwikiOverrides85%
registerClassifierAsCallable85%
build85%
build85%
__construct85%
getClientTimeout85%
supports85%
distance85%
redirectAndHeadings85%
doHeadings85%
__construct86%
buildCirrusSearchRequestEvent86%
getFixablePart86%
fixupWholeQueryString86%
getFilterQuery87%
getReplicaCount87%
__construct87%
redirectAndHeadings87%
search87%
getElement87%
buildHighlightFields87%
mergeStatusWithChildren87%
fetchCategories88%
failure88%
buildDocument88%
identifyNamespace88%
build88%
getOnWikiBoostTemplates88%
transformOneElasticResult88%
__construct88%
postProcess89%

Project Risks

Method CRAP
getProfile1059
build812
doJob420
overrideMoreLikeThisOptionsFromMessage293
searchTextReal182
__construct182
getMapping156
buildExpQuery156
searchMulti141
pickBest132
updateLinkedArticles132
build132
extractMessageAndStatus107
bulkResponseExceptionIsJustDocumentMissing90
extractResponseVariables90
traceRedirects90
isIndexLive90
updateIndices90
configureHighlighting90
overrideNumeric72
getInterwikiResults72
addCondition72
validate72
getQuery72
loadDocuments72
determineCirrusDocId72
completionSearchBackend72
collectPrefixSearchResults72
getOverriddenFactor72
reportUpdateMetrics56
getPrefixSearchRequest56
finishInitializeBatch56
suggest56
metastoreVersion56
decideClusters56
validate56
checkConfig56
check56
pickIndexIdentifierFromOption56
monitorReindexTask56
getRequests56
reindex56
get42
makeUpdateFieldsScript42
__construct42
getBackCompatOption42
loadScorer42
getLogVariables42
getTextOptions42
checkAllMatches42
preCacheContainedTitles42
__construct42
onSearchGetNearMatch42
execute42
setResult42
sendData40
build35
pickTextSnippet34
extractFullError34
doSearchText30
waitForCounts30
attachFilter30
initialize30
pushElasticaWriteJobs30
format30
booleanOr30
extractResults30
loadPagesFromDB30
__construct30
pickFromArray30
onSpecialSearchResults30
retry30
doJob30
build30
searchArchiveTitle30
finish30
validate30
processSearchRawReturn30
estimateTimeRemaining30
updateFromTitle30
build30
prefixSearch30
extractHits30
hasRedirect30
getAliasedIndexName30
getIndexSuffixForNamespace30
switchAliasTo30
checkElasticsearchVersion30
getImplementation29
sendUpdateWeightedTags22
serde21
doPoolCounterWork20
getLogVariables20
onAPIAfterExecute20
__construct20
createOrUpgradeIfNecessary20
buildMapping20
getSimilarity20
pickIndexSuffixForNamespaces20
getScoringMethod20
scanAvailableModules20
checkExisitingPage20
getConnection20
execute20
queueIfRequired20
__construct20
getSuggestions20
checkIndexMismatch20
create20
fetchMaxDoc20
checkIfRedirect20
buildSimpleAllFilter20
extractResults20
buildDocuments20
getExecutionContext20
execute20
getScript20
preCacheContainedTitles20
execute20
__construct20
updatePages20
queueIncomingLinksJobs20
getHighlightQuery20
updateNamespacesFromQuery20
buildCirrusSearchRequestEvent19
runMSearch19
searchTextInternal17
finalize17
__construct15
customize14
build13
postProcess12
buildPhraseRescoreQuery12
isExternal12
buildHighlightQuery12
splitTranslatedPage12
checkIndexedVersion12
buildSearchTextQuery12
countContentWords12
updateIndices12
collectTitlesFromElastic12
buildJobDelayOptions12
run12
normalizeConfigValue12
addGlobals12
getHealth12
waitForGreen12
generateSourceFiltering12
isIndex12
execute12
decideCluster12
upgradeIndexVersion12
getAllIndexSuffixesForNamespaces12
getTookMs12
formatDescription12
createBuilders12
extractRequestVariables12
getIndicesWithAlias12
buildTitleFilter12
doJob12
doJob12
getElasticTookMs12
build12
__construct12
intitle12
getInstance12
__construct12
__construct12
processExplain12
formatText12
getMapping12
addIndexingHints12
getTextOptions12
decideActiveTest12
updateIndices12
getUnsuccessfulReason12
getExtraIndices12
raiseLinkCountException12
raiseResponseException12
isParseError12
finish12
getFile12
reorder12
onView12
sample12
getHighlight12
checkInexistentPage12
buildSearchIndexFields12
checkPageInIndex12
addWordCount12
getMapping12
doJob12
onShowSearchHitTitle12
buildArchiveDocuments12
onPageMoveComplete12
__construct12
__construct12
loadPagesFromIndex12
onLinksUpdateCompleted12
onSpecialSearchResultsAppend12
getPoolStatsKey12
convertEncoding12
formatMessage11
searchOne10
getSupportedProfile10
transformOneElasticResult10
makeRemoteReindexInfo9
isMinimumShouldMatch9
getStatus9
buildFullTextSearchFields9
collectTitlesFromDB9
loadInterwikiOverrides9
prepareQueryParams9
defaults9
buildLogMessage8
__construct8
sendOtherIndexUpdates8
getFixablePart8
mergeStatusWithChildren8
identifyNamespace8
getBoostForNamespace7
maybeWrapWithTokenCountRouter7
collect7
__construct7
buildRescoreQuery6
initialize6
addRequest6
areSearchesTheSame6
getPoolCounterType6
createFromProfile6
resolveRedirectHighlight6
buildRegexWithPlugin6
rewrite6
supports6
getElasticResponse6
getTotalHits6
shrink6
__clone6
logRequestResponse6
delete6
buildLtrQuery6
getRescore6
cancel6
setLimitSearchToLocalWiki6
withConfig6
validate6
findCenterFactor6
buildConfig6
getTitleHelper6
isMissingRevision6
__construct6
score6
getHighlightingConfiguration6
transformElasticsearchResult6
shrink6
getQueryTypesUsed6
__construct6
isMSearchResultSetOK6
getMapping6
appendLastLogPayload6
successViaCache6
isCanceled6
hasQueryLogs6
append6
extractResults6
setTrackTotalHits6
tokenize6
finalize6
getNamespaceText6
parsePotentialPercent6
endsWith6
overrideYesNo6
getExecutionId6
getRequestSetToken6
generateIdentToken6
getStatsDataFactory6
pagesToTitles6
create6
onSearchIndexFields6
addInputToFST6
backoffDelay6
addExplanation6
addUserTesting6
addProfiles6
addConcreteNamespaceMap6
elasticaWriteClusters6
archivePages6
isSuccessful6
getElasticTookMs6
transformElasticsearchResult6
score6
getTotalHits6
_retrieveHealthData6
_setupCurl6
__construct6
transformElasticsearchResult6
getTitleHelper6
getRequests6
updateWeightedTags6
getClusterConnections6
getResultsTransformer6
getSuggestSearchRequest6
findNamespace6
collectCompSuggestResults6
getConnectTimeout6
getCirrusSearchHookRunner6
isFeatureEnabled6
getElasticResponse6
update6
onArticleDelete6
getSearchConfig6
outputIndented6
reindex6
shrink6
build6
output6
createIfNecessary6
doJob6
buildIndexConfiguration6
unwrap6
requireCirrusReady6
getAllIndicesByType6
loadSpecialVars6
output6
output6
outputIndented6
log6
switchSearchToExactForWildcards6
buildDegraded6
isPathologicalWildcard6
error6
runChild6
setupUserTest6
finalSetup6
waitForGreen6
buildRegexWithGroovy6
runUpdates6
logFailure6
wordPrefixQuery6
outputIndented6
onUploadComplete6
validate6
validate6
validate6
onPrefixSearchExtractNamespace6
onArticleUndelete6
compareMappingToActual6
onSearchIndexFields6
debugCheckConfig6
getNumberOfShards6
getPressure6
sane6
getSearchConfig6
getQueryTypesUsed6
doJob6
requeueError6
onSoftwareInfo6
swapAliases6
monitorSleepSeconds6
isPrioritized6
error6
__construct6
appendLastLogPayload6
rewrite5
sendDeletes5
runSearch5
prefixSearchExtractNamespaceWithConnection5
buildRescoreQuery5
findSuggestion5
successApproximation5
looksLikeAutomation5
build5
getOnWikiBoostTemplates5
createIndex4
isAutomatedRequest4
finalizeReal4
__construct4
getPhpRequestTookMs4
scanModulesOrPlugins4
buildArgs4
hasProfile4
loadProfile4
next4
getICUNormSetFilter4
buildFullTextBuilder4
doCategory4
build4
filterKeyword4
doHeadings4
distance4
build4
__construct4
fixupWholeQueryString4
getElement4
getReplicaCount4
getOverriddenConnection3
request3
append3
identifyInterwikiPrefix3
getShardCount3
doExpand3
pushAnalyzerAliasesIntoMappings3
getProfileService3
estimateDataSize3
findUsedAnalyzersInMappings3
areResultsPossible3
visitParsedBooleanNode3
registerProfileOverride3
setValue3
accepts3
doApply3
getCrossSearchStrategy3
transform3
score3
keywordPrefixQuery3
getMapping3
getClientTimeout3
__construct3
toArray3
buildHighlightFields3
search3
getFilterQuery3
__construct3
fetchCategories3
buildDocument3
addNoopHandler2
registerRepository2
getQueryWithoutNsHeader2
transform2
allWikisStrategy2
setResultPages2
collectTitles2
getUserLang2
hostWikiOnlyStrategy2
getOverriddenName2
searchTextDefaultRoute2
trimForDistanceCheck2
reportDocSize2
start2
decideUiWarning2
registerSearchQueryRoute2
extractAttribute2
getTypeLabels2
newBuilder2
getSearchType2
create2
getSameProjectConfigByLang2
wrapBulkRequest2
__construct2
decideRequiredSetAction2
__construct2
loadMatrix2
__construct2
build2
failure2