Skip to content

Commit 69a923d

Browse files
Fix pre-merge checks in PR #225
1 parent 799d099 commit 69a923d

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎report/src/main/java/org/hjug/refactorfirst/report/HtmlReport.java‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,11 @@ String buildClassGraphDot(
594594
return toJavaScriptTemplateLiteral(buildRawClassGraphDot(classGraph, repoUrl, codebaseGraphDTO));
595595
}
596596

597+
/**
598+
* Appends class DOT nodes, omitting sink-only anonymous or synthetic vertices and labels that
599+
* match their node IDs. Includes source-link attributes supplied by the report and highlights
600+
* classes selected for removal.
601+
*/
597602
private void renderClassVertices(
598603
Graph<String, DefaultWeightedEdge> classGraph,
599604
String repoUrl,

‎report/src/test/java/org/hjug/refactorfirst/report/HtmlReportKotlinTest.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
*/
5454
class HtmlReportKotlinTest {
5555

56+
/** Verifies cycle DOT preserves Kotlin source links and edge weights while omitting redundant labels. */
5657
@DisplayName("HtmlReport.buildClassCycleDot emits .kt URLs from Kotlin source-path mapping")
5758
@Test
5859
void buildClassCycleDot_kotlinSourcePaths() {

‎report/src/test/java/org/hjug/refactorfirst/report/HtmlReportTest.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ void getDescription() {
3838
mavenReport.getDescription(Locale.getDefault()));
3939
}
4040

41+
/** Verifies cycle DOT preserves Java source links and edge weights while omitting redundant labels. */
4142
@Test
4243
void buildClassCycleDot() {
4344
Graph<String, DefaultWeightedEdge> classGraph = new DefaultDirectedWeightedGraph<>(DefaultWeightedEdge.class);

0 commit comments

Comments
 (0)