Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
WebPConvert\Convert\Converters\GmagickBinary0%
WebPConvert\Convert\Converters\ImagickBinary0%
WebPConvert\Loggers\EchoLogger0%
WebPConvert\Options\GhostOption0%
WebPConvert\Serve\Report0%
WebPConvert\Serve\ServeConvertedWebPWithErrorHandling0%
WebPConvert\Convert\Converters\Imagick3%
WebPConvert\WebPConvert5%
WebPConvert\Loggers\BufferLogger6%
WebPConvert\Convert\Converters\GraphicsMagick13%
WebPConvert\Options\ArrayOption14%
WebPConvert\Options\SensitiveArrayOption14%
WebPConvert\Options\SensitiveStringOption25%
WebPConvert\Options\StringOption28%
WebPConvert\Convert\Converters\BaseTraits\OptionsTrait32%
WebPConvert\Options\Option35%
WebPConvert\Options\IntegerOrNullOption36%
WebPConvert\Helpers\Sanitize40%
WebPConvert\Options\QualityOption42%
WebPConvert\Options\IntegerOption47%
WebPConvert\Options\BooleanOption50%
WebPConvert\Convert\Converters\ConverterTraits\CloudConverterTrait53%
WebPConvert\Options\Options53%
WebPConvert\Convert\Converters\ConverterTraits\CurlTrait54%
WebPConvert\Convert\Converters\Stack56%
WebPConvert\Helpers\PathChecker56%
WebPConvert\Convert\ConverterFactory56%
WebPConvert\Convert\Converters\Wpc57%
WebPConvert\Convert\Converters\Ewww58%
WebPConvert\Convert\Helpers\JpegQualityDetector59%
WebPConvert\Convert\Converters\Gd59%
WebPConvert\Convert\Converters\Gmagick62%
WebPConvert\Options\MetadataOption62%
WebPConvert\Convert\Converters\AbstractConverter64%
WebPConvert\Exceptions\WebPConvertException66%
WebPConvert\Convert\Converters\BaseTraits\DestinationPreparationTrait66%
WebPConvert\Convert\Converters\ImageMagick68%
WebPConvert\Convert\Converters\BaseTraits\WarningLoggerTrait71%
WebPConvert\Convert\Converters\Cwebp71%
WebPConvert\Convert\Converters\Vips74%
WebPConvert\Convert\Converters\FFMpeg78%
WebPConvert\Helpers\InputValidator78%
WebPConvert\Convert\Converters\ConverterTraits\ExecTrait80%

Project Risks

Class CRAP
WebPConvert\Convert\Converters\Imagick794
WebPConvert\Convert\Converters\BaseTraits\OptionsTrait772
WebPConvert\Convert\Converters\GraphicsMagick728
WebPConvert\Convert\Converters\Cwebp386
WebPConvert\Convert\Converters\Gd362
WebPConvert\Convert\Converters\Wpc230
WebPConvert\Loggers\BufferLogger228
WebPConvert\Serve\ServeConvertedWebPWithErrorHandling210
WebPConvert\Options\Option175
WebPConvert\Convert\Converters\Ewww172
WebPConvert\Convert\Converters\ImageMagick98
WebPConvert\WebPConvert93
WebPConvert\Options\Options92
WebPConvert\Convert\Converters\AbstractConverter85
WebPConvert\Convert\Converters\Stack73
WebPConvert\Convert\Helpers\JpegQualityDetector71
WebPConvert\Convert\Converters\Vips57
WebPConvert\Convert\Converters\Gmagick52
WebPConvert\Helpers\PathChecker30
WebPConvert\Convert\Converters\FFMpeg29
WebPConvert\Options\StringOption24
WebPConvert\Options\IntegerOption24
WebPConvert\Options\QualityOption24
WebPConvert\Convert\ConverterFactory23
WebPConvert\Loggers\EchoLogger20
WebPConvert\Convert\Converters\BaseTraits\WarningLoggerTrait16
WebPConvert\Convert\Converters\ConverterTraits\ExecTrait15
WebPConvert\Options\SensitiveStringOption15
WebPConvert\Options\IntegerOrNullOption15
WebPConvert\Options\ArrayOption14
WebPConvert\Options\SensitiveArrayOption14
WebPConvert\Convert\Converters\BaseTraits\DestinationPreparationTrait13
WebPConvert\Convert\Converters\ConverterTraits\CurlTrait11
WebPConvert\Convert\Converters\ConverterTraits\CloudConverterTrait9
WebPConvert\Helpers\InputValidator8
WebPConvert\Options\MetadataOption7
WebPConvert\Serve\Report6
WebPConvert\Exceptions\WebPConvertException4
WebPConvert\Options\BooleanOption4

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
supportsLossless0%
getUnsupportedDefaultOptions0%
checkAllHashes0%
who0%
detectVersions0%
composeMeaningfullErrorMessageNoVersionsWorking0%
getUnsupportedDefaultOptions0%
keepSubscriptionAlive0%
getQuota0%
getUnsupportedDefaultOptions0%
supportsLossless0%
getUnsupportedDefaultOptions0%
errorHandlerWhileCreatingWebP0%
destroyAndRemove0%
getUnsupportedDefaultOptions0%
checkOperationality0%
doActualConvert0%
getUnsupportedDefaultOptions0%
getVersion0%
isWebPDelegateInstalled0%
createCommandLineOptions0%
doActualConvert0%
getUnsupportedDefaultOptions0%
getUnsupportedDefaultOptions0%
checkConvertability0%
doActualConvert0%
checkOperationality0%
doActualConvert0%
getUnsupportedDefaultOptions0%
getUnsupportedDefaultOptions0%
getUnsupportedDefaultOptions0%
supportsLossless0%
createRandomSaltForBlowfish0%
getDetailedMessage0%
getShortMessage0%
checkSourceAndDestinationPaths0%
path0%
getHtml0%
getMarkDown0%
getText0%
log0%
ln0%
getValueForPrint0%
getDefinition0%
getValueForPrint0%
getValueForPrint0%
getSchema0%
getValueForPrint0%
getDefinition0%
setId0%
getDefaultValue0%
isDeprecated0%
getValueForPrint0%
setHelpText0%
getHelpText0%
getUI0%
getSchema0%
getDefinition0%
getOption0%
getOptionValue0%
setHelpTexts0%
setUI0%
getDefinitions0%
getValueForPrint0%
getValueForPrint0%
getDefinition0%
getValueForPrint0%
getDefinition0%
getValueForPrint0%
getDefinition0%
convertAndReport0%
processOptions0%
addHeadersPreventingCaching0%
performFailAction0%
serve0%
serveConverted0%
getConverterIds0%
getConverterOptionDefinitions0%
logOptions0%
getUnsupportedDefaultOptions0%
getUnsupportedGeneralOptions0%
getUniqueOptionDefinitions0%
getGeneralOptionDefinitions0%
getSupportedGeneralOptions0%
getSupportedGeneralOptionDefinitions0%
getSupportedGeneralOptionIds0%
disableWarningsTemporarily0%
reenableWarnings0%
getWarningCount0%
resetWarningCount0%
checkOperationality0%
detectQualityOfJpgUsingImagick20%
doConvert22%
checkMin25%
checkMax25%
checkType25%
checkOperationality28%
check33%
convert33%
tryConverting36%
checkOptions40%
checkFileSizeVsIniSetting41%
isWebPDelegateInstalled44%
checkOperationality44%
checkDestinationWritable44%
detectVersion47%
converterIdToClassname47%
checkOperationality50%
makeTrueColor50%
checkOperationality50%
checkAbsolutePath50%
getOptionById50%
check50%
checkOperationalityForCurlTrait50%
checkOperationalityExecTrait50%
doActualConvert51%
trySettingAlphaBlending53%
tryCwebpBinary54%
createImageResource54%
getApiKey54%
detectQualityOfJpgUsingGraphicsMagick54%
doActualConvert54%
checkOperationality57%
checkDestinationPath57%
check57%
webpsave57%
doActualConvert58%
makeConverterFromClassname60%
getPath60%
getPath60%
checkOperationality60%
check60%
setOption60%
removeExistingDestinationIfExists60%
setProvidedOptions60%
doActualConvert61%
startTimer66%
getPath66%
createCommandLineOptions66%
checkMimeType66%
hasNiceSupport66%
getKey71%
checkOperationality71%
getApiUrl71%
checkAbsolutePathAndExists71%
getSuppliedBinaryInfoForCurrentOS72%
__construct72%
createPostData73%
getTimeStr75%
functionsExist75%
getVersion75%
detectQualityOfJpgUsingImageMagick75%
getIniBytes75%
initCurl75%
getKeyStatus76%
checkOperationality76%
doActualConvert76%
createImageResource76%
warningHandler77%
doActualConvert78%
checkOperationality78%
checkHashForSuppliedBinary80%
readTimer80%
isWebPDelegateInstalled80%
checkNiceSupport80%
checkConvertability81%
doConvertImplementation82%
discoverCwebpBinaries82%
makeTrueColorUsingWorkaround83%
tryToMakeTrueColorIfNot83%
doActualConvert83%
doActualConvert84%

Project Risks

Method CRAP
doActualConvert380
logOptions240
createCommandLineOptions156
performFailAction72
doActualConvert60
tryConverting56
composeMeaningfullErrorMessageNoVersionsWorking56
keepSubscriptionAlive56
doActualConvert42
detectQualityOfJpgUsingImagick32
checkOperationality31
doConvert30
checkConvertability30
getHtml30
getMarkDown30
createCommandLineOptions25
doActualConvert25
doActualConvert25
doActualConvert20
webpsave20
checkAllHashes20
getText20
getDefinitions20
getConverterOptionDefinitions20
converterIdToClassname17
doActualConvert15
setProvidedOptions14
detectQualityOfJpgUsingGraphicsMagick14
who12
detectVersions12
getVersion12
isWebPDelegateInstalled12
log12
getSchema12
setHelpTexts12
setUI12
serve12
serveConverted12
getUniqueOptionDefinitions12
getSupportedGeneralOptions12
getApiKey11
check10
doActualConvert10
getKeyStatus10
checkOperationality9
makeTrueColorUsingWorkaround9
isWebPDelegateInstalled9
checkOperationality8
detectVersion8
discoverCwebpBinaries8
detectQualityOfJpgUsingImageMagick7
warningHandler7
checkOperationality7
trySettingAlphaBlending7
checkOptions7
doConvertImplementation7
doActualConvert7
checkFileSizeVsIniSetting7
check6
checkMin6
checkMax6
getSuppliedBinaryInfoForCurrentOS6
__construct6
checkDestinationWritable6
doActualConvert6
destroyAndRemove6
createRandomSaltForBlowfish6
checkAbsolutePath6
getValueForPrint6
getValueForPrint6
getValueForPrint6
getDefinition6
getValueForPrint6
getValueForPrint6
getValueForPrint6
getDefinition6
convertAndReport6
processOptions6
getGeneralOptionDefinitions6
getSupportedGeneralOptionIds6
checkOperationalityForCurlTrait6
getPath5
checkMimeType5
hasNiceSupport5
check5
checkOperationality5
createImageResource5
createImageResource5
checkOperationality5
checkDestinationPath5
checkConvertability5
tryToMakeTrueColorIfNot5
getKey4
getApiUrl4
checkAbsolutePathAndExists4
createPostData4
checkOperationality4
checkOperationality4
tryCwebpBinary3
checkType3
getPath3
getPath3
checkOperationality3
removeExistingDestinationIfExists3
convert3
functionsExist3
getVersion3
getIniBytes3
checkHashForSuppliedBinary3
isWebPDelegateInstalled3
makeTrueColor2
getOptionById2
checkOperationalityExecTrait2
makeConverterFromClassname2
check2
setOption2
startTimer2
getTimeStr2
initCurl2
readTimer2
checkNiceSupport2