Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
oat\taoMediaManager\controller\MediaExport0%
oat\taoMediaManager\controller\MediaImport0%
oat\taoMediaManager\controller\MediaManager0%
oat\taoMediaManager\controller\MediaRelations0%
oat\taoMediaManager\controller\Middleware\MiddlewareConfig0%
oat\taoMediaManager\controller\SharedStimulus0%
oat\taoMediaManager\controller\SharedStimulusStyling0%
oat\taoMediaManager\model\FileImportForm0%
oat\taoMediaManager\model\FileImporter0%
oat\taoMediaManager\model\ImportHandlerFactory0%
oat\taoMediaManager\model\SharedStimulusImporter0%
oat\taoMediaManager\model\SharedStimulusPackageImporter0%
oat\taoMediaManager\model\ZipExportForm0%
oat\taoMediaManager\model\ZipImporter0%
oat\taoMediaManager\model\editInstanceForm0%
oat\taoMediaManager\model\fileManagement\FileSourceSerializer0%
oat\taoMediaManager\model\fileManagement\FileSourceUnserializer0%
oat\taoMediaManager\model\fileManagement\FlySystemManagement0%
oat\taoMediaManager\model\relation\factory\QueryFactory0%
oat\taoMediaManager\model\relation\service\ItemToMediaRdsSearcher0%
oat\taoMediaManager\model\relation\service\MediaToMediaRdsSearcher0%
oat\taoMediaManager\model\sharedStimulus\css\dto\LoadStylesheet0%
oat\taoMediaManager\model\sharedStimulus\css\dto\SaveStylesheetClasses0%
oat\taoMediaManager\model\sharedStimulus\css\dto\UploadedStylesheet0%
oat\taoMediaManager\model\sharedStimulus\css\handler\ListStylesheetsHandler0%
oat\taoMediaManager\model\sharedStimulus\css\handler\LoadStylesheetClassesHandler0%
oat\taoMediaManager\model\sharedStimulus\css\handler\LoadStylesheetHandler0%
oat\taoMediaManager\model\sharedStimulus\css\handler\SaveStylesheetClassesHandler0%
oat\taoMediaManager\model\sharedStimulus\css\handler\UploadStylesheetRequestHandler0%
oat\taoMediaManager\model\sharedStimulus\css\repository\StylesheetRepository0%
oat\taoMediaManager\model\sharedStimulus\css\service\ListStylesheetsService0%
oat\taoMediaManager\model\sharedStimulus\css\service\LoadStylesheetClassesService0%
oat\taoMediaManager\model\sharedStimulus\css\service\LoadStylesheetService0%
oat\taoMediaManager\model\sharedStimulus\css\service\SaveStylesheetClassesService0%
oat\taoMediaManager\model\sharedStimulus\css\service\UploadStylesheetService0%
oat\taoMediaManager\model\sharedStimulus\encoder\SharedStimulusMediaEncoder0%
oat\taoMediaManager\model\sharedStimulus\service\PatchService0%
oat\taoMediaManager\model\validation\RequestValidator0%
oat\taoMediaManager\model\MediaSource0%
oat\taoMediaManager\model\MediaService3%
oat\taoMediaManager\model\relation\task\MediaToMediaRelationMigrationTask20%
oat\taoMediaManager\model\relation\MediaRelationService28%
oat\taoMediaManager\model\relation\service\AbstractRdsSearcher32%
oat\taoMediaManager\model\ZipExporter41%
oat\taoMediaManager\model\sharedStimulus\CopyCommand50%
oat\taoMediaManager\model\sharedStimulus\PatchCommand50%
oat\taoMediaManager\model\sharedStimulus\css\dto\ListStylesheets50%
oat\taoMediaManager\model\sharedStimulus\service\StoreService51%
oat\taoMediaManager\model\classes\Copier\AssetClassCopier59%
oat\taoMediaManager\model\export\service\MediaResourcePreparer65%
oat\taoMediaManager\model\relation\event\MediaRemovedEvent66%
oat\taoMediaManager\model\sharedStimulus\service\TempFileWriter75%
oat\taoMediaManager\model\AssetDeleter78%
oat\taoMediaManager\model\relation\event\MediaSavedEvent80%
oat\taoMediaManager\model\relation\event\processor\ItemRemovedEventProcessor84%
oat\taoMediaManager\model\sharedStimulus\parser\JsonQtiAttributeParser85%
oat\taoMediaManager\model\relation\repository\rdf\RdfMediaRelationRepository87%
oat\taoMediaManager\model\classes\Copier\AssetContentCopier88%
oat\taoMediaManager\model\export\service\SharedStimulusCSSExporter88%

Project Risks

Class CRAP
oat\taoMediaManager\model\MediaSource3022
oat\taoMediaManager\model\SharedStimulusImporter1406
oat\taoMediaManager\model\MediaService1130
oat\taoMediaManager\model\SharedStimulusPackageImporter650
oat\taoMediaManager\controller\MediaManager552
oat\taoMediaManager\model\ZipImporter552
oat\taoMediaManager\controller\SharedStimulus462
oat\taoMediaManager\model\FileImporter420
oat\taoMediaManager\model\ZipExporter214
oat\taoMediaManager\model\fileManagement\FlySystemManagement210
oat\taoMediaManager\model\sharedStimulus\service\PatchService210
oat\taoMediaManager\model\sharedStimulus\css\service\SaveStylesheetClassesService182
oat\taoMediaManager\model\sharedStimulus\css\service\LoadStylesheetClassesService132
oat\taoMediaManager\controller\SharedStimulusStyling110
oat\taoMediaManager\model\sharedStimulus\encoder\SharedStimulusMediaEncoder110
oat\taoMediaManager\controller\MediaImport90
oat\taoMediaManager\model\FileImportForm72
oat\taoMediaManager\model\ImportHandlerFactory56
oat\taoMediaManager\model\export\service\MediaResourcePreparer53
oat\taoMediaManager\model\editInstanceForm42
oat\taoMediaManager\model\fileManagement\FileSourceSerializer42
oat\taoMediaManager\model\relation\repository\rdf\RdfMediaRelationRepository30
oat\taoMediaManager\model\sharedStimulus\css\handler\UploadStylesheetRequestHandler30
oat\taoMediaManager\model\sharedStimulus\css\service\ListStylesheetsService30
oat\taoMediaManager\model\validation\RequestValidator30
oat\taoMediaManager\model\sharedStimulus\service\StoreService24
oat\taoMediaManager\model\sharedStimulus\service\TempFileWriter24
oat\taoMediaManager\controller\MediaRelations20
oat\taoMediaManager\model\relation\factory\QueryFactory20
oat\taoMediaManager\model\sharedStimulus\css\handler\SaveStylesheetClassesHandler20
oat\taoMediaManager\model\sharedStimulus\css\service\UploadStylesheetService20
oat\taoMediaManager\model\AssetDeleter14
oat\taoMediaManager\model\relation\service\AbstractRdsSearcher12
oat\taoMediaManager\model\ZipExportForm12
oat\taoMediaManager\model\fileManagement\FileSourceUnserializer12
oat\taoMediaManager\model\classes\Copier\AssetContentCopier10
oat\taoMediaManager\model\sharedStimulus\parser\JsonQtiAttributeParser9
oat\taoMediaManager\model\export\service\SharedStimulusCSSExporter9
oat\taoMediaManager\model\classes\Copier\AssetClassCopier6
oat\taoMediaManager\model\relation\event\processor\ItemRemovedEventProcessor6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
index0%
getAvailableExportHandlers0%
index0%
editMedia0%
getAvailableImportHandlers0%
getImportHandlerFactory0%
getPermissionService0%
editInstance0%
getFile0%
delete0%
moveResource0%
editClassLabel0%
authoring0%
getClassService0%
getRequestedMediaUri0%
getFormInstance0%
getMediaService0%
getPermissionService0%
getDependsOnPropertyValidator0%
relations0%
getMediaRelationService0%
getQueryFactory0%
__invoke0%
create0%
get0%
patch0%
renderSharedStimulus0%
getPreviewPermission0%
getResponseFormatter0%
getCommandFactory0%
getQueryFactory0%
getCreateService0%
getPatchService0%
getSharedStimulusRepository0%
getSharedStimulusAttributesParser0%
validateWritePermission0%
validateReadPermission0%
save0%
load0%
getStylesheets0%
loadStylesheet0%
upload0%
__construct0%
initForm0%
initElements0%
__construct0%
getLabel0%
getForm0%
import0%
getTaskParameters0%
getZipImporter0%
createAvailable0%
createByMediaId0%
isQtiMedia0%
getOntology0%
getSharedStimulusImporter0%
singleton0%
getRootClass0%
createMediaInstance0%
createSharedStimulusInstance0%
editMediaInstance0%
deleteResource0%
dispatchMediaSavedEvent0%
removeFromFilesystem0%
getLink0%
getMediaSavedEventDispatcher0%
getFileManager0%
getRepositoryService0%
getEventManager0%
getResourceMimeType0%
getFileSourceUnserializer0%
enableAccessControl0%
getLanguage0%
getRootClass0%
add0%
delete0%
getDirectories0%
getDirectory0%
getFileInfo0%
getFileStream0%
download0%
getBaseName0%
forceMimeType0%
getOrCreatePath0%
getArrayFromJson0%
getServiceLocator0%
getRootClassUri0%
getLang0%
getMediaService0%
getFileManagement0%
removeSchemaFromUriOrLink0%
getProcessedFileStream0%
getPreparer0%
getFileSourceUnserializer0%
searchDirectories0%
getPermissionsMapper0%
setInstanceUri0%
getLabel0%
getForm0%
import0%
isValidSharedStimulus0%
hasInteraction0%
hasFeedback0%
hasTemplate0%
hasComponents0%
setZipImporter0%
getZipImporter0%
getTaskParameters0%
getMediaService0%
getSharedStimulusStoreService0%
import0%
edit0%
getSharedStimulusFile0%
getSharedStimulusStylesheets0%
isFileExtension0%
storeSharedStimulus0%
replaceSharedStimulus0%
getDecodedUri0%
getMediaService0%
getSharedStimulusStoreService0%
getSharedStimulusMediaEncoderService0%
initForm0%
initElements0%
getLabel0%
getExportForm0%
export0%
processExport0%
normalizeClassName0%
getSavePath0%
getServiceManager0%
getSharedStimulusCSSExporter0%
getClassResources0%
import0%
createClass0%
extractArchive0%
copy0%
initForm0%
isEnabled0%
isReplaceEnabled0%
getReplaceAssetButtonTemplate0%
setComponentSource0%
getEncodedSource0%
getFileManagement0%
serialize0%
getFileSystemService0%
getFlySystemManagement0%
getFileRefSerializer0%
unserialize0%
getFileRefSerializer0%
storeFile0%
deleteDirectory0%
getFileSize0%
getFileStream0%
retrieveFile0%
deleteFile0%
getFilesystem0%
getUniqueFilename0%
findRelations0%
getName0%
getName0%
getAssetDeleter0%
createFindAllQueryByRequest0%
getMediaRelationRepository0%
getItemAssetUris0%
getRelatedItemUrisByAssetUri0%
getPersistence0%
getFilterArray0%
getTargetClasses0%
getTargetClasses0%
getResultSearcher0%
getSpawnMigrationConfigService0%
getResultFilterFactory0%
getMigrationConfigFactory0%
getSourceUri0%
getDestinationUri0%
getLanguage0%
getFileReference0%
getId0%
getUserId0%
getUri0%
__construct0%
getUri0%
getStylesheetUri0%
__construct0%
getUri0%
getStylesheetUri0%
getCssClassesArray0%
__construct0%
getUri0%
getFileName0%
getTmpFileLink0%
getFileResource0%
__invoke0%
validate0%
__invoke0%
validate0%
__invoke0%
validate0%
__invoke0%
validateParams0%
validateCSS0%
__invoke0%
validate0%
getUploadedFileInfo0%
validateUploadedFile0%
getPath0%
listContents0%
read0%
write0%
writeStream0%
delete0%
getFileSystem0%
getOntology0%
getFileSourceUnserializer0%
getFileSystemService0%
getFlySystemManagement0%
getList0%
getStylesheetRepository0%
load0%
cssToArray0%
getStylesheetRepository0%
load0%
getFileManagement0%
getStylesheetRepository0%
save0%
removeStoredStylesheet0%
getCssContentFromArray0%
getStylesheetRepository0%
save0%
getStylesheetRepository0%
encodeAssets0%
validateSource0%
secureEncode0%
patch0%
getMediaService0%
validateResource0%
validateXml0%
getMediaParser0%
getFileSourceUnserializer0%
getFileSystem0%
getFileSystemService0%
getFlySystemManagement0%
findLanguageResource0%
getUniqueName0%
validateRequiredParameters0%
securityCheckPath0%
replaceComponentPath25%
__destruct33%
addClassAttribute33%
getPersistenceIterator35%
getComponentSource40%
getSharedStimulusName40%
storeStream42%
deleteByItemUri50%
search50%
createRootCacheDirectory50%
applyQueryTargetType54%
store54%
__construct57%
createTempDirectory60%
getMediaResolver66%
getMediaResolver66%
getMediaResolver66%
getMediaAsset71%
extractImageFileInfo75%
createZipFile78%
cloneAsset79%
createDomDocument83%
pack84%
getOneProperty85%
dispatchFromFile87%
prepare88%

Project Risks

Method CRAP
import306
import240
extractArchive156
import90
createMediaInstance56
searchDirectories56
isValidSharedStimulus56
cssToArray56
editInstance42
initElements42
getOrCreatePath42
getCssContentFromArray42
editMedia30
getFile30
editMediaInstance30
validateSource30
getFileInfo20
processExport20
getList20
deleteResource12
dispatchMediaSavedEvent12
getResourceMimeType12
getFileStream12
getArrayFromJson12
import12
edit12
getSharedStimulusFile12
getSharedStimulusStylesheets12
isFileExtension12
replaceSharedStimulus12
export12
setComponentSource12
serialize12
storeFile12
createFindAllQueryByRequest12
load12
save12
save12
encodeAssets12
validateRequiredParameters12
createZipFile10
storeStream9
prepare7
getRequestedMediaUri6
getFormInstance6
relations6
create6
get6
patch6
renderSharedStimulus6
getPreviewPermission6
validateWritePermission6
validateReadPermission6
save6
load6
getStylesheets6
loadStylesheet6
upload6
createByMediaId6
isQtiMedia6
removeFromFilesystem6
getLink6
getLanguage6
add6
download6
getBaseName6
getRootClassUri6
getLang6
getMediaService6
getFileManagement6
getPermissionsMapper6
getZipImporter6
storeSharedStimulus6
getDecodedUri6
initElements6
normalizeClassName6
getSavePath6
createClass6
initForm6
getReplaceAssetButtonTemplate6
unserialize6
deleteDirectory6
getFileSize6
deleteFile6
getUniqueFilename6
validateCSS6
validateUploadedFile6
removeStoredStylesheet6
getStylesheetRepository6
secureEncode6
patch6
validateResource6
validateXml6
findLanguageResource6
securityCheckPath6
__destruct5
applyQueryTargetType5
__construct5
pack5
dispatchFromFile5
createTempDirectory5
getComponentSource4
getSharedStimulusName4
cloneAsset4
deleteByItemUri4
createRootCacheDirectory4
replaceComponentPath3
getMediaAsset3
addClassAttribute3
getPersistenceIterator3
search2
store2
getMediaResolver2
getMediaResolver2
getMediaResolver2
extractImageFileInfo2
createDomDocument2
getOneProperty2