Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
authenticate0%
validateAccessToken0%
resolveUsernameOrEmail0%
hasPermission0%
hasUserPermission0%
getUserPermissionMap0%
hasRolePermission0%
getRolePermissionMap0%
getCurrentUser0%
getCurrentAuthUser0%
getTokenUser0%
getSessionUser0%
getSessionAuthUser0%
getUserByUsername0%
getAuthenticatedRoles0%
isRoleIdAuthenticated0%
hasRoleEditPermission0%
isUsernameAllowed0%
isUsernameUnique0%
isPasswordAllowed0%
getUserAvatar0%
hashPassword0%
verifyPassword0%
getIsoArchiveThreshold0%
getIsoToday0%
getIsoNow0%
sanitizeDatetimeValue0%
sanitizeDateValue0%
isoDateTime0%
isoDate0%
compactDate0%
compactTime0%
olzDate0%
getTimestamp0%
formatDateTimeRange0%
parseDateTimeRange0%
getDayRange0%
fromEnv0%
resetDbStructure0%
generateMigration0%
printDbBackup0%
dumpDb0%
sendEmailVerificationEmail0%
getRandomEmailVerificationToken0%
getImapClient0%
buildOlzEmail0%
getUserAddress0%
getComparableEmail0%
getComparableEnvelope0%
arr2str0%
send0%
encryptEmailReactionToken0%
decryptEmailReactionToken0%
renderMarkdown0%
generateSpamEmailAddress0%
isSpamEmailAddress0%
obfuscateEmail0%
getPageAndTimeBasedRandomInt0%
createOlzEntity0%
updateOlzEntity0%
canUpdateOlzEntity0%
olzEntityClasses0%
setPrivatePath0%
setDataPath0%
getSyslogPath0%
getAppEnv0%
getMysqlHost0%
getMysqlPort0%
getMysqlServer0%
getMysqlUsername0%
getMysqlPassword0%
getMysqlSchema0%
hasUnlimitedCron0%
getDateUtilsClassName0%
getDateUtilsClassArgs0%
getDatabaseBackupKey0%
getEmailReactionKey0%
getIdEncryptionKey0%
getCronAuthenticityCode0%
getStravaClientId0%
getStravaClientSecret0%
getTelegramBotName0%
getTelegramBotToken0%
getTelegramAuthenticityCode0%
getImapHost0%
getImapPort0%
getImapFlags0%
getImapUsername0%
getImapPassword0%
getSmtpHost0%
getSmtpPort0%
getSmtpUsername0%
getSmtpPassword0%
getSmtpSecure0%
getSmtpDebug0%
getSmtpFrom0%
getEmailForwardingHost0%
getAppSearchEnginesUsername0%
getAppSearchEnginesPassword0%
getAppMonitoringUsername0%
getAppMonitoringPassword0%
getAppStatisticsUsername0%
getAppStatisticsPassword0%
computeDataPath0%
computePrivatePath0%
fromEnv0%
checkNotNull0%
checkNotFalse0%
checkNotBool0%
checkNotEmpty0%
getCheckErrorMessage0%
escape0%
unescape0%
base64EncodeUrl0%
base64DecodeUrl0%
encrypt0%
getRandomIvForAlgo0%
decrypt0%
hash0%
binarySearch0%
getPrettyTrace0%
getTraceOverview0%
measureLatency0%
removeRecursive0%
renderMarkdown0%
postprocess0%
replaceEmailAdresses0%
getImageSrcHtml0%
getPrefix0%
getSubject0%
getSuffix0%
escapeDollar0%
countRequest0%
stripParams0%
validateGetParams0%
toExternalId0%
serializeId0%
encryptId0%
toInternalId0%
decryptId0%
deserializeId0%
crc160%
olzImage0%
getThumbSize0%
generateThumbnails0%
getThumbFile0%
WGStoCHy0%
WGStoCHx0%
CHtoWGSlat0%
CHtoWGSlng0%
DECtoSEX0%
__invoke0%
protectTokens0%
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%
getAll0%
setAll0%
get0%
set0%
reset0%
authUtils0%
setAuthUtils0%
dateUtils0%
setDateUtils0%
dbUtils0%
setDbUtils0%
devDataUtils0%
setDevDataUtils0%
emailUtils0%
setEmailUtils0%
entityManager0%
setEntityManager0%
entityUtils0%
setEntityUtils0%
envUtils0%
setEnvUtils0%
generalUtils0%
setGeneralUtils0%
htmlUtils0%
setHtmlUtils0%
httpUtils0%
setHttpUtils0%
idUtils0%
setIdUtils0%
imageUtils0%
setImageUtils0%
log0%
setLog0%
mailer0%
setMailer0%
mapUtils0%
setMapUtils0%
messageBus0%
setMessageBus0%
session0%
setSession0%
stravaUtils0%
setStravaUtils0%
symfonyUtils0%
setSymfonyUtils0%
telegramUtils0%
setTelegramUtils0%
uploadUtils0%
setUploadUtils0%
setGetParams0%
setServer0%
getDb13%
mkimg21%
getApplication25%
checkNotNull50%
getCurrentDateInFormat53%
callCommand72%
getEntityManager75%
resetDbContent75%
tmpdir75%
getConfigPath75%
isBot75%
isEInk75%
addDbStructure84%
addDbContent86%
fullResetDb87%
lazyInit88%

Project Risks

Method CRAP
getThumbFile272
printDbBackup110
olzImage110
formatDateTimeRange90
replaceEmailAdresses90
callTelegramApi90
overwriteUploads90
isUsernameUnique72
binarySearch72
removeRecursive72
linkStrava72
validateAccessToken56
resolveUsernameOrEmail56
getRolePermissionMap56
hasRoleEditPermission56
getTraceOverview56
getAccessToken56
mkimg47
authenticate42
getUserPermissionMap42
canUpdateOlzEntity42
stripParams42
validateGetParams42
getStoredUploadIds42
getTokenUser30
sanitizeDatetimeValue30
sanitizeDateValue30
updateOlzEntity30
computeDataPath30
computePrivatePath30
encrypt30
countRequest30
protectTokens30
resetConfigure30
hasPermission20
getUserByUsername20
getTimestamp20
parseDateTimeRange20
buildOlzEmail20
obfuscateEmail20
createOlzEntity20
getPrettyTrace20
generateThumbnails20
__invoke20
linkUserUsingPin20
generateUniqueTelegramPin20
getValidUploadIds20
getValidUploadId20
editUploads20
getCurrentDateInFormat14
getAuthenticatedRoles12
isRoleIdAuthenticated12
getUserAvatar12
send12
isSpamEmailAddress12
getCheckErrorMessage12
getRandomIvForAlgo12
decrypt12
getImageSrcHtml12
serializeId12
getThumbSize12
callStravaApi12
linkChatUsingPin12
sendConfiguration12
deobfuscateUpload12
getDb8
getApplication6
addDbStructure6
addDbContent6
hasUserPermission6
hasRolePermission6
getCurrentUser6
isUsernameAllowed6
resetDbStructure6
sendEmailVerificationEmail6
getUserAddress6
getComparableEmail6
getComparableEnvelope6
decryptEmailReactionToken6
generateSpamEmailAddress6
checkNotNull6
checkNotFalse6
checkNotBool6
checkNotEmpty6
deserializeId6
crc166
getRegistrationUrl6
fetchTokenDataForCode6
startAnonymousChat6
startChatForUser6
getFreshPinForChat6
generateTelegramPin6
isAnonymousChat6
getChatState6
setChatState6
fetchTelegramApi6
obfuscateForUpload6
isUploadId6
getExtension6
getRandomUploadId6
lazyInit5
callCommand4
getEntityManager4
getConfigPath3
isBot3
isEInk3
checkNotNull2
resetDbContent2
tmpdir2
fullResetDb2