Skip to content

Commit 92f916d

Browse files
Merge pull request #42 from chriswininger/add-full-path-json-report
add full path to json report
2 parents 3aea678 + cfdddd2 commit 92f916d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

refactor-first-maven-plugin/src/main/java/org/hjug/mavenreport/RefactorFirstJsonReport/JsonReportDisharmonyEntry.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class JsonReportDisharmonyEntry {
2929

3030
private final String mostRecentCommitTime;
3131

32+
private final String fullPath;
33+
3234
public static JsonReportDisharmonyEntry fromRankedDisharmony(RankedDisharmony entry) {
3335
return JsonReportDisharmonyEntry.builder()
3436
.className(entry.getClassName())
@@ -38,6 +40,7 @@ public static JsonReportDisharmonyEntry fromRankedDisharmony(RankedDisharmony en
3840
.weightedMethodCount(entry.getWmc())
3941
.commitCount(entry.getCommitCount())
4042
.mostRecentCommitTime(formatter.format(entry.getMostRecentCommitTime()))
43+
.fullPath(entry.getPath())
4144
.build();
4245
}
4346
}

0 commit comments

Comments
 (0)