DataBaseService

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total924 of 9240%56 of 560%97972042046868
addNotification(Object, String, User, User, String)680%40%44252511
addPrivacyNoticeForApp(IoTApp, String)530%40%33101011
changePrivacyNoticeForApp(IoTApp, String)490%40%338811
removeConsensesFromUserAppRelation(UserAppRelation, List)460%80%55111111
removeEverythingFromUser(User)440%20%22111111
DataBaseService(AuthenticatedUser, PasswordEncoder, UserRepository, MessageRepository, IoTAppRepository, UserAppRelationRepository, RightRequestRepository, PrivacyNoticeRepository, NotificationRepository)350%n/a11121211
changeValuesForUser(User, String, String, String)300%60%445511
updateQuestionnaireForApp(IoTApp, GlobalVariables.QuestionnaireVote, String[], Hashtable)300%60%445511
addConsenses(UserAppRelation, List)290%20%226611
removeEverythingFromUserAndApp(User, IoTApp)290%n/a118811
changeRightRequest(RightRequest)230%n/a113311
changeValuesOfRightRequest(RightRequest)230%n/a113311
changeNameAndDescriptionForApp(IoTApp, String, String)220%40%334411
addNowMessage(Message)220%n/a114411
addMessage(Message)190%n/a113311
addRequest(RightRequest)190%n/a113311
getAllContactsFromUserFilterByName(User, String)180%20%223311
getAllContactsFromUser(User)160%20%223311
addUserApp(User, IoTApp)160%n/a115511
deleteAppFromUser(User, IoTApp)160%20%225511
getRequestFromId(UUID)150%20%221111
getConsensesFromUserAndApp(User, IoTApp)130%20%224411
getUserAppsWithVoteByName(User, String)120%n/a113311
getUserAppsWithVote(User)110%n/a113311
userHasApp(User, IoTApp)100%20%221111
addNowNotification(Notification)90%n/a113311
changeIsReadNotification(Notification, boolean)80%n/a112211
removeAllConsenses(UserAppRelation)70%n/a112211
getPendingRequestsFromReceiver(User)70%n/a111111
getHandledRequestsFromReceiver(User)70%n/a111111
getPendingRequestsFromSender(User)70%n/a111111
getHandledRequestsFromSender(User)70%n/a111111
addNowRequest(RightRequest)70%n/a113311
getNewNotificationsFromUser(User)70%n/a111111
getOldNotificationsFromUser(User)70%n/a111111
lambda$getUserAppsWithVoteByName$1(IoTApp)70%20%221111
lambda$getUserAppsWithVote$0(IoTApp)70%20%221111
addUser(User)60%n/a112211
addApp(IoTApp)60%n/a112211
getUserAppRelationByUserAndApp(User, IoTApp)60%n/a111111
getUserAppsByName(User, String)60%n/a111111
getAppsFrom2Users(User, User)60%n/a111111
getControllersFromApp(IoTApp)60%n/a111111
getDPOsFromApp(IoTApp)60%n/a111111
getSubjectsFromApp(IoTApp)60%n/a111111
getConversationFromUsers(User, User)60%n/a111111
getUserConversationFromUserFilterByName(User, String)60%n/a111111
deleteRequest(RightRequest)60%n/a112211
getUserPrivacyNoticeByAppName(User, String)60%n/a111111
addNotification(Notification)60%n/a112211
deleteNotification(Notification)60%n/a112211
getUser(UUID)50%n/a111111
deleteUser(UUID)50%n/a112211
getApp(UUID)50%n/a111111
deleteApp(UUID)50%n/a112211
getUserAppRelation(UUID)50%n/a111111
getUserApps(User)50%n/a111111
getUsersFromApp(IoTApp)50%n/a111111
getMessageFromID(UUID)50%n/a111111
getUserConversationFromUser(User)50%n/a111111
getAllRequestsFromReceiver(User)50%n/a111111
getAllRequestsFromSender(User)50%n/a111111
getPrivacyNoticeFromId(UUID)50%n/a111111
getPrivacyNoticeFromApp(IoTApp)50%n/a111111
getAllPrivacyNoticeFromUser(User)50%n/a111111
deletePrivacyNotice(PrivacyNotice)50%n/a112211
getNotificationFromId(UUID)50%n/a111111
getNotificationsFromUser(User)50%n/a111111