Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
authenticate0%
validateAccessToken0%
resolveUsernameOrEmail0%
hasUserPermission0%
hasRolePermission0%
getRolePermissionMap0%
isRoleIdAuthenticated0%
hasRoleEditPermission0%
isUsernameAllowed0%
isUsernameUnique0%
isPasswordAllowed0%
hashPassword0%
verifyPassword0%
isoDateTime0%
isoDate0%
compactTime0%
formatDateTimeRange0%
getDayRange0%
fromEnv0%
resetDbStructure0%
generateMigration0%
printDbBackup0%
dumpDb0%
sendEmailVerificationEmail0%
getRandomEmailVerificationToken0%
getImapClient0%
buildOlzEmail0%
getUserAddress0%
getComparableEmail0%
getComparableEnvelope0%
arr2str0%
send0%
encryptEmailReactionToken0%
decryptEmailReactionToken0%
renderMarkdown0%
isSpamEmailAddress0%
obfuscateEmail0%
createOlzEntity0%
updateOlzEntity0%
canUpdateOlzEntity0%
olzEntityClasses0%
getSyslogPath0%
getMysqlPort0%
hasUnlimitedCron0%
getDatabaseBackupKey0%
getEmailReactionKey0%
getIdEncryptionKey0%
getCronAuthenticityCode0%
getStravaClientId0%
getStravaClientSecret0%
getTelegramBotToken0%
getTelegramAuthenticityCode0%
getImapHost0%
getImapPort0%
getImapFlags0%
getImapUsername0%
getImapPassword0%
getSmtpHost0%
getSmtpPort0%
getSmtpUsername0%
getSmtpPassword0%
getSmtpSecure0%
getSmtpDebug0%
getAppSearchEnginesUsername0%
getAppSearchEnginesPassword0%
getAppMonitoringUsername0%
getAppMonitoringPassword0%
getAppStatisticsUsername0%
getAppStatisticsPassword0%
checkNotBool0%
checkNotEmpty0%
escape0%
unescape0%
base64DecodeUrl0%
encrypt0%
getRandomIvForAlgo0%
decrypt0%
hash0%
binarySearch0%
getPrettyTrace0%
measureLatency0%
renderMarkdown0%
postprocess0%
replaceEmailAdresses0%
getPrefix0%
getSubject0%
getSuffix0%
escapeDollar0%
countRequest0%
stripParams0%
validateGetParams0%
toExternalId0%
serializeId0%
encryptId0%
toInternalId0%
decryptId0%
deserializeId0%
crc160%
olzImage0%
getThumbSize0%
generateThumbnails0%
getThumbFile0%
WGStoCHy0%
WGStoCHx0%
CHtoWGSlat0%
CHtoWGSlng0%
DECtoSEX0%
resetConfigure0%
getClientId0%
getClientSecret0%
getRegistrationUrl0%
linkStrava0%
getAccessToken0%
fetchTokenDataForCode0%
callStravaApi0%
getBotToken0%
getFreshPinForUser0%
startAnonymousChat0%
startChatForUser0%
linkChatUsingPin0%
linkUserUsingPin0%
getTelegramExpirationInterval0%
getFreshPinForChat0%
setNewPinForLink0%
generateUniqueTelegramPin0%
generateTelegramPin0%
getTelegramPinChars0%
getTelegramPinLength0%
isAnonymousChat0%
getChatState0%
setChatState0%
sendConfiguration0%
callTelegramApi0%
fetchTelegramApi0%
renderMarkdown0%
obfuscateForUpload0%
deobfuscateUpload0%
isUploadId0%
getExtension0%
getUploadIdRegex0%
getRandomUploadId0%
getValidUploadIds0%
getValidUploadId0%
getStoredUploadIds0%
overwriteUploads0%
editUploads0%
devDataUtils0%
entityUtils0%
idUtils0%
imageUtils0%
mailer0%
mapUtils0%
stravaUtils0%
telegramUtils0%
uploadUtils0%
setGetParams0%
setServer0%
getUserPermissionMap16%
getUserByUsername20%
checkNotFalse25%
parseDateTimeRange28%
getTokenUser30%
getUserAvatar37%
getImageSrcHtml41%
checkNotNull50%
generateSpamEmailAddress58%
sanitizeDatetimeValue63%
getCurrentDateInFormat66%
sanitizeDateValue72%
callCommand72%
getCurrentUser75%
getEntityManager75%
resetDbContent75%
tmpdir75%
getConfigPath75%
isBot75%
isEInk75%
hasPermission77%
getAuthenticatedRoles80%
getCheckErrorMessage80%
addDbStructure84%
getTimestamp85%
addDbContent86%
protectTokens86%
fullResetDb87%
lazyInit87%
getApplication87%

Project Risks

Method Coverage Complexity CRAP
getThumbFile0.0%16272
printDbBackup0.0%10110
olzImage0.0%10110
formatDateTimeRange0.0%990
replaceEmailAdresses0.0%990
callTelegramApi0.0%990
overwriteUploads0.0%990
isUsernameUnique0.0%872
binarySearch0.0%872
linkStrava0.0%872
validateAccessToken0.0%756
resolveUsernameOrEmail0.0%756
getRolePermissionMap0.0%756
hasRoleEditPermission0.0%756
getAccessToken0.0%756
authenticate0.0%642
canUpdateOlzEntity0.0%642
stripParams0.0%642
validateGetParams0.0%642
getStoredUploadIds0.0%642
updateOlzEntity0.0%530
encrypt0.0%530
countRequest0.0%530
resetConfigure0.0%530
getUserPermissionMap16.7%626
buildOlzEmail0.0%420
obfuscateEmail0.0%420
createOlzEntity0.0%420
getPrettyTrace0.0%420
generateThumbnails0.0%420
linkUserUsingPin0.0%420
generateUniqueTelegramPin0.0%420
getValidUploadIds0.0%420
getValidUploadId0.0%420
editUploads0.0%420
getTokenUser30.0%513
getUserByUsername20.0%412
isRoleIdAuthenticated0.0%312
send0.0%312
isSpamEmailAddress0.0%312
getRandomIvForAlgo0.0%312
decrypt0.0%312
serializeId0.0%312
getThumbSize0.0%312
callStravaApi0.0%312
linkChatUsingPin0.0%312
sendConfiguration0.0%312
deobfuscateUpload0.0%312
getCurrentDateInFormat66.7%810
parseDateTimeRange28.6%49
hasUserPermission0.0%26
hasRolePermission0.0%26
isUsernameAllowed0.0%26
sanitizeDatetimeValue63.6%56
resetDbStructure0.0%26
addDbStructure84.6%66
addDbContent86.7%66
sendEmailVerificationEmail0.0%26
getUserAddress0.0%26
getComparableEmail0.0%26
getComparableEnvelope0.0%26
decryptEmailReactionToken0.0%26
checkNotBool0.0%26
checkNotEmpty0.0%26
deserializeId0.0%26
crc160.0%26
getRegistrationUrl0.0%26
fetchTokenDataForCode0.0%26
startAnonymousChat0.0%26
startChatForUser0.0%26
getFreshPinForChat0.0%26
generateTelegramPin0.0%26
isAnonymousChat0.0%26
getChatState0.0%26
setChatState0.0%26
fetchTelegramApi0.0%26
obfuscateForUpload0.0%26
isUploadId0.0%26
getExtension0.0%26
getRandomUploadId0.0%26
getUserAvatar37.5%35
sanitizeDateValue72.7%55
lazyInit87.5%55
protectTokens86.7%55
hasPermission77.8%44
getTimestamp85.7%44
getEntityManager75.0%44
getImageSrcHtml41.2%34
callCommand72.7%44
getAuthenticatedRoles80.0%33
getConfigPath75.0%33
checkNotFalse25.0%23
getCheckErrorMessage80.0%33
isBot75.0%33
isEInk75.0%33
getApplication87.5%33
getCurrentUser75.0%22
fullResetDb87.5%22
resetDbContent75.0%22
tmpdir75.0%22
generateSpamEmailAddress58.8%22
checkNotNull50.0%22