Checkstyle Results
The following document contains the results of Checkstyle 9.3 with /home/tim/dev/FakeSMTP/src/main/config/checkstyle/custom_checks.xml ruleset.
Summary
Files | ![]() |
![]() |
![]() |
---|---|---|---|
55 | 0 | 0 | 10 |
Files
Rules
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | EmptyBlock | 1 | ![]() |
design | DesignForExtension | 4 | ![]() |
imports | AvoidStarImport | 2 | ![]() |
UnusedImports | 1 | ![]() | |
misc | Translation | 1 | ![]() |
modifier | RedundantModifier | 1 | ![]() |
Details
com/nilhcem/fakesmtp/FakeSMTP.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.awt.*. | 3 |
![]() |
imports | UnusedImports | Unused import - com.apple.eawt.Application. | 14 |
com/nilhcem/fakesmtp/core/exception/AbstractPortException.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 19 |
com/nilhcem/fakesmtp/core/exception/InvalidHostException.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Class 'InvalidHostException' looks like designed for extension (can be subclassed), but the method 'getHost' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'InvalidHostException' final or making the method 'getHost' static/final/abstract/empty, or adding allowed annotation for the method. | 24 |
com/nilhcem/fakesmtp/gui/info/StartServerButton.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | AvoidStarImport | Using the '.*' form of import should be avoided - com.nilhcem.fakesmtp.core.exception.*. | 13 |
com/nilhcem/fakesmtp/gui/listeners/AboutActionListener.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Class 'AboutActionListener' looks like designed for extension (can be subclassed), but the method 'actionPerformed' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AboutActionListener' final or making the method 'actionPerformed' static/final/abstract/empty, or adding allowed annotation for the method. | 39 |
com/nilhcem/fakesmtp/gui/listeners/ExitActionListener.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Class 'ExitActionListener' looks like designed for extension (can be subclassed), but the method 'actionPerformed' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ExitActionListener' final or making the method 'actionPerformed' static/final/abstract/empty, or adding allowed annotation for the method. | 26 |
com/nilhcem/fakesmtp/gui/listeners/MainWindowListener.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Class 'MainWindowListener' looks like designed for extension (can be subclassed), but the method 'windowStateChanged' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'MainWindowListener' final or making the method 'windowStateChanged' static/final/abstract/empty, or adding allowed annotation for the method. | 53 |
com/nilhcem/fakesmtp/model/UIModel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | EmptyBlock | Must have at least one statement. | 54 |
i18n
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | Translation | Properties file 'messages.properties' is missing. | 1 |