Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\TimedMediaHandler\ApiQueryVideoInfo0%
File_Ogg_Flac0%
FLACHandler0%
ID3Handler0%
MPEGHandler0%
MidiHandler0%
Mp3Handler0%
Mp4Handler0%
File_Ogg0%
File_Ogg_Bitstream0%
File_Ogg_Media0%
MediaWiki\TimedMediaHandler\ApiTimedText0%
File_Ogg_Opus0%
File_Ogg_Speex0%
File_Ogg_Theora0%
File_Ogg_Vorbis0%
TextHandler0%
WAVHandler0%
ConvertSubtitles0%
RequeueTranscodes0%
MediaWiki\TimedMediaHandler\WebVideoTranscode\WebVideoTranscodeJob0%
TranscodeReport0%
MediaWiki\TimedMediaHandler\TranscodeStatusTable0%
MediaWiki\TimedMediaHandler\TimedText\DOM\InternalNode0%
MediaWiki\TimedMediaHandler\SpecialTranscodeStatistics0%
MediaWiki\TimedMediaHandler\ApiTranscodeStatus0%
MediaWiki\TimedMediaHandler\TimedMediaIframeOutput0%
MediaWiki\TimedMediaHandler\TimedMediaThumbnail0%
MediaWiki\TimedMediaHandler\TimedTextPage0%
MediaWiki\TimedMediaHandler\TimedText\DOM\Cue0%
MediaWiki\TimedMediaHandler\TimedText\DOM\LanguageNode0%
MediaWiki\TimedMediaHandler\SpecialOrphanedTimedText0%
MediaWiki\TimedMediaHandler\TimedText\DOM\TextNode0%
MediaWiki\TimedMediaHandler\TimedText\DOM\TimestampNode0%
MediaWiki\TimedMediaHandler\TimedText\DOM\VoiceNode0%
MediaWiki\TimedMediaHandler\TimedText\ParseError0%
MediaWiki\TimedMediaHandler\ApiTranscodeReset0%
MediaWiki\TimedMediaHandler\TimedText\VttWriter0%
MediaWiki\TimedMediaHandler\Hooks0%
MediaWiki\TimedMediaHandler\TimedText\SrtReader1%
MediaWiki\TimedMediaHandler\WebVideoTranscode\WebVideoTranscode2%
MediaWiki\TimedMediaHandler\TimedText\SrtWriter7%
MediaWiki\TimedMediaHandler\TimedMediaTransformOutput15%
MediaWiki\TimedMediaHandler\TimedMediaHandler21%
WebMHandler39%
OggHandler50%

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
getWebType0%
getOverhead0%
_splitStreams0%
_decodePageHeader0%
_readLittleEndian0%
_readBigEndian0%
_littleEndianBin2Hex0%
__construct0%
getLongDesc0%
getShortDesc0%
getStreamTypes0%
getMetadataType0%
hasStream0%
getImageSize0%
getID30%
getLongDesc0%
getShortDesc0%
getStreamTypes0%
getWebType0%
getMetadataType0%
getLongDesc0%
getShortDesc0%
getStreamTypes0%
getStream0%
listStreams0%
getWebType0%
_decodeCommonHeader0%
__construct0%
getStartOffset0%
getLength0%
getHeader0%
getVendor0%
getComments0%
getField0%
getCommentList0%
getChannels0%
_decodeBareCommentsHeader0%
getIdentificationString0%
getStartOffset0%
_decodeCommentsHeader0%
getHeader0%
_decodeHeader0%
getType0%
getSecondsFromGranulePos0%
__construct0%
getGroup0%
getSize0%
getSerial0%
__construct0%
getLength0%
verifyUpload0%
getMetadataType0%
getType0%
__construct0%
ffmpegAddH264VideoOptions0%
ffmpegEncode0%
removeFfmpegLogFiles0%
run0%
setTranscodeError0%
getSourceFilePath0%
purgeTargetEncodeFile0%
getTargetEncodePath0%
getFile0%
output0%
enabledAudioTranscodes0%
ffmpegAddWebmVideoOptions0%
enabledVideoTranscodes0%
getMaxSize0%
isSmallestTranscodeForCodec0%
isTargetLargerThanFile0%
getMaxSizeTransform0%
getQueueSize0%
isTranscodePrioritized0%
updateJobQueue0%
isTranscodeEnabled0%
cleanupTranscodes0%
getInfo0%
ffmpegAddVideoSizeOptions0%
ffmpegAddDeinterlaceOptions0%
getLongDesc0%
getMetadata0%
getShortDesc0%
getImageSize0%
getStreamTypes0%
getWebType0%
getMetadataType0%
isInterlaced0%
getFramerate0%
getLength0%
getBitrate0%
unpackMetadata0%
getID30%
ffmpegAddAudioOptions0%
getLongDesc0%
getShortDesc0%
getStreamTypes0%
getWebType0%
getMetadataType0%
killProcess0%
isProcessRunningKillZombie0%
monitorTranscode0%
runChildCmd0%
runShellExec0%
midiToAudioEncode0%
getSecondsFromGranulePos0%
_decodeHeader0%
getPrimarySourceAttributes0%
getShortDesc0%
getLocalDbTextSources0%
getForeignDbTextSources0%
getRemoteTextSources0%
getRemoteTextPagesQuery0%
getTextPagesFromDb0%
getTimedTextNamespace0%
getTracks0%
__construct0%
getBitRate0%
getLongDesc0%
getFramerate0%
getTextTracksFromData0%
getContentHeaders0%
getLength0%
getOffset0%
getMetadataType0%
formatMetadata0%
getHeader0%
setIsrc0%
getIsrc0%
setContact0%
getContact0%
setLocation0%
getTextTracksFromRows0%
getContentType0%
setDate0%
__construct0%
bucket0%
processFile0%
execute0%
__construct0%
processFile0%
execute0%
__construct0%
formatError0%
processWork0%
execute0%
formatMetadata0%
getForeignNamespaceName0%
getLongDesc0%
getShortDesc0%
getMetadataType0%
getLongDesc0%
getShortDesc0%
getStreamTypes0%
verifyUpload0%
getWebType0%
getMetadataType0%
convertSubtitles0%
getFullURL0%
getLocation0%
getDate0%
getHeader0%
getType0%
getBitrates0%
getSampleRate0%
getEncoderVersion0%
getIdentificationString0%
_decodeCommentsHeader0%
_decodeIdentificationHeader0%
getType0%
getSecondsFromGranulePos0%
__construct0%
_decodeCommentsHeader0%
getHeader0%
getLength0%
_decodeIdentificationHeader0%
getIdentificationString0%
getSecondsFromGranulePos0%
__construct0%
_decodeCommentsHeader0%
getHeader0%
_decodeHeader0%
getType0%
__construct0%
_decodeCommentsHeader0%
getSampleRate0%
getBitrate0%
getStartOffset0%
setGenre0%
getPerformer0%
getGenre0%
setDescription0%
getDescription0%
setOrganziation0%
getOrganization0%
setLicense0%
getLicense0%
setCopyright0%
getCopyright0%
setPerformer0%
setArtist0%
isMono0%
getArtist0%
setTrackNumber0%
getTrackNumber0%
setAlbum0%
getAlbum0%
setVersion0%
getVersion0%
setTitle0%
getTitle0%
isQuadrophonic0%
isStereo0%
getDerivativeSourceAttributes0%
startJobQueue0%
addSourceIfReady0%
getCorrespondingFile0%
getGroupName0%
getStates0%
getTranscodesTable0%
getTranscodes0%
renderState0%
execute0%
__construct0%
formatResult0%
preprocessResults0%
getGroupName0%
existenceCheck0%
isEnabled0%
getOrderFields0%
getQueryInfo0%
canExecute0%
canExecuteQuery0%
isListed0%
isCacheable0%
execute0%
isExpensive0%
sortDescending0%
__construct0%
isListed0%
getImageSize0%
defaultPlayerMode0%
getOffset0%
invalidatePagesWithFile0%
getThumbTime0%
resizeThumb0%
tryFfmpegThumb0%
get0%
outputIframe0%
iframeHook0%
isInterlaced0%
getDimensionsString0%
getLength0%
mustRender0%
getParamMap0%
canRender0%
doTransform0%
isAudio0%
getThumbType0%
isMetadataValid0%
unpackMetadata0%
getTimePassedMsg0%
parserTransformHook0%
normaliseParams0%
makeParamString0%
validateParam0%
onResourceLoaderGetConfigVars0%
activePlayerMode0%
getPath0%
getHelpUrls0%
getCacheMode0%
execute0%
getExamplesMessages0%
needsToken0%
getAllowedParams0%
isWriteMode0%
mustBePosted0%
getStateResetTime0%
checkTimeSinceLastRest0%
execute0%
getExamplesMessages0%
getExamplesMessages0%
getAllowedParams0%
convertTimedText0%
findTimedText0%
execute0%
getCustomPrinter0%
isInternal0%
__construct0%
getAllowedParams0%
getHelpUrls0%
getExamplesMessages0%
getPropertyMessages0%
getAllowedParams0%
onCanonicalNamespaces0%
hasEnabledVideojsBeta0%
onFileDeleteComplete0%
onUserGetDefaultOptions0%
onGetBetaFeaturePreferences0%
onPageRenderingHash0%
onRejectParserCacheValue0%
onwgQueryPages0%
checkSchemaUpdates0%
pageOutputHook0%
onParserTestGlobals0%
onArticlePurge0%
onRevisionFromEditComplete0%
checkTitleMove0%
register0%
onFileUpload0%
checkForTranscodeStatus0%
isTimedMediaHandlerTitle0%
isTranscodableFile0%
isTranscodableTitle0%
onSkinTemplateNavigation0%
checkForTimedTextDiff0%
checkForTimedTextPage0%
onImagePageHooks0%
onImagePageFileHistoryLine0%
onImageOpenShowImageInlineBefore0%
getUrl0%
getTextHandler0%
getPlayerHeight0%
formatNodes0%
__construct0%
formatNode0%
formatNodes0%
formatText0%
fixNewlines0%
formatTimestamp0%
normalizeCueId0%
formatCue0%
write0%
formatNode0%
formatText0%
renderOutput0%
formatTimestamp0%
formatCue0%
stateUnexpectedEnd0%
stateCueDone0%
stateTextEnd0%
stateTagEnd0%
stateTagSpace0%
stateTagCloseMain0%
stateTagSelfClose0%
stateTagMain0%
view0%
doLinkToRemote0%
stateText0%
getTranscodedUrlForFile0%
removeTranscodes0%
getTranscodeState0%
clearTranscodeCache0%
isTranscodeReady0%
getLocalSources0%
getRemoteSources0%
getSources0%
getProjectedFileSize0%
getMaxSizeWebStream0%
getTargetEncodeFile0%
getTranscodeFileBaseName0%
doRedirectToPageForm0%
getDerivativeFilePath0%
getStatusMsg0%
getTranscodeBitrate0%
getTranscodeDuration0%
getSourceUrl0%
getTranscodesTable0%
codecFromTranscodeKey0%
getHTML0%
getTimedTextHTML0%
getVideoHTML0%
onSubmit0%
stateTextNewline0%
stateTagStart0%
stateTextStart0%
appendText0%
stateTimestamp0%
getLine0%
__construct0%
getVoice0%
__construct0%
__construct0%
appendText0%
__construct0%
getLang0%
__construct0%
appendNode0%
appendNode0%
getCues0%
getAPIData0%
resetSerialForTest0%
getTemporalUrlHash0%
getMediaSources0%
getMediaAttr0%
getPoster0%
getHtmlMediaTagOutput0%
getImagePopUp0%
htmlTagSet0%
toHtml0%
getTagName0%
getError0%
getInput0%
getErrors0%
consumeSpace0%
stateStart0%
parse0%
popStack0%
pushStack0%
recordError0%
consumeArrow0%
consumeTimestamp0%
consumeEntity0%
consumePlaintext0%
consumeWhitespace0%
saveState0%
recordForHistogram0%
consumeWhile0%
consume0%
restoreState0%
consumeDigits0%
consumeHexDigits0%
consumeAlphanum0%
discardState0%
eof0%
consumeLine0%
peek0%
getImageSize38%
getPlayerWidth40%
sortMediaByBandwidth76%
getStreamTypes78%
unpackMetadata80%
getWebType83%
getImageSize87%
getID387%

Project Risks

Method CRAP
run702
ffmpegAddWebmVideoOptions506
processFile506
normaliseParams462
getMediaAttr420
execute342
_splitStreams306
_decodeIdentificationHeader240
ffmpegEncode240
execute210
isTranscodableFile210
formatNode210
getTimedTextNamespace182
getHtmlMediaTagOutput182
pageOutputHook156
processFile156
renderOutput156
execute156
monitorTranscode132
midiToAudioEncode132
getTranscodesTable132
doTransform132
getLongDesc110
_readLittleEndian110
_decodePageHeader110
validateParam110
_readBigEndian110
getRemoteSources110
getTranscodeState110
listStreams90
stateTagCloseMain90
getStreamTypes90
resizeThumb90
tryFfmpegThumb90
getImageSize75
consumeEntity72
getUrl72
getInfo72
makeParamString72
ffmpegAddVideoSizeOptions72
execute72
formatMetadata72
removeTranscodes56
getLocalSources56
stateText56
_decodeBareCommentsHeader56
consumeTimestamp56
execute56
_decodeIdentificationHeader56
getTemporalUrlHash56
runShellExec56
formatNode56
ffmpegAddAudioOptions56
findTimedText56
getBitRate56
getTextTracksFromRows56
iframeHook42
outputIframe42
getPrimarySourceAttributes42
removeFfmpegLogFiles42
stateStart42
ffmpegAddH264VideoOptions42
getStreamTypes42
renderState42
stateTagMain42
stateTagSelfClose42
getStates42
getImageSize42
getStatusMsg42
getAPIData42
isTranscodeEnabled42
toHtml42
get42
getTextTracksFromData42
convertSubtitles42
getStreamTypes30
stateTagEnd30
getThumbTime30
checkSchemaUpdates30
existenceCheck30
checkTimeSinceLastRest30
register30
getFramerate30
isSmallestTranscodeForCodec30
parse30
verifyUpload30
_decodeCommonHeader30
getStreamTypes30
execute30
getMaxSizeTransform30
onRejectParserCacheValue30
getTimePassedMsg30
getStreamTypes30
getDerivativeSourceAttributes30
updateJobQueue30
getStreamTypes30
getTimedTextHTML30
getImageSize30
onImagePageHooks20
cleanupTranscodes20
getMaxSizeWebStream20
getSources20
getStateResetTime20
getLength20
getBitrate20
getMaxSize20
codecFromTranscodeKey20
getRemoteTextSources20
checkForTimedTextPage20
stateTimestamp20
parserTransformHook20
preprocessResults20
getTracks20
hasEnabledVideojsBeta20
getShortDesc20
getContentHeaders20
getOffset20
__construct20
consumePlaintext20
consumeArrow20
consumeWhile20
_decodeHeader20
normalizeCueId20
onSkinTemplateNavigation20
isTimedMediaHandlerTitle20
processWork20
onRevisionFromEditComplete20
__construct20
sortMediaByBandwidth16
getStreamTypes13
isProcessRunningKillZombie12
getLocalDbTextSources12
bucket12
getTextPagesFromDb12
getFramerate12
getContentType12
getForeignNamespaceName12
__construct12
hasStream12
verifyUpload12
getLength12
isInterlaced12
unpackMetadata12
getOverhead12
getBitrate12
__construct12
__construct12
getField12
recordForHistogram12
ffmpegAddDeinterlaceOptions12
getProjectedFileSize12
getMediaSources12
getPoster12
htmlTagSet12
stateTagSpace12
getTextHandler12
view12
onSubmit12
getTranscodes12
formatResult12
consume12
execute12
onPageRenderingHash12
getSourceFilePath12
onArticlePurge12
onCanonicalNamespaces12
checkForTimedTextDiff12
onFileUpload12
__construct12
isTranscodePrioritized12
onFileDeleteComplete12
getAllowedParams12
getImageSize9
formatMetadata6
isAudio6
_decodeCommentsHeader6
getTagName6
restoreState6
discardState6
getPlayerHeight6
peek6
getDimensionsString6
convertTimedText6
isTranscodableTitle6
unpackMetadata6
getTranscodesTable6
getRemoteTextPagesQuery6
checkForTranscodeStatus6
getForeignDbTextSources6
execute6
checkTitleMove6
getLongDesc6
activePlayerMode6
getFullURL6
onUserGetDefaultOptions6
onGetBetaFeaturePreferences6
getShortDesc6
getShortDesc6
getLongDesc6
canExecute6
__construct6
_decodeHeader6
clearTranscodeCache6
getTranscodeBitrate6
getLongDesc6
getShortDesc6
getTranscodeFileBaseName6
getTargetEncodeFile6
getLongDesc6
getShortDesc6
isTranscodeReady6
invalidatePagesWithFile6
_decodeCommentsHeader6
addSourceIfReady6
startJobQueue6
getLongDesc6
getShortDesc6
isTargetLargerThanFile6
killProcess6
getFile6
getTargetEncodePath6
purgeTargetEncodeFile6
getShortDesc6
getLongDesc6
getTranscodeDuration6
getVideoHTML6
_decodeHeader6
consumeLine6
consumeSpace6
recordError6
pushStack6
_decodeCommentsHeader6
stateTextNewline6
stateTagStart6
getStartOffset6
__construct6
stateTextEnd6
getStream6
formatNodes6
formatTimestamp6
formatNodes6
doRedirectToPageForm6
_littleEndianBin2Hex6
getLongDesc6
getShortDesc6
getPlayerWidth4
unpackMetadata4
getWebType4
getID33