Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
oat\taoLti\controller\AuthoringTool0%
oat\taoLti\controller\ConsumerAdmin0%
oat\taoLti\controller\CookieUtils0%
oat\taoLti\controller\KeyChainGenerator0%
oat\taoLti\controller\KeyChainView0%
oat\taoLti\controller\LtiConsumer0%
oat\taoLti\controller\LtiModule0%
oat\taoLti\controller\PlatformAdmin0%
oat\taoLti\controller\ProviderAdmin0%
oat\taoLti\controller\RestService0%
oat\taoLti\controller\Security0%
oat\taoLti\controller\ToolModule0%
oat\taoLti\models\classes\Client\LtiClientFactory0%
oat\taoLti\models\classes\CookieVerifyService0%
oat\taoLti\models\classes\ExceptionInterpreter0%
oat\taoLti\models\classes\LaunchData\Validator\Lti11LaunchDataValidator0%
oat\taoLti\models\classes\LaunchData\Validator\LtiValidatorService0%
oat\taoLti\models\classes\Lis\LisAuthAdapterException0%
oat\taoLti\models\classes\Lis\LisAuthAdapterFactory0%
oat\taoLti\models\classes\Lis\LisOauthService0%
oat\taoLti\models\classes\Lis\LisSignatureValidator0%
oat\taoLti\models\classes\LtiMessages\LtiErrorMessage0%
oat\taoLti\models\classes\LtiMessages\LtiMessage0%
oat\taoLti\models\classes\LtiProvider\ConfigurableLtiProviderRepository0%
oat\taoLti\models\classes\LtiProvider\LtiProviderFactory0%
oat\taoLti\models\classes\LtiReturnResponse0%
oat\taoLti\models\classes\LtiService0%
oat\taoLti\models\classes\LtiTool0%
oat\taoLti\models\classes\LtiVariableMissingException0%
oat\taoLti\models\classes\Platform\Repository\DefaultToolConfig0%
oat\taoLti\models\classes\Platform\Repository\Lti1p3RegistrationSnapshotRepository0%
oat\taoLti\models\classes\Platform\Repository\Lti1p3RegistrationSnapshotSchemaProvider0%
oat\taoLti\models\classes\Platform\Repository\LtiPlatformFactory0%
oat\taoLti\models\classes\Platform\Repository\RdfLtiPlatformRepository0%
oat\taoLti\models\classes\Platform\Service\UpdatePlatformRegistrationSnapshotListener0%
oat\taoLti\models\classes\Platform\Validation\ValidationRegistry0%
oat\taoLti\models\classes\Platform\Validation\ValidatorsFactory0%
oat\taoLti\models\classes\ResourceLink\KeyValueLink0%
oat\taoLti\models\classes\ResourceLink\OntologyLink0%
oat\taoLti\models\classes\Security\Business\Domain\Exception\SecretKeyGenerationException0%
oat\taoLti\models\classes\ServiceProvider\LtiServiceProvider0%
oat\taoLti\models\classes\TaoLtiSession0%
oat\taoLti\models\classes\Tool\Validation\AuthoringToolValidator0%
oat\taoLti\models\classes\Tool\Validation\Lti1p3Validator0%
oat\taoLti\models\classes\theme\LtiClientThemeConfig0%
oat\taoLti\models\classes\theme\LtiThemeDetailsProvider0%
oat\taoLti\models\classes\theme\LtiThemeSwitcher0%
oat\taoLti\models\classes\theme\PortalThemeDetailProvider0%
oat\taoLti\models\classes\theme\PortalThemeService0%
oat\taoLti\models\classes\user\KvLtiUser0%
oat\taoLti\models\classes\user\KvLtiUserService0%
oat\taoLti\models\classes\user\OntologyLtiUserService0%
oat\taoLti\models\classes\user\UserService0%
oat\taoLti\models\classes\user\events\LtiUserCreatedEvent0%
oat\taoLti\models\classes\user\events\LtiUserEvent0%
oat\taoLti\models\classes\user\events\LtiUserUpdatedEvent0%
oat\taoLti\controller\traits\LtiModuleTrait0%
oat\taoLti\models\classes\LtiRestApiService5%
oat\taoLti\models\classes\LtiAuthAdapter9%
oat\taoLti\models\classes\user\events\LtiTestTakerCreatedEvent14%
oat\taoLti\models\classes\user\LtiUserService20%
oat\taoLti\models\classes\LtiException21%
oat\taoLti\models\classes\LtiUtils31%
oat\taoLti\models\classes\LtiLaunchData36%
oat\taoLti\models\classes\Lis\LtiProviderUser37%
oat\taoLti\models\classes\user\LtiUser47%
oat\taoLti\models\classes\Security\Business\Service\SecretKeyService50%
oat\taoLti\models\classes\LtiProvider\RdfLtiProviderRepository54%
oat\taoLti\models\classes\LtiAgs\LtiAgsException56%
oat\taoLti\models\classes\Platform\Service\Oidc\Lti1p3OidcLoginAuthenticator57%
oat\taoLti\models\classes\Security\DataAccess\Repository\CachedPlatformKeyChainRepository60%
oat\taoLti\models\classes\user\Lti1p3User65%
oat\taoLti\models\classes\Security\AccessTokenRequestValidator74%
oat\taoLti\models\classes\LtiProvider\LtiProvider75%
oat\taoLti\models\classes\DynamicConfig\LtiConfigProvider80%
oat\taoLti\models\classes\Lis\LisOauthDataStore80%
oat\taoLti\models\classes\Platform\Repository\Lti1p3RegistrationRepository82%
oat\taoLti\models\classes\user\events\LtiBackOfficeUserCreatedEvent83%
oat\taoLti\models\classes\LtiProvider\LtiProviderService83%
oat\taoLti\models\classes\Platform\Service\Oidc\Lti1p3UserAuthenticator84%
oat\taoLti\models\classes\Security\DataAccess\Repository\ToolKeyChainRepository84%

Project Risks

Class CRAP
oat\taoLti\models\classes\LtiLaunchData1955
oat\taoLti\models\classes\LtiReturnResponse702
oat\taoLti\controller\ConsumerAdmin600
oat\taoLti\models\classes\Platform\Repository\RdfLtiPlatformRepository506
oat\taoLti\models\classes\LtiService462
oat\taoLti\models\classes\LtiProvider\ConfigurableLtiProviderRepository380
oat\taoLti\models\classes\Platform\Repository\Lti1p3RegistrationSnapshotRepository306
oat\taoLti\models\classes\user\KvLtiUser272
oat\taoLti\models\classes\user\OntologyLtiUserService240
oat\taoLti\controller\Security182
oat\taoLti\models\classes\user\LtiUserService162
oat\taoLti\models\classes\LaunchData\Validator\Lti11LaunchDataValidator156
oat\taoLti\models\classes\TaoLtiSession156
oat\taoLti\models\classes\user\KvLtiUserService156
oat\taoLti\models\classes\user\LtiUser148
oat\taoLti\controller\ToolModule132
oat\taoLti\models\classes\LtiProvider\LtiProviderFactory132
oat\taoLti\models\classes\Tool\Validation\Lti1p3Validator110
oat\taoLti\controller\RestService90
oat\taoLti\models\classes\theme\LtiThemeSwitcher90
oat\taoLti\models\classes\LtiProvider\RdfLtiProviderRepository72
oat\taoLti\controller\AuthoringTool72
oat\taoLti\controller\ProviderAdmin72
oat\taoLti\models\classes\LtiUtils67
oat\taoLti\models\classes\Platform\Service\UpdatePlatformRegistrationSnapshotListener56
oat\taoLti\models\classes\theme\LtiThemeDetailsProvider56
oat\taoLti\controller\traits\LtiModuleTrait56
oat\taoLti\models\classes\LtiException48
oat\taoLti\models\classes\LtiMessages\LtiMessage42
oat\taoLti\models\classes\user\UserService42
oat\taoLti\models\classes\LtiRestApiService36
oat\taoLti\controller\CookieUtils30
oat\taoLti\controller\KeyChainGenerator30
oat\taoLti\controller\LtiConsumer30
oat\taoLti\models\classes\theme\PortalThemeDetailProvider30
oat\taoLti\models\classes\user\Lti1p3User28
oat\taoLti\models\classes\Platform\Repository\Lti1p3RegistrationRepository26
oat\taoLti\models\classes\Security\DataAccess\Repository\CachedPlatformKeyChainRepository26
oat\taoLti\models\classes\LtiAuthAdapter23
oat\taoLti\models\classes\LtiAgs\LtiAgsException21
oat\taoLti\models\classes\ExceptionInterpreter20
oat\taoLti\models\classes\Platform\Validation\ValidatorsFactory20
oat\taoLti\models\classes\theme\PortalThemeService20
oat\taoLti\models\classes\Lis\LtiProviderUser18
oat\taoLti\models\classes\Security\AccessTokenRequestValidator18
oat\taoLti\models\classes\LtiProvider\LtiProviderService15
oat\taoLti\models\classes\ResourceLink\KeyValueLink12
oat\taoLti\models\classes\ResourceLink\OntologyLink12
oat\taoLti\models\classes\theme\LtiClientThemeConfig12
oat\taoLti\models\classes\DynamicConfig\LtiConfigProvider10
oat\taoLti\models\classes\Platform\Service\Oidc\Lti1p3OidcLoginAuthenticator8
oat\taoLti\models\classes\Platform\Service\Oidc\Lti1p3UserAuthenticator8
oat\taoLti\models\classes\Lis\LisOauthDataStore7
oat\taoLti\models\classes\LaunchData\Validator\LtiValidatorService6
oat\taoLti\models\classes\Lis\LisSignatureValidator6
oat\taoLti\models\classes\Platform\Validation\ValidationRegistry6
oat\taoLti\models\classes\Security\DataAccess\Repository\ToolKeyChainRepository5
oat\taoLti\models\classes\Security\Business\Service\SecretKeyService4

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
run0%
getValidatedLtiMessagePayload0%
launch0%
getLtiMessageOrRedirectToLogin0%
getAuthoringRoleService0%
addInstanceForm0%
editInstance0%
getClassService0%
getCurrentClass0%
getCurrentInstance0%
createNewInstanceForm0%
createExistingInstanceForm0%
enrichWithSecretField0%
enrichWithRegenerateSecretAction0%
enrichWithRegenerateSecretDisclaimer0%
handleNewInstanceSubmission0%
handleExistingInstanceSubmission0%
extractValues0%
updateCurrentInstance0%
getSecretKeyService0%
verifyCookie0%
restoreSession0%
generate0%
getKeyChainGenerator0%
view0%
getSafeKeyChains0%
getJwksRepository0%
getKeyChainRepository0%
getUrlGenerator0%
call0%
returnError0%
setIframeHeaders0%
initialize0%
getClassService0%
getExtraValidationRules0%
getValidationFactory0%
getExcludedProperties0%
getFeatureFlagFormPropertyMapper0%
getClassService0%
getExtraValidationRules0%
getLtiVersion0%
getValidationFactory0%
getConfigurationMapper0%
getCrudService0%
get0%
getUserId0%
getParametersAliases0%
getParametersRequirements0%
oauth0%
jwks0%
oidc0%
oidcInitiation0%
getKeyChainRepository0%
getPlatformKeyChainRepository0%
getAuthorizationServerFactory0%
getJwksRepository0%
getOidcLoginAuthenticator0%
getAccessTokenGenerator0%
launch0%
logLti0%
getValidatedLtiMessagePayload0%
__construct0%
create0%
isVerifyCookieRequired0%
setException0%
getResponse0%
log0%
validate0%
isValidLinkId0%
isValidLtiVersion0%
isCorrectLtiVersion0%
isValidLtiMessageType0%
getLaunchDataParameter0%
validateLaunchData0%
getUserMessage0%
create0%
new_request_token0%
new_access_token0%
sign0%
validateBodyHash0%
validate0%
getPropertyValues0%
refresh0%
getRoles0%
getKey0%
__toString0%
getAgsClaim0%
getRegistration0%
getScore0%
authenticate0%
getLaunchData0%
getLtiMessage0%
setLaunchData0%
getLaunchData0%
getKey0%
__toString0%
fromPsrRequest0%
fromLti1p3MessagePayload0%
getCustomParameter0%
getResourceLinkID0%
getResourceLinkTitle0%
getUserID0%
getUserEmail0%
getToolConsumerName0%
getLtiConsumer0%
getOauthKey0%
getLtiForUserId0%
getLtiForUserEmail0%
getLtiForUserFamilyName0%
getLtiForUserGivenName0%
getLtiForUserName0%
getLtiForUserPersonSourcedId0%
getLtiForUserRoles0%
getUrlParams0%
__construct0%
getMessage0%
getLog0%
getUrlParams0%
getDefaultLang0%
count0%
findAll0%
searchByLabel0%
getProviders0%
searchById0%
searchByOauthKey0%
searchByIssuer0%
getLtiProviderFactory0%
getLtiVersion0%
getToolIdentifier0%
getToolName0%
getToolJwksUrl0%
getToolClientId0%
getToolDeploymentIds0%
getToolAudience0%
getToolOidcLoginInitiationUrl0%
getToolLaunchUrl0%
getToolPublicKey0%
createFromResource0%
createFromArray0%
getLtiVersion0%
getDeploymentIds0%
getValidationService0%
searchByIssuer0%
searchById0%
searchByIssuer0%
getUserId0%
createFromArray0%
__construct0%
setHttpCode0%
send0%
requiresRedirect0%
getLtiErrorMessage0%
showLtiErrorPage0%
renderLtiErrorPage0%
errorRedirectResponse0%
getRedirectUrl0%
getReturnBaseUrl0%
ltiRedirect0%
responseWithCode0%
createLtiSession0%
createLti1p3Session0%
startLtiSession0%
startLti1p3Session0%
getLtiSession0%
getCredential0%
getLtiConsumerResource0%
singleton0%
getLocaleFromMessagePayload0%
getLaunchUrl0%
mapTaoRole2LTIRoles0%
__construct0%
getSeverity0%
__construct0%
getTool0%
getJwksUrl0%
findByClientId0%
findByPlatformIssuer0%
findByToolIssuer0%
__construct0%
save0%
deleteByStatementId0%
find0%
findAll0%
findByClientId0%
findByPlatformIssuer0%
findByToolIssuer0%
getRow0%
toRegistration0%
getPersistence0%
__construct0%
provideSchema0%
createFromResource0%
getRootClass0%
count0%
findAll0%
searchByLabel0%
getPlatforms0%
queryResources0%
getLtiPlatformFromResource0%
searchById0%
searchByClientId0%
searchByIssuer0%
getLtiPlatformFactory0%
getRegistrationRepository0%
getUserAuthenticator0%
__construct0%
whenResourceCreated0%
whenResourceUpdated0%
whenResourceDeleted0%
supports0%
getValidators0%
createFormValidators0%
getValidationRegistry0%
getLinkId0%
getPersistence0%
getLinkId0%
getRegistrationRepository0%
create0%
findAll0%
findByKeySetName0%
saveKeyChain0%
findByKeySetName0%
findByKeySetName0%
__invoke0%
__construct0%
fromVersion1p30%
getUserLabel0%
getLaunchData0%
getLtiLinkResource0%
getLtiConsumer0%
__construct0%
__construct0%
getValidatedPayload0%
validateRequest0%
validateRole0%
getRegistrationRepository0%
getToolLaunchValidator0%
getConfig0%
getThemeId0%
isHeadless0%
getTheme0%
isHeadless0%
getThemeId0%
isHeadless0%
isSessionFromPortal0%
getCurrentThemeId0%
isSessionFromPortal0%
__construct0%
getIdentifier0%
setIdentifier0%
getPropertyValues0%
getPropertiesValues0%
refresh0%
jsonSerialize0%
getPersistence0%
updateUser0%
getUserIdentifier0%
getUserDataFromId0%
setUserFirstTimeUri0%
setUserLatestExtension0%
getPropertyValues0%
getIdentifier0%
setIdentifier0%
getPropertyValues0%
refresh0%
jsonSerialize0%
findOrSpawnUser0%
findUser0%
getUserName0%
getLastName0%
getFirstName0%
getEventManager0%
userUpdatedEvent0%
userCreatedEvent0%
getLtiUserEventDispatcher0%
updateUser0%
getUserIdentifier0%
getUserDataFromId0%
getUserById0%
addUser0%
getName0%
getName0%
getWebhookEventName0%
serializeForWebhook0%
getName0%
__construct0%
getUserId0%
getName0%
returnLtiError0%
getLtiReturnUrl0%
mapLTIRole2TaoRole23%
getExternalOidcLoginAuthenticator33%
authenticate33%
generate33%
readKey33%
determineTaoRoles33%
getUserGivenName50%
getUserFamilyName50%
getUserFullName50%
getVariable66%
getAccessTokenRequestValidator66%
validate70%
searchByOauthKey71%
mapCode2InterfaceLanguage71%
getConfigByLtiClaimName73%
getLtiUserFactory75%
__construct82%

Project Risks

Method CRAP
fromLti1p3MessagePayload756
getPropertyValues110
getPropertyValues90
launch56
getLtiVersion56
createLti1p3Session56
getUserDataFromId56
validate42
showLtiErrorPage42
mapLTIRole2TaoRole36
call30
getUserId30
searchByIssuer30
getUserLabel30
isHeadless30
getPropertyValues30
updateUser30
returnLtiError30
handleExistingInstanceSubmission20
generate20
getToolConsumerName20
getProviders20
searchByIssuer20
send20
getReturnBaseUrl20
queryResources20
searchByIssuer20
findAll20
isHeadless20
getTheme20
getUserById20
getLtiMessageOrRedirectToLogin12
handleNewInstanceSubmission12
restoreSession12
logLti12
authenticate12
getUrlParams12
searchById12
searchByOauthKey12
searchById12
getUserId12
getRedirectUrl12
getCredential12
getLocaleFromMessagePayload12
findByClientId12
getRow12
searchById12
searchByClientId12
createFormValidators12
getLinkId12
validateRequest12
getConfig12
getThemeId12
getPersistence12
updateUser12
getUserIdentifier12
getUserDataFromId12
getUserIdentifier12
determineTaoRoles8
validate8
getConfigByLtiClaimName7
run6
addInstanceForm6
getCurrentClass6
getCurrentInstance6
enrichWithSecretField6
verifyCookie6
getLtiVersion6
oauth6
oidc6
oidcInitiation6
log6
getLaunchDataParameter6
validateLaunchData6
validate6
getPropertyValues6
getKey6
getLtiMessage6
getKey6
getCustomParameter6
getResourceLinkTitle6
getLtiConsumer6
getDefaultLang6
searchByIssuer6
createFromArray6
renderLtiErrorPage6
createLtiSession6
getLtiSession6
mapTaoRole2LTIRoles6
findByPlatformIssuer6
findByToolIssuer6
save6
find6
findByClientId6
findByPlatformIssuer6
getPlatforms6
whenResourceCreated6
whenResourceUpdated6
getValidators6
getLinkId6
getLtiLinkResource6
getLtiConsumer6
getValidatedPayload6
validateRole6
getThemeId6
isSessionFromPortal6
getCurrentThemeId6
isSessionFromPortal6
getPropertiesValues6
findOrSpawnUser6
findUser6
getLastName6
getFirstName6
addUser6
getLtiReturnUrl6
searchByOauthKey3
mapCode2InterfaceLanguage3
getExternalOidcLoginAuthenticator3
authenticate3
generate3
readKey3
__construct3
getUserGivenName2
getUserFamilyName2
getUserFullName2
getVariable2
getAccessTokenRequestValidator2
getLtiUserFactory2