/workspace/src/extensions/WebAuthn/src
(Dashboard)
Classes
Coverage Distribution
Complexity
Insufficient Coverage
Class
Coverage
MediaWiki\Extension\WebAuthn\Api\WebAuthn
0%
MediaWiki\Extension\WebAuthn\Auth\WebAuthnAuthenticationRequest
0%
MediaWiki\Extension\WebAuthn\Auth\WebAuthnSecondaryAuthenticationProvider
0%
MediaWiki\Extension\WebAuthn\Config\WebAuthnConfig
0%
MediaWiki\Extension\WebAuthn\HTMLField\AddKeyLayout
0%
MediaWiki\Extension\WebAuthn\HTMLField\RegisteredKeyLayout
0%
MediaWiki\Extension\WebAuthn\HTMLForm\WebAuthnAddKeyForm
0%
MediaWiki\Extension\WebAuthn\HTMLForm\WebAuthnDisableForm
0%
MediaWiki\Extension\WebAuthn\HTMLForm\WebAuthnManageForm
0%
MediaWiki\Extension\WebAuthn\Key\WebAuthnKey
0%
MediaWiki\Extension\WebAuthn\Module\WebAuthn
0%
MediaWiki\Extension\WebAuthn\Request
0%
MediaWiki\Extension\WebAuthn\WebAuthnCredentialRepository
0%
MediaWiki\Extension\WebAuthn\Authenticator
13%
Project Risks
Class
CRAP
MediaWiki\Extension\WebAuthn\Authenticator
1751
MediaWiki\Extension\WebAuthn\Module\WebAuthn
1056
MediaWiki\Extension\WebAuthn\Key\WebAuthnKey
992
MediaWiki\Extension\WebAuthn\Api\WebAuthn
342
MediaWiki\Extension\WebAuthn\WebAuthnCredentialRepository
342
MediaWiki\Extension\WebAuthn\HTMLForm\WebAuthnManageForm
240
MediaWiki\Extension\WebAuthn\Auth\WebAuthnSecondaryAuthenticationProvider
132
MediaWiki\Extension\WebAuthn\HTMLForm\WebAuthnDisableForm
132
MediaWiki\Extension\WebAuthn\HTMLForm\WebAuthnAddKeyForm
56
MediaWiki\Extension\WebAuthn\Auth\WebAuthnAuthenticationRequest
42
Methods
Coverage Distribution
Complexity
Insufficient Coverage
Method
Coverage
execute
0%
getUserHandle
0%
checkFriendlyName
0%
getTransports
0%
getType
0%
verifyRegistration
0%
verify
0%
getTrustPath
0%
getAttestationType
0%
setSignCounter
0%
getSignCounter
0%
getAttestedCredentialData
0%
registrationCeremony
0%
setFriendlyName
0%
getFriendlyName
0%
getId
0%
setDataFromEncodedDBData
0%
jsonSerialize
0%
__construct
0%
newFromData
0%
newKey
0%
authenticate
0%
checkFriendlyNameInternal
0%
authenticationCeremony
0%
getDescriptors
0%
getDescriptionMessage
0%
credentialSourceFromKey
0%
saveCredentialSource
0%
findAllForUserEntity
0%
findOneByCredentialId
0%
getFriendlyNames
0%
getWebAuthnKeys
0%
__construct
0%
newFromWebRequest
0%
getDisableWarningMessage
0%
getConfig
0%
factory
0%
getKeyByFriendlyName
0%
findKeyByCredentialId
0%
getManageForm
0%
verify
0%
isEnabled
0%
getSecondaryAuthProvider
0%
newKey
0%
getDisplayName
0%
getName
0%
removeKey
0%
onSubmit
0%
getAllowedParams
0%
getAuthenticationRequests
0%
startRegistration
0%
continueAuthentication
0%
startAuthentication
0%
canRegister
0%
canAuthenticate
0%
beginSecondaryAccountCreation
0%
addModules
0%
continueSecondaryAuthentication
0%
beginSecondaryAuthentication
0%
getSubmittedData
0%
setSessionData
0%
loadFromSubmission
0%
getFieldInfo
0%
setAuthInfo
0%
describeCredentials
0%
getRegisterInfo
0%
getAuthInfo
0%
checkModule
0%
checkPermissions
0%
getRegisteredFunctions
0%
continueRegistration
0%
clearSessionData
0%
onSuccess
0%
getDescriptors
0%
getButtons
0%
getHTML
0%
__construct
0%
authenticate
0%
getDescriptors
0%
onSubmit
0%
onSuccess
0%
getHTML
0%
__construct
0%
onSubmit
0%
getSessionData
0%
onSuccess
0%
getHTML
0%
__construct
0%
getInputHTML
0%
getInputHTML
0%
__construct
0%
getServerName
0%
getRegisterInfo
0%
getAuthInfo
0%
updateCounterFor
0%
getServerId
75%
Project Risks
Method
CRAP
continueRegistration
110
getManageForm
90
getRegisterInfo
30
execute
20
getServerName
20
onSubmit
20
registrationCeremony
20
getSessionData
20
authenticationCeremony
20
checkPermissions
20
continueAuthentication
20
findKeyByCredentialId
20
getKeyByFriendlyName
20
continueSecondaryAuthentication
20
beginSecondaryAuthentication
20
verify
12
isEnabled
12
getWebAuthnKeys
12
getFriendlyNames
12
findOneByCredentialId
12
findAllForUserEntity
12
authenticate
12
onSubmit
12
updateCounterFor
12
getAuthInfo
12
getAuthInfo
12
getRegisterInfo
12
onSubmit
12
clearSessionData
12
authenticate
6
startAuthentication
6
checkModule
6
getButtons
6
loadFromSubmission
6
canAuthenticate
6
canRegister
6
startRegistration
6
verify
6
setSessionData
6
newKey
6
getDescriptors
6
removeKey
6
checkFriendlyNameInternal
6
verifyRegistration
6
getHTML
6
getServerId
4