Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Wikispeech\Benchmark0%
MediaWiki\Wikispeech\Segment\CleanedText0%
MediaWiki\Wikispeech\WikispeechServices0%
MediaWiki\Wikispeech\Utterance\FlushUtterancesFromStoreByPageIdJobQueue0%
MediaWiki\Wikispeech\Utterance\FlushUtterancesFromStoreByPageIdJob0%
MediaWiki\Wikispeech\Utterance\FlushUtterancesFromStoreByLanguageAndVoiceJobQueue0%
MediaWiki\Wikispeech\Utterance\FlushUtterancesFromStoreByLanguageAndVoiceJob0%
MediaWiki\Wikispeech\Utterance\FlushUtterancesByExpirationDateOnFileJobQueue0%
MediaWiki\Wikispeech\Utterance\FlushUtterancesByExpirationDateOnFileJob0%
MediaWiki\Wikispeech\Segment\TextFilter\RegexFilterRule0%
MediaWiki\Wikispeech\Segment\TextFilter\FilterPart0%
MediaWiki\Wikispeech\Segment\TextFilter\Filter0%
MediaWiki\Wikispeech\Segment\TextFilter\AbstractDigitsToWords0%
MediaWiki\Wikispeech\Segment\Segmenter0%
MediaWiki\Wikispeech\Segment\SegmentPageResponse0%
MediaWiki\Wikispeech\Segment\PageRevisionProperties0%
MediaWiki\Wikispeech\Segment\Segment0%
MediaWiki\Wikispeech\Segment\AbstractPageProvider0%
MediaWiki\Wikispeech\Lexicon\LexiconEntryItem0%
MediaWiki\Wikispeech\Api\ListenMetricsEntry0%
MediaWiki\Wikispeech\Api\ListenMetricsEntryFileJournal0%
MediaWiki\Wikispeech\Api\ListenMetricsEntrySerializer0%
MediaWiki\Wikispeech\Hooks\DatabaseHooks0%
MediaWiki\Wikispeech\Hooks\LexiconArticleEditHook0%
MediaWiki\Wikispeech\Lexicon\LexiconEntry0%
MediaWiki\Wikispeech\Lexicon\ConfiguredLexiconStorage0%
MediaWiki\Wikispeech\Lexicon\LexiconWanCacheStorage0%
MediaWiki\Wikispeech\Lexicon\LexiconSpeechoidStorage6%
MediaWiki\Wikispeech\Specials\SpecialEditLexicon10%
MediaWiki\Wikispeech\Segment\SegmentList25%
MediaWiki\Wikispeech\Segment\LocalWikiPageProvider40%
MediaWiki\Wikispeech\Hooks\ApiHooks44%
MediaWiki\Wikispeech\Segment\RemoteWikiPageProvider45%
MediaWiki\Wikispeech\SpeechoidConnector51%
MediaWiki\Wikispeech\Utterance\FlushUtterancesFromStoreByExpirationJobQueue65%
MediaWiki\Wikispeech\Lexicon\LexiconWikiStorage67%
MediaWiki\Wikispeech\HaproxyStatusParser67%
MediaWiki\Wikispeech\Segment\Cleaner69%
MediaWiki\Wikispeech\Api\ApiWikispeechListen69%
MediaWiki\Wikispeech\Lexicon\LexiconHandler76%
MediaWiki\Wikispeech\Utterance\UtteranceStore79%
MediaWiki\Wikispeech\Segment\TextFilter\Sv\DigitsToSwedishWords82%
MediaWiki\Wikispeech\Segment\SegmentPageFactory86%
MediaWiki\Wikispeech\Api\ApiWikispeechSegment87%

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
setPath0%
getHash0%
getCachedSegmentsKeyComponents0%
__construct0%
getContent0%
setContent0%
addContent0%
getStartOffset0%
setStartOffset0%
getEndOffset0%
setEndOffset0%
setHash0%
loadPageRevisionProperties0%
setSegments0%
toArray0%
indexOf0%
setSegmenterByLanguage0%
setHttpRequestFactory0%
setConsumerUrl0%
getLexiconHandler0%
getConfiguredLexiconStorage0%
getSegments0%
getLexiconWikiStorage0%
setPageId0%
getTitle0%
setDisplayTitle0%
__construct0%
getSpeechoidConnector0%
updateEntryItem0%
getLexiconWanCacheStorage0%
getRevisionId0%
setRevisionId0%
getPageContent0%
setPageContent0%
getDisplayTitle0%
__construct0%
getPageId0%
getString0%
setString0%
getPath0%
getLexiconSpeechoidStorage0%
cleanHtmlDom0%
loadPageRevisionProperties0%
getCachedSegmentsKeyComponents0%
__construct0%
getTitle0%
setTitle0%
setSegments0%
setTitle0%
__construct0%
findLexiconByLocale0%
getAddFields0%
getEditFields0%
purgeOriginPageUtterances0%
success0%
run0%
__construct0%
synthesizeText0%
requestDefaultVoices0%
requestLexicons0%
requestTextProcessors0%
getLookupFields0%
queueJob0%
lookupLexiconEntries0%
updateLexiconEntry0%
addLexiconEntry0%
run0%
__construct0%
run0%
queueJob0%
maybeQueueJob0%
getSelectFields0%
execute0%
getRevisionId0%
__construct0%
setRevisionId0%
getPageId0%
setPageId0%
evaluateHash0%
floatToWords0%
__construct0%
process0%
insertPart0%
getParts0%
getText0%
queueJob0%
setText0%
getAlias0%
setAlias0%
getAppliedRule0%
setAppliedRule0%
__construct0%
getExpression0%
getMainGroup0%
getWikispeechUtteranceTimeToLiveDays0%
getWikispeechUtteranceExpirationTimestamp0%
signalHandler0%
deleteEntryItem0%
updateEntryItem0%
appendEntry0%
getMicrosecondsSpent0%
setMicrosecondsSpent0%
getUtteranceSynthesized0%
setUtteranceSynthesized0%
getMillisecondsSpeechInUtterance0%
setMillisecondsSpeechInUtterance0%
getCharactersInSegment0%
setCharactersInSegment0%
__construct0%
archiveCurrentMetricsJournal0%
getVoice0%
getCurrentMetricsJournalFile0%
flockWithTimeout0%
serialize0%
executeSynthesizing0%
isQueueOverloaded0%
getAvailableNonQueuedConnectionSlots0%
executeSegmenting0%
onApiBeforeMain0%
onResourceLoaderGetConfigVars0%
setVoice0%
setLanguage0%
createEntryItem0%
getSegmentHash0%
execute0%
getExamplesMessages0%
getExamplesMessages0%
getId0%
setId0%
getTimestamp0%
setTimestamp0%
getSegmentIndex0%
setSegmentIndex0%
setSegmentHash0%
getLanguage0%
getRemoteWikiHash0%
setRemoteWikiHash0%
getConsumerUrl0%
setConsumerUrl0%
getPageTitle0%
setPageTitle0%
getPageId0%
setPageId0%
getPageRevisionId0%
setPageRevisionId0%
onGetPreferences0%
addVoicePreferences0%
addSpeechRatePreferences0%
executeValidateInput0%
__toString0%
getProperties0%
setProperties0%
getTranscription0%
getPreferred0%
removePreferred0%
copyFrom0%
getSpeechoidIdentity0%
toJson0%
executeSetUp0%
onApiCheckCanExecute0%
deleteEntryItem0%
findLexiconNameByLanguage0%
getEntry0%
createEntryItem0%
deleteEntryItem0%
__construct0%
cacheKeyFactory0%
getEntry0%
putEntry0%
entryItemExists0%
setItems0%
getItems0%
queueJob0%
setKey0%
getDefaultUserOptions0%
onLoadExtensionSchemaUpdates0%
onCustomEditor0%
__construct0%
getEntry0%
createEntryItem0%
updateEntryItem0%
deleteEntryItem0%
findItemIndexByItem0%
findItemIndexBySpeechoidIdentity0%
findItemByItem0%
findItemBySpeechoidIdentity0%
getItemAt0%
addItem0%
replaceItem0%
replaceItemAt0%
deleteItem0%
deleteItemAt0%
getLanguage0%
setLanguage0%
getKey0%
getFileBackend8%
submit12%
updateEntryItem19%
execute25%
validateConfiguration41%
deleteFileBackendFile42%
pageProviderFactory44%
getUtteranceForRevisionAndSegment47%
__construct61%
retrieveFileContents62%
deleteEntryItem64%
getEntry65%
intToOrdinal66%
map71%
storeFile72%
synthesize73%
findLexiconByLanguage75%
loadPageRevisionProperties77%
findServerRowIndex80%
findUtterance80%
createEntryItem81%
isTimeToQueueJob81%
execute81%
buildWords82%
loadData83%
flushUtterances85%
getUtterance85%
deserializeEntryContent85%
getEntry85%
__construct86%
execute86%
stringFloatToWords88%
flushUtterancesByExpirationDateOnFile88%
updateEntryItem88%
createAlias88%
getDefaultVoice89%

Project Risks

Method CRAP
executeSynthesizing182
execute156
submit144
archiveCurrentMetricsJournal90
createEntryItem72
getEntry56
executeValidateInput56
execute43
__construct42
addLexiconEntry42
process42
flockWithTimeout42
updateEntryItem41
validateConfiguration41
execute33
deleteEntryItem30
findLexiconByLocale30
createEntryItem30
getEntry21
deleteEntryItem20
cleanHtmlDom20
updateEntryItem20
getSelectFields20
addVoicePreferences20
executeSetUp20
execute20
getFileBackend16
buildWords13
getEditFields12
loadPageRevisionProperties12
requestDefaultVoices12
requestTextProcessors12
updateEntryItem12
lookupLexiconEntries12
requestLexicons12
toArray12
entryItemExists12
toJson12
replaceItem12
deleteItem12
getPreferred12
onApiCheckCanExecute12
getSpeechoidIdentity12
findItemIndexBySpeechoidIdentity12
putEntry12
getUtterance10
pageProviderFactory9
flushUtterances9
synthesize9
getDefaultVoice9
findLexiconByLanguage9
getUtteranceForRevisionAndSegment8
stringFloatToWords8
updateEntryItem8
serialize6
getConfiguredLexiconStorage6
getLexiconWanCacheStorage6
executeSegmenting6
maybeQueueJob6
getCurrentMetricsJournalFile6
onLoadExtensionSchemaUpdates6
appendEntry6
getSpeechoidConnector6
onCustomEditor6
getLexiconWikiStorage6
getLexiconSpeechoidStorage6
getLexiconHandler6
findItemByItem6
findItemIndexByItem6
evaluateHash6
getTranscription6
floatToWords6
getEntry6
findLexiconNameByLanguage6
findItemBySpeechoidIdentity6
removePreferred6
indexOf6
loadPageRevisionProperties6
intToOrdinal5
storeFile5
findUtterance5
__construct5
deleteFileBackendFile4
map4
loadPageRevisionProperties4
findServerRowIndex4
execute4
isTimeToQueueJob4
deserializeEntryContent4
getEntry4
createAlias4
deleteEntryItem3
createEntryItem3
__construct2
retrieveFileContents2
loadData2
flushUtterancesByExpirationDateOnFile2