PMD Results
The following document contains the results of PMD 7.0.0.
Violations By Priority
Priority 3
org/newsclub/net/unix/AFAddressFamily.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 103–105 |
EmptyCatchBlock | Avoid empty catch blocks | 147–149 |
org/newsclub/net/unix/AFCore.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 70–72 |
CollapsibleIfStatements | This if statement could be combined with its parent | 108–110 |
org/newsclub/net/unix/AFDatagramSocket.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 259–261 |
CollapsibleIfStatements | This if statement could be combined with its parent | 259–261 |
EmptyCatchBlock | Avoid empty catch blocks | 263–265 |
EmptyCatchBlock | Avoid empty catch blocks | 287–289 |
EmptyControlStatement | Empty if statement | 291–295 |
EmptyControlStatement | Empty if statement | 310–315 |
EmptyCatchBlock | Avoid empty catch blocks | 359–361 |
org/newsclub/net/unix/AFDatagramSocketImpl.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 447–449 |
EmptyCatchBlock | Avoid empty catch blocks | 453–455 |
org/newsclub/net/unix/AFGenericSocketAddress.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 193–195 |
org/newsclub/net/unix/AFSYSTEMSocketAddress.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 305–307 |
org/newsclub/net/unix/AFSelector.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty else statement | 299–301 |
EmptyCatchBlock | Avoid empty catch blocks | 324–327 |
org/newsclub/net/unix/AFServerSocket.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 510–512 |
org/newsclub/net/unix/AFSocket.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 500–502 |
org/newsclub/net/unix/AFSocketAddress.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 398–411 |
CollapsibleIfStatements | This if statement could be combined with its parent | 399–410 |
org/newsclub/net/unix/AFSocketCore.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 138–140 |
org/newsclub/net/unix/AFSocketImpl.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 121–123 |
EmptyCatchBlock | Avoid empty catch blocks | 127–129 |
EmptyCatchBlock | Avoid empty catch blocks | 130–132 |
EmptyCatchBlock | Avoid empty catch blocks | 137–139 |
EmptyCatchBlock | Avoid empty catch blocks | 264–266 |
EmptyCatchBlock | Avoid empty catch blocks | 270–272 |
EmptyCatchBlock | Avoid empty catch blocks | 804–806 |
EmptyCatchBlock | Avoid empty catch blocks | 809–811 |
EmptyCatchBlock | Avoid empty catch blocks | 824–826 |
org/newsclub/net/unix/AFTIPCSocketAddress.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 680–682 |
org/newsclub/net/unix/AFUNIXSocket.java
Rule | Violation | Line |
---|---|---|
UnnecessaryReturn | Unnecessary return statement | 255 |
org/newsclub/net/unix/AFUNIXSocketAddress.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 438–442 |
org/newsclub/net/unix/AFVSOCKSocketAddress.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 389–391 |
org/newsclub/net/unix/AncillaryDataSupport.java
Rule | Violation | Line |
---|---|---|
UnnecessaryReturn | Unnecessary return statement | 92 |
EmptyCatchBlock | Avoid empty catch blocks | 137–139 |
EmptyCatchBlock | Avoid empty catch blocks | 204–206 |
org/newsclub/net/unix/HostAndPort.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 207–209 |
org/newsclub/net/unix/MapValueSet.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 169–171 |
org/newsclub/net/unix/NativeLibraryLoader.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 321–323 |
org/newsclub/net/unix/NativeUnixSocket.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 153–155 |
org/newsclub/net/unix/RAFChannelProvider.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 47–49 |
EmptyControlStatement | Empty if statement | 76–78 |
Priority 4
org/newsclub/net/unix/AFAddressFamily.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFAddressFamily': 'triggerInit' is already in scope | 124 |
org/newsclub/net/unix/AFGenericSocketAddress.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 153 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFGenericSocketAddress': 'of' is already in scope | 173 |
org/newsclub/net/unix/AFPipe.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.channels': 'Pipe' is already in scope because it is imported in this file | 89 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.channels': 'Pipe' is already in scope because it is imported in this file | 133 |
org/newsclub/net/unix/AFSYSTEMSocketAddress.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 251 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSYSTEMSocketAddress': 'of' is already in scope | 285 |
org/newsclub/net/unix/AFServerSocket.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 629 |
UselessParentheses | Useless parentheses. | 629 |
org/newsclub/net/unix/AFSocket.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 396 |
UselessParentheses | Useless parentheses. | 401 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 458 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 599 |
org/newsclub/net/unix/AFSocketAddress.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'newSockAddrDirectBuffer' is already in scope | 81 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'craftSerializedObject' is already in scope | 202 |
UselessParentheses | Useless parentheses. | 203–204 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'unwrap' is already in scope | 383 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 570 |
UselessParentheses | Useless parentheses. | 845 |
org/newsclub/net/unix/AFSocketImpl.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 393 |
UselessParentheses | Useless parentheses. | 475 |
UselessParentheses | Useless parentheses. | 561 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 676 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 688 |
UselessParentheses | Useless parentheses. | 690 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 695 |
UselessParentheses | Useless parentheses. | 696 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 697 |
UselessParentheses | Useless parentheses. | 704 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 705 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 706 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 707 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 709 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_BINDADDR' is already in scope because it is inherited by an enclosing type | 711 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 713 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 734 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 755 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 756 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 776 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 788 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 800 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 817 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 818 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 821 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 828 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 831 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 834 |
UselessParentheses | Useless parentheses. | 866 |
UselessParentheses | Useless parentheses. | 879 |
org/newsclub/net/unix/AFTIPCSocketAddress.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 200 |
UselessParentheses | Useless parentheses. | 629 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFTIPCSocketAddress': 'of' is already in scope | 660 |
org/newsclub/net/unix/AFUNIXSocket.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 167 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocket': 'isSupported' is already in scope | 182 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 187 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 190 |
org/newsclub/net/unix/AFUNIXSocketAddress.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'of' is already in scope | 66 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 182 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'of' is already in scope | 387 |
UselessParentheses | Useless parentheses. | 533 |
org/newsclub/net/unix/AFVSOCKSocketAddress.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 340 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFVSOCKSocketAddress': 'of' is already in scope | 369 |
UselessParentheses | Useless parentheses. | 516 |
UselessParentheses | Useless parentheses. | 529 |
org/newsclub/net/unix/NativeLibraryLoader.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 445 |
org/newsclub/net/unix/NativeUnixSocket.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_GENERIC' is already in scope because it is declared in an enclosing type | 101 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_UNIX' is already in scope because it is declared in an enclosing type | 103 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_TIPC' is already in scope because it is declared in an enclosing type | 105 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_VSOCK' is already in scope because it is declared in an enclosing type | 107 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_SYSTEM' is already in scope because it is declared in an enclosing type | 109 |
Files
org/newsclub/net/unix/AFAddressFamily.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 103–105 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFAddressFamily': 'triggerInit' is already in scope | 4 | 124 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 147–149 |
org/newsclub/net/unix/AFCore.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 70–72 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 108–110 |
org/newsclub/net/unix/AFDatagramSocket.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 259–261 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 259–261 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 263–265 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 287–289 |
EmptyControlStatement | Empty if statement | 3 | 291–295 |
EmptyControlStatement | Empty if statement | 3 | 310–315 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 359–361 |
org/newsclub/net/unix/AFDatagramSocketImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 447–449 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 453–455 |
org/newsclub/net/unix/AFGenericSocketAddress.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 153 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFGenericSocketAddress': 'of' is already in scope | 4 | 173 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 193–195 |
org/newsclub/net/unix/AFPipe.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.channels': 'Pipe' is already in scope because it is imported in this file | 4 | 89 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.channels': 'Pipe' is already in scope because it is imported in this file | 4 | 133 |
org/newsclub/net/unix/AFSYSTEMSocketAddress.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 251 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSYSTEMSocketAddress': 'of' is already in scope | 4 | 285 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 305–307 |
org/newsclub/net/unix/AFSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty else statement | 3 | 299–301 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 324–327 |
org/newsclub/net/unix/AFServerSocket.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 510–512 |
UselessParentheses | Useless parentheses. | 4 | 629 |
UselessParentheses | Useless parentheses. | 4 | 629 |
org/newsclub/net/unix/AFSocket.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 396 |
UselessParentheses | Useless parentheses. | 4 | 401 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 458 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 500–502 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 599 |
org/newsclub/net/unix/AFSocketAddress.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'newSockAddrDirectBuffer' is already in scope | 4 | 81 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'craftSerializedObject' is already in scope | 4 | 202 |
UselessParentheses | Useless parentheses. | 4 | 203–204 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'unwrap' is already in scope | 4 | 383 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 398–411 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 399–410 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 4 | 570 |
UselessParentheses | Useless parentheses. | 4 | 845 |
org/newsclub/net/unix/AFSocketCore.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 138–140 |
org/newsclub/net/unix/AFSocketImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 121–123 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 127–129 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 130–132 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 137–139 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 264–266 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 270–272 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 4 | 393 |
UselessParentheses | Useless parentheses. | 4 | 475 |
UselessParentheses | Useless parentheses. | 4 | 561 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 676 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 4 | 688 |
UselessParentheses | Useless parentheses. | 4 | 690 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 695 |
UselessParentheses | Useless parentheses. | 4 | 696 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 4 | 697 |
UselessParentheses | Useless parentheses. | 4 | 704 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 4 | 705 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 4 | 706 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 4 | 707 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 4 | 709 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_BINDADDR' is already in scope because it is inherited by an enclosing type | 4 | 711 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 713 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 734 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 755 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 4 | 756 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 776 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 4 | 788 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 4 | 800 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 804–806 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 809–811 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 4 | 817 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 4 | 818 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 4 | 821 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 824–826 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 828 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 4 | 831 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 834 |
UselessParentheses | Useless parentheses. | 4 | 866 |
UselessParentheses | Useless parentheses. | 4 | 879 |
org/newsclub/net/unix/AFTIPCSocketAddress.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 200 |
UselessParentheses | Useless parentheses. | 4 | 629 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFTIPCSocketAddress': 'of' is already in scope | 4 | 660 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 680–682 |
org/newsclub/net/unix/AFUNIXSocket.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 167 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocket': 'isSupported' is already in scope | 4 | 182 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 187 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocket': 'supports' is already in scope | 4 | 190 |
UnnecessaryReturn | Unnecessary return statement | 3 | 255 |
org/newsclub/net/unix/AFUNIXSocketAddress.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'of' is already in scope | 4 | 66 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 4 | 182 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'of' is already in scope | 4 | 387 |
EmptyControlStatement | Empty if statement | 3 | 438–442 |
UselessParentheses | Useless parentheses. | 4 | 533 |
org/newsclub/net/unix/AFVSOCKSocketAddress.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 340 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFVSOCKSocketAddress': 'of' is already in scope | 4 | 369 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 389–391 |
UselessParentheses | Useless parentheses. | 4 | 516 |
UselessParentheses | Useless parentheses. | 4 | 529 |
org/newsclub/net/unix/AncillaryDataSupport.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryReturn | Unnecessary return statement | 3 | 92 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 137–139 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 204–206 |
org/newsclub/net/unix/HostAndPort.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 207–209 |
org/newsclub/net/unix/MapValueSet.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 169–171 |
org/newsclub/net/unix/NativeLibraryLoader.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 321–323 |
UselessParentheses | Useless parentheses. | 4 | 445 |
org/newsclub/net/unix/NativeUnixSocket.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_GENERIC' is already in scope because it is declared in an enclosing type | 4 | 101 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_UNIX' is already in scope because it is declared in an enclosing type | 4 | 103 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_TIPC' is already in scope because it is declared in an enclosing type | 4 | 105 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_VSOCK' is already in scope because it is declared in an enclosing type | 4 | 107 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'NativeUnixSocket': 'DOMAIN_SYSTEM' is already in scope because it is declared in an enclosing type | 4 | 109 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 153–155 |
org/newsclub/net/unix/RAFChannelProvider.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 47–49 |
EmptyControlStatement | Empty if statement | 3 | 76–78 |
Suppressed Violations
Filename | Rule message | Suppression type | Reason |
---|---|---|---|
org/newsclub/net/unix/AFDatagramSocket.java | This if statement could be combined with its parent | //nopmd | |
org/newsclub/net/unix/AFGenericSocket.java | Avoid unused private methods such as 'getStaticImplExtensions()'. | @suppresswarnings | |
org/newsclub/net/unix/AFGenericSocketImplExtensions.java | Avoid unused constructor parameters such as 'ancillaryDataSupport'. | @suppresswarnings | |
org/newsclub/net/unix/AFSYSTEMSocketImplExtensions.java | Avoid unused constructor parameters such as 'ancillaryDataSupport'. | @suppresswarnings | |
org/newsclub/net/unix/AFSocketAddress.java | Avoid unused constructor parameters such as 'clazz'. | @suppresswarnings | |
org/newsclub/net/unix/NativeLibraryLoader.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop |
Processing Errors
Filename | Problem |
---|---|
module-info.java | ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-common/src/main/java/module-info.java' at line 5, column 1: Module declarations are a feature of Java 9, you should select your language version accordingly
net.sourceforge.pmd.lang.ast.ParseException: Parse exception in file '/Users/ck/Entwicklung/workspace/junixsocket/junixsocket-common/src/main/java/module-info.java' at line 5, column 1: Module declarations are a feature of Java 9, you should select your language version accordingly at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:55) at net.sourceforge.pmd.lang.java.ast.internal.ReportingStrategy$1.report(ReportingStrategy.java:42) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:100) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.access$300(LanguageLevelChecker.java:67) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:643) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker$CheckVisitor.visit(LanguageLevelChecker.java:411) at net.sourceforge.pmd.lang.java.ast.ASTModuleDeclaration.acceptVisitor(ASTModuleDeclaration.java:32) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.lambda$check$0(LanguageLevelChecker.java:93) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at net.sourceforge.pmd.lang.ast.internal.IteratorBasedNStream.forEach(IteratorBasedNStream.java:102) at net.sourceforge.pmd.lang.java.ast.internal.LanguageLevelChecker.check(LanguageLevelChecker.java:93) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:66) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1570) |