You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the following to your project in the reports section:
37
+
Add the following to your project in the reports section.
38
+
Not supported as of Version 0.2.0 due to CVE-2020-13936
34
39
```xml
35
40
<reporting>
36
41
<plugins>
@@ -46,7 +51,7 @@ Add the following to your project in the reports section:
46
51
```
47
52
48
53
## Viewing the Report
49
-
Once the plugin is finished executing (it may take a while for a large / old codebase), open the file **target/site/refactor-first-report.html** in the root of the project. It will contain a graph similar to the one above, and a table that lists God classes in the recommended order that they should be refactored. The classes in the top left of the graph are the easiest to refactor while also having the biggest positive impact to team productivity.
54
+
Once the plugin finishes executing (it may take a while for a large / old codebase), open the file **target/site/refactor-first-report.html** in the root of the project. It will contain a graph similar to the one above, and a table that lists God classes in the recommended order that they should be refactored. The classes in the top left of the graph are the easiest to refactor while also having the biggest positive impact to team productivity.
50
55
51
56
52
57
## Additional Details
@@ -55,8 +60,6 @@ This plugin will work on both single module and multi-module Maven projects that
55
60
This tool is based on the paper **[Prioritizing Design Debt Investment Opportunities](https://dl.acm.org/doi/10.1145/1985362.1985372)** by Nico Zazworka, Carolyn Seaman, and Forrest Shull
56
61
57
62
## Limitations
58
-
* This plugin has only been confirmed to work with Java 8 projects at this time.
59
-
* There isn't much logging (yet).
60
63
* My time. This is a passion project and has been done in my spare time.
61
64
62
65
## Feedback and Collaboration Welcome
@@ -66,12 +69,12 @@ If you find this plugin useful, please star this repository and share with your
66
69
## Future Plans
67
70
* Improve logging.
68
71
* Move from JUnit 4 to Junit 5. Junit 5 is lacking the support for temporary files that JUnit 4 provides.
69
-
* Use Maven's Guice to autowire dependencies.
70
72
* Add a Gradle plugin.
71
73
* Incorporate Unit Test coverage metrics to quickly identify the safety of refactoring a God class.
72
74
* Incorporate bug counts per God class to the Impact (Y-Axis) calculation.
73
75
* Incorporate more disharmonies from Object Oriented Metrics In Practice (Lanza and Marinescu, 2004).
74
-
* Support Java 11
75
76
77
+
## Note:
78
+
If you are a user of Version 0.1.0 or 0.1.1, you may notice that the list of God classes found by the plugin has changed. This is due to changes in PMD.
0 commit comments