LCOV - code coverage report
Current view:
top level
-
server/notedb
- ChangeUpdate.java
(
source
/ functions)
Hit
Total
Coverage
Test:
_coverage_report.dat
Lines:
517
531
97.4 %
Date:
2022-11-19 15:00:39
Functions:
97
98
99.0 %
Function Name
Hit count
com/google/gerrit/server/notedb/ChangeUpdate::<init> (Lorg/eclipse/jgit/lib/PersonIdent;Lcom/google/gerrit/server/notedb/NoteDbUpdateManager$Factory;Lcom/google/gerrit/server/notedb/ChangeDraftUpdate$Factory;Lcom/google/gerrit/server/notedb/RobotCommentUpdate$Factory;Lcom/google/gerrit/server/notedb/DeleteCommentRewriter$Factory;Lcom/google/gerrit/server/account/ServiceUserClassifier;Lcom/google/gerrit/server/approval/PatchSetApprovalUuidGenerator;Lcom/google/gerrit/server/notedb/ChangeNotes;Lcom/google/gerrit/server/CurrentUser;Ljava/time/Instant;Ljava/util/Comparator;Lcom/google/gerrit/server/notedb/ChangeNoteUtil;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::<init> (Lorg/eclipse/jgit/lib/PersonIdent;Lcom/google/gerrit/server/notedb/NoteDbUpdateManager$Factory;Lcom/google/gerrit/server/notedb/ChangeDraftUpdate$Factory;Lcom/google/gerrit/server/notedb/RobotCommentUpdate$Factory;Lcom/google/gerrit/server/notedb/DeleteCommentRewriter$Factory;Lcom/google/gerrit/server/project/ProjectCache;Lcom/google/gerrit/server/account/ServiceUserClassifier;Lcom/google/gerrit/server/approval/PatchSetApprovalUuidGenerator;Lcom/google/gerrit/server/notedb/ChangeNotes;Lcom/google/gerrit/server/CurrentUser;Ljava/time/Instant;Lcom/google/gerrit/server/notedb/ChangeNoteUtil;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::addAllReviewersToAttentionSet ()V
103
com/google/gerrit/server/notedb/ChangeUpdate::addCopiedLabelFooter (Ljava/lang/StringBuilder;Lcom/google/gerrit/entities/PatchSetApproval;)V
13
com/google/gerrit/server/notedb/ChangeUpdate::addFooter (Ljava/lang/StringBuilder;Lorg/eclipse/jgit/revwalk/FooterKey;)Ljava/lang/StringBuilder;
103
com/google/gerrit/server/notedb/ChangeUpdate::addFooter (Ljava/lang/StringBuilder;Lorg/eclipse/jgit/revwalk/FooterKey;[Ljava/lang/Object;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::addLabelFooter (Ljava/lang/StringBuilder;Lcom/google/common/collect/Table$Cell;)V
68
com/google/gerrit/server/notedb/ChangeUpdate::addPatchSetFooter (Ljava/lang/StringBuilder;Lcom/google/gerrit/entities/PatchSet$Id;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::addToPlannedAttentionSetUpdates (Lcom/google/gerrit/entities/AttentionSetUpdate;)V
70
com/google/gerrit/server/notedb/ChangeUpdate::addToPlannedAttentionSetUpdates (Ljava/util/Set;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::allowWriteToNewRef ()Z
103
com/google/gerrit/server/notedb/ChangeUpdate::applyImpl (Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ObjectInserter;Lorg/eclipse/jgit/lib/ObjectId;)Lorg/eclipse/jgit/lib/CommitBuilder;
103
com/google/gerrit/server/notedb/ChangeUpdate::applyReviewerUpdatesToAttentionSet ()V
103
com/google/gerrit/server/notedb/ChangeUpdate::approvals (Ljava/util/Comparator;)Lcom/google/common/collect/Table;
103
com/google/gerrit/server/notedb/ChangeUpdate::bypassMaxUpdates ()Z
2
com/google/gerrit/server/notedb/ChangeUpdate::checkComments (Ljava/util/Map;Ljava/util/Map;)V
64
com/google/gerrit/server/notedb/ChangeUpdate::clearAttentionSet (Ljava/lang/String;)V
59
com/google/gerrit/server/notedb/ChangeUpdate::commit ()Lorg/eclipse/jgit/lib/ObjectId;
2
com/google/gerrit/server/notedb/ChangeUpdate::createDraftUpdateIfNull ()Lcom/google/gerrit/server/notedb/ChangeDraftUpdate;
29
com/google/gerrit/server/notedb/ChangeUpdate::createRobotCommentUpdateIfNull ()V
9
com/google/gerrit/server/notedb/ChangeUpdate::deleteChangeMessageByRewritingHistory (Ljava/lang/String;Ljava/lang/String;)V
1
com/google/gerrit/server/notedb/ChangeUpdate::deleteComment (Lcom/google/gerrit/entities/HumanComment;)V
10
com/google/gerrit/server/notedb/ChangeUpdate::deleteCommentByRewritingHistory (Ljava/lang/String;Ljava/lang/String;)V
3
com/google/gerrit/server/notedb/ChangeUpdate::doesNotHaveChangesAffectingAttentionSet ()Z
1
com/google/gerrit/server/notedb/ChangeUpdate::fixStatusToMerged (Lcom/google/gerrit/entities/SubmissionId;)V
16
com/google/gerrit/server/notedb/ChangeUpdate::getApprovals ()Lcom/google/common/collect/ImmutableTable;
7
com/google/gerrit/server/notedb/ChangeUpdate::getAttentionSetUpdates ()Lcom/google/common/collect/ImmutableList;
103
com/google/gerrit/server/notedb/ChangeUpdate::getCommit ()Lorg/eclipse/jgit/lib/ObjectId;
1
com/google/gerrit/server/notedb/ChangeUpdate::getDeleteChangeMessageRewriter ()Lcom/google/gerrit/server/notedb/DeleteChangeMessageRewriter;
103
com/google/gerrit/server/notedb/ChangeUpdate::getDeleteCommentRewriter ()Lcom/google/gerrit/server/notedb/DeleteCommentRewriter;
103
com/google/gerrit/server/notedb/ChangeUpdate::getDraftUpdate ()Lcom/google/gerrit/server/notedb/ChangeDraftUpdate;
103
com/google/gerrit/server/notedb/ChangeUpdate::getProjectName ()Lcom/google/gerrit/entities/Project$NameKey;
103
com/google/gerrit/server/notedb/ChangeUpdate::getRefName ()Ljava/lang/String;
103
com/google/gerrit/server/notedb/ChangeUpdate::getReviewers ()Ljava/util/Map;
42
com/google/gerrit/server/notedb/ChangeUpdate::getRevisionNoteMap (Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ObjectId;)Lcom/google/gerrit/server/notedb/RevisionNoteMap;
64
com/google/gerrit/server/notedb/ChangeUpdate::getRobotCommentUpdate ()Lcom/google/gerrit/server/notedb/RobotCommentUpdate;
103
com/google/gerrit/server/notedb/ChangeUpdate::ignoreFurtherAttentionSetUpdates ()V
5
com/google/gerrit/server/notedb/ChangeUpdate::isAbandonChange ()Z
2
com/google/gerrit/server/notedb/ChangeUpdate::isActiveOnChange (Ljava/util/Set;Lcom/google/gerrit/entities/Account$Id;)Z
52
com/google/gerrit/server/notedb/ChangeUpdate::isAttentionSetChangeOnly ()Z
2
com/google/gerrit/server/notedb/ChangeUpdate::isEmpty ()Z
103
com/google/gerrit/server/notedb/ChangeUpdate::isEmptyWithoutAttentionSet ()Z
103
com/google/gerrit/server/notedb/ChangeUpdate::isIllegalTopic (Ljava/lang/String;)Z
103
com/google/gerrit/server/notedb/ChangeUpdate::lambda$addAllReviewersToAttentionSet$5 (Lcom/google/gerrit/entities/Account$Id;)Lcom/google/gerrit/entities/AttentionSetUpdate;
7
com/google/gerrit/server/notedb/ChangeUpdate::lambda$addToPlannedAttentionSetUpdates$0 (Lcom/google/gerrit/entities/AttentionSetUpdate;)Z
74
com/google/gerrit/server/notedb/ChangeUpdate::lambda$addToPlannedAttentionSetUpdates$1 (Ljava/util/Set;Lcom/google/gerrit/entities/AttentionSetUpdate;)Z
74
com/google/gerrit/server/notedb/ChangeUpdate::lambda$addToPlannedAttentionSetUpdates$2 (Lcom/google/gerrit/entities/AttentionSetUpdate;)V
74
com/google/gerrit/server/notedb/ChangeUpdate::lambda$clearAttentionSet$4 (Ljava/lang/String;Lcom/google/gerrit/entities/AttentionSetUpdate;)Lcom/google/gerrit/entities/AttentionSetUpdate;
28
com/google/gerrit/server/notedb/ChangeUpdate::lambda$removeInactiveUsersFromAttentionSet$10 (Lcom/google/gerrit/entities/AttentionSetUpdate;)Z
44
com/google/gerrit/server/notedb/ChangeUpdate::lambda$removeInactiveUsersFromAttentionSet$11 (Lcom/google/gerrit/entities/AttentionSetUpdate;)Lcom/google/gerrit/entities/Account$Id;
44
com/google/gerrit/server/notedb/ChangeUpdate::lambda$removeInactiveUsersFromAttentionSet$12 (Lcom/google/gerrit/entities/Account$Id;)Z
44
com/google/gerrit/server/notedb/ChangeUpdate::lambda$removeInactiveUsersFromAttentionSet$13 (Ljava/util/Set;Lcom/google/gerrit/entities/Account$Id;)Z
44
com/google/gerrit/server/notedb/ChangeUpdate::lambda$removeInactiveUsersFromAttentionSet$14 (Lcom/google/gerrit/entities/Account$Id;)Lcom/google/gerrit/entities/AttentionSetUpdate;
10
com/google/gerrit/server/notedb/ChangeUpdate::lambda$storeRevisionNotes$3 (Lcom/google/gerrit/server/notedb/RevisionNoteBuilder$Cache;Lorg/eclipse/jgit/lib/ObjectId;)V
2
com/google/gerrit/server/notedb/ChangeUpdate::lambda$updateAttentionSet$6 (Ljava/util/Map$Entry;)Z
75
com/google/gerrit/server/notedb/ChangeUpdate::lambda$updateAttentionSet$7 (Ljava/util/Map$Entry;)Lcom/google/gerrit/entities/Account$Id;
75
com/google/gerrit/server/notedb/ChangeUpdate::lambda$updateAttentionSet$8 (Ljava/util/Map$Entry;)Z
75
com/google/gerrit/server/notedb/ChangeUpdate::lambda$updateAttentionSet$9 (Ljava/util/Map$Entry;)Lcom/google/gerrit/entities/Account$Id;
17
com/google/gerrit/server/notedb/ChangeUpdate::merge (Lcom/google/gerrit/entities/SubmissionId;Ljava/lang/Iterable;)V
55
com/google/gerrit/server/notedb/ChangeUpdate::putApproval (Ljava/lang/String;S)V
68
com/google/gerrit/server/notedb/ChangeUpdate::putApprovalFor (Lcom/google/gerrit/entities/Account$Id;Ljava/lang/String;S)V
68
com/google/gerrit/server/notedb/ChangeUpdate::putComment (Lcom/google/gerrit/entities/Comment$Status;Lcom/google/gerrit/entities/HumanComment;)V
29
com/google/gerrit/server/notedb/ChangeUpdate::putCopiedApproval (Lcom/google/gerrit/entities/PatchSetApproval;)V
13
com/google/gerrit/server/notedb/ChangeUpdate::putReviewer (Lcom/google/gerrit/entities/Account$Id;Lcom/google/gerrit/server/notedb/ReviewerStateInternal;)V
75
com/google/gerrit/server/notedb/ChangeUpdate::putReviewerByEmail (Lcom/google/gerrit/entities/Address;Lcom/google/gerrit/server/notedb/ReviewerStateInternal;)V
11
com/google/gerrit/server/notedb/ChangeUpdate::putRobotComment (Lcom/google/gerrit/entities/RobotComment;)V
9
com/google/gerrit/server/notedb/ChangeUpdate::putSubmitRequirementResults (Ljava/util/Collection;)V
54
com/google/gerrit/server/notedb/ChangeUpdate::removeApproval (Ljava/lang/String;)V
1
com/google/gerrit/server/notedb/ChangeUpdate::removeApprovalFor (Lcom/google/gerrit/entities/Account$Id;Ljava/lang/String;)V
11
com/google/gerrit/server/notedb/ChangeUpdate::removeAssignee ()V
2
com/google/gerrit/server/notedb/ChangeUpdate::removeCopiedApprovalFor (Lcom/google/gerrit/entities/Account$Id;Lcom/google/gerrit/entities/Account$Id;Ljava/lang/String;)V
1
com/google/gerrit/server/notedb/ChangeUpdate::removeInactiveUsersFromAttentionSet (Ljava/util/Set;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::removeReviewer (Lcom/google/gerrit/entities/Account$Id;)V
17
com/google/gerrit/server/notedb/ChangeUpdate::removeReviewerByEmail (Lcom/google/gerrit/entities/Address;)V
8
com/google/gerrit/server/notedb/ChangeUpdate::resetCherryPickOf ()V
2
com/google/gerrit/server/notedb/ChangeUpdate::setAllowWriteToNewRef (Z)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setAssignee (Lcom/google/gerrit/entities/Account$Id;)V
7
com/google/gerrit/server/notedb/ChangeUpdate::setBranch (Ljava/lang/String;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setChangeId (Ljava/lang/String;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setChangeMessage (Ljava/lang/String;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setCherryPickOf (Ljava/lang/String;)V
11
com/google/gerrit/server/notedb/ChangeUpdate::setCommit (Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ObjectId;)V
1
com/google/gerrit/server/notedb/ChangeUpdate::setCommit (Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ObjectId;Ljava/lang/String;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setCurrentPatchSet ()V
12
com/google/gerrit/server/notedb/ChangeUpdate::setGroups (Ljava/util/List;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setHashtags (Ljava/util/Set;)V
9
com/google/gerrit/server/notedb/ChangeUpdate::setPatchSetState (Lcom/google/gerrit/server/notedb/PatchSetState;)V
2
com/google/gerrit/server/notedb/ChangeUpdate::setPrivate (Z)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setPsDescription (Ljava/lang/String;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setRevertOf (I)V
15
com/google/gerrit/server/notedb/ChangeUpdate::setStatus (Lcom/google/gerrit/entities/Change$Status;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setSubject (Ljava/lang/String;)V
0
com/google/gerrit/server/notedb/ChangeUpdate::setSubjectForCommit (Ljava/lang/String;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setTag (Ljava/lang/String;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setTopic (Ljava/lang/String;)V
103
com/google/gerrit/server/notedb/ChangeUpdate::setWorkInProgress (Z)V
103
com/google/gerrit/server/notedb/ChangeUpdate::storeRevisionNotes (Lorg/eclipse/jgit/revwalk/RevWalk;Lorg/eclipse/jgit/lib/ObjectInserter;Lorg/eclipse/jgit/lib/ObjectId;)Lorg/eclipse/jgit/lib/ObjectId;
103
com/google/gerrit/server/notedb/ChangeUpdate::updateAttentionSet (Ljava/lang/StringBuilder;)Z
103
Generated by:
LCOV version 1.16+git.20220603.dfeb750