PMD Results
The following document contains the results of PMD 7.4.0.
Violations By Priority
Priority 3
org/newsclub/net/unix/AFAddressFamily.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 104–106 |
EmptyCatchBlock | Avoid empty catch blocks | 148–150 |
org/newsclub/net/unix/AFCore.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 94–96 |
CollapsibleIfStatements | This if statement could be combined with its parent | 132–134 |
EmptyControlStatement | Empty if statement | 404–408 |
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 | 552–554 |
EmptyCatchBlock | Avoid empty catch blocks | 558–560 |
org/newsclub/net/unix/AFGenericSocketAddress.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 195–197 |
org/newsclub/net/unix/AFSYSTEMSocketAddress.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 306–308 |
org/newsclub/net/unix/AFSelector.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty else statement | 346–348 |
EmptyCatchBlock | Avoid empty catch blocks | 371–374 |
org/newsclub/net/unix/AFServerSocket.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 517–519 |
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 | 401–412 |
org/newsclub/net/unix/AFSocketCore.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 145–147 |
org/newsclub/net/unix/AFSocketImpl.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 115–117 |
EmptyCatchBlock | Avoid empty catch blocks | 137–139 |
EmptyCatchBlock | Avoid empty catch blocks | 143–145 |
EmptyCatchBlock | Avoid empty catch blocks | 146–148 |
EmptyCatchBlock | Avoid empty catch blocks | 153–155 |
CollapsibleIfStatements | This if statement could be combined with its parent | 274–277 |
EmptyCatchBlock | Avoid empty catch blocks | 331–333 |
EmptyCatchBlock | Avoid empty catch blocks | 337–339 |
EmptyCatchBlock | Avoid empty catch blocks | 432–434 |
EmptyCatchBlock | Avoid empty catch blocks | 1172–1174 |
EmptyCatchBlock | Avoid empty catch blocks | 1177–1179 |
EmptyCatchBlock | Avoid empty catch blocks | 1192–1194 |
org/newsclub/net/unix/AFTIPCSocketAddress.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 681–683 |
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 | 443–447 |
org/newsclub/net/unix/AFVSOCKSocketAddress.java
Rule | Violation | Line |
---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 391–393 |
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/InterruptibleChannelUtil.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 58–61 |
CollapsibleIfStatements | This if statement could be combined with its parent | 116–118 |
CollapsibleIfStatements | This if statement could be combined with its parent | 128–130 |
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 | 281–283 |
EmptyCatchBlock | Avoid empty catch blocks | 394–396 |
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 |
org/newsclub/net/unix/VirtualThreadPollerNaive.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 91–94 |
CollapsibleIfStatements | This if statement could be combined with its parent | 146–148 |
org/newsclub/net/unix/pool/ConcurrentQueueObjectPool.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 88–96 |
EmptyControlStatement | Empty if statement | 90–96 |
Priority 4
org/newsclub/net/unix/AFAddressFamily.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFAddressFamily': 'triggerInit' is already in scope | 125 |
org/newsclub/net/unix/AFDatagramChannel.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 154 |
UselessParentheses | Useless parentheses. | 171 |
UselessParentheses | Useless parentheses. | 188 |
UselessParentheses | Useless parentheses. | 214 |
org/newsclub/net/unix/AFGenericSocketAddress.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 155 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFGenericSocketAddress': 'of' is already in scope | 175 |
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 | 90 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.channels': 'Pipe' is already in scope because it is imported in this file | 134 |
org/newsclub/net/unix/AFSYSTEMSocketAddress.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 252 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSYSTEMSocketAddress': 'of' is already in scope | 286 |
org/newsclub/net/unix/AFServerSocket.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 631 |
UselessParentheses | Useless parentheses. | 631 |
org/newsclub/net/unix/AFServerSocketChannel.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 122 |
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 | 204 |
UselessParentheses | Useless parentheses. | 205–206 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'unwrap' is already in scope | 385 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 576 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'mapOrFail' is already in scope | 662 |
UselessParentheses | Useless parentheses. | 848 |
UselessParentheses | Useless parentheses. | 1016 |
org/newsclub/net/unix/AFSocketChannel.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 214 |
UselessParentheses | Useless parentheses. | 241 |
UselessParentheses | Useless parentheses. | 268 |
UselessParentheses | Useless parentheses. | 303 |
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 | 517 |
UselessParentheses | Useless parentheses. | 625 |
UselessParentheses | Useless parentheses. | 819 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 1044 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 1056 |
UselessParentheses | Useless parentheses. | 1058 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 1063 |
UselessParentheses | Useless parentheses. | 1064 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 1065 |
UselessParentheses | Useless parentheses. | 1072 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 1073 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 1074 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 1075 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 1077 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_BINDADDR' is already in scope because it is inherited by an enclosing type | 1079 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 1081 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 1102 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 1123 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 1124 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 1144 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 1156 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 1168 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 1185 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 1186 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 1189 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 1196 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 1199 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 1202 |
UselessParentheses | Useless parentheses. | 1234 |
UselessParentheses | Useless parentheses. | 1247 |
org/newsclub/net/unix/AFTIPCSocketAddress.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 201 |
UselessParentheses | Useless parentheses. | 630 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFTIPCSocketAddress': 'of' is already in scope | 661 |
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 | 67 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'ofNewTempFile' is already in scope | 87 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 188 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'of' is already in scope | 392 |
UselessParentheses | Useless parentheses. | 538 |
org/newsclub/net/unix/AFVSOCKSocketAddress.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 342 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFVSOCKSocketAddress': 'of' is already in scope | 371 |
UselessParentheses | Useless parentheses. | 518 |
UselessParentheses | Useless parentheses. | 531 |
org/newsclub/net/unix/NativeLibraryLoader.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 518 |
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 | 104–106 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFAddressFamily': 'triggerInit' is already in scope | 4 | 125 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 148–150 |
org/newsclub/net/unix/AFCore.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 94–96 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 132–134 |
EmptyControlStatement | Empty if statement | 3 | 404–408 |
org/newsclub/net/unix/AFDatagramChannel.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 154 |
UselessParentheses | Useless parentheses. | 4 | 171 |
UselessParentheses | Useless parentheses. | 4 | 188 |
UselessParentheses | Useless parentheses. | 4 | 214 |
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 | 552–554 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 558–560 |
org/newsclub/net/unix/AFGenericSocketAddress.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 155 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFGenericSocketAddress': 'of' is already in scope | 4 | 175 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 195–197 |
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 | 90 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.nio.channels': 'Pipe' is already in scope because it is imported in this file | 4 | 134 |
org/newsclub/net/unix/AFSYSTEMSocketAddress.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 252 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSYSTEMSocketAddress': 'of' is already in scope | 4 | 286 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 306–308 |
org/newsclub/net/unix/AFSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty else statement | 3 | 346–348 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 371–374 |
org/newsclub/net/unix/AFServerSocket.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 517–519 |
UselessParentheses | Useless parentheses. | 4 | 631 |
UselessParentheses | Useless parentheses. | 4 | 631 |
org/newsclub/net/unix/AFServerSocketChannel.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 122 |
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 | 204 |
UselessParentheses | Useless parentheses. | 4 | 205–206 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'unwrap' is already in scope | 4 | 385 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 401–412 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 4 | 576 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'mapOrFail' is already in scope | 4 | 662 |
UselessParentheses | Useless parentheses. | 4 | 848 |
UselessParentheses | Useless parentheses. | 4 | 1016 |
org/newsclub/net/unix/AFSocketChannel.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 214 |
UselessParentheses | Useless parentheses. | 4 | 241 |
UselessParentheses | Useless parentheses. | 4 | 268 |
UselessParentheses | Useless parentheses. | 4 | 303 |
org/newsclub/net/unix/AFSocketCore.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 145–147 |
org/newsclub/net/unix/AFSocketImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyCatchBlock | Avoid empty catch blocks | 3 | 115–117 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 137–139 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 143–145 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 146–148 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 153–155 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 274–277 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 331–333 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 337–339 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 432–434 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 4 | 517 |
UselessParentheses | Useless parentheses. | 4 | 625 |
UselessParentheses | Useless parentheses. | 4 | 819 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 1044 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 4 | 1056 |
UselessParentheses | Useless parentheses. | 4 | 1058 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 1063 |
UselessParentheses | Useless parentheses. | 4 | 1064 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 4 | 1065 |
UselessParentheses | Useless parentheses. | 4 | 1072 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 4 | 1073 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 4 | 1074 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 4 | 1075 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 4 | 1077 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_BINDADDR' is already in scope because it is inherited by an enclosing type | 4 | 1079 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 1081 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 1102 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 1123 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 4 | 1124 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 1144 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_LINGER' is already in scope because it is inherited by an enclosing type | 4 | 1156 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_TIMEOUT' is already in scope because it is inherited by an enclosing type | 4 | 1168 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1172–1174 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1177–1179 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_RCVBUF' is already in scope because it is inherited by an enclosing type | 4 | 1185 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_SNDBUF' is already in scope because it is inherited by an enclosing type | 4 | 1186 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_KEEPALIVE' is already in scope because it is inherited by an enclosing type | 4 | 1189 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 1192–1194 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'TCP_NODELAY' is already in scope because it is inherited by an enclosing type | 4 | 1196 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'IP_TOS' is already in scope because it is inherited by an enclosing type | 4 | 1199 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'SocketOptions': 'SO_REUSEADDR' is already in scope because it is inherited by an enclosing type | 4 | 1202 |
UselessParentheses | Useless parentheses. | 4 | 1234 |
UselessParentheses | Useless parentheses. | 4 | 1247 |
org/newsclub/net/unix/AFTIPCSocketAddress.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 201 |
UselessParentheses | Useless parentheses. | 4 | 630 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFTIPCSocketAddress': 'of' is already in scope | 4 | 661 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 681–683 |
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 | 67 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'ofNewTempFile' is already in scope | 4 | 87 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFSocketAddress': 'resolveAddress' is already in scope | 4 | 188 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFUNIXSocketAddress': 'of' is already in scope | 4 | 392 |
EmptyControlStatement | Empty if statement | 3 | 443–447 |
UselessParentheses | Useless parentheses. | 4 | 538 |
org/newsclub/net/unix/AFVSOCKSocketAddress.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 342 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AFVSOCKSocketAddress': 'of' is already in scope | 4 | 371 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 391–393 |
UselessParentheses | Useless parentheses. | 4 | 518 |
UselessParentheses | Useless parentheses. | 4 | 531 |
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/InterruptibleChannelUtil.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 58–61 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 116–118 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 128–130 |
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 | 281–283 |
EmptyCatchBlock | Avoid empty catch blocks | 3 | 394–396 |
UselessParentheses | Useless parentheses. | 4 | 518 |
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 |
org/newsclub/net/unix/VirtualThreadPollerNaive.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 91–94 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 146–148 |
org/newsclub/net/unix/pool/ConcurrentQueueObjectPool.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 88–96 |
EmptyControlStatement | Empty if statement | 3 | 90–96 |
Suppressed Violations
Filename | Rule message | Suppression type | Reason |
---|---|---|---|
org/newsclub/net/unix/AFCore.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
org/newsclub/net/unix/AFCore.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
org/newsclub/net/unix/AFDatagramSocket.java | This if statement could be combined with its parent | //nopmd | |
org/newsclub/net/unix/AFDatagramSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
org/newsclub/net/unix/AFDatagramSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
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/AFSelector.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
org/newsclub/net/unix/AFServerSocketChannel.java | Unnecessary qualifier 'Objects': 'requireNonNull' is already in scope | @suppresswarnings | |
org/newsclub/net/unix/AFSocketAddress.java | Avoid unused constructor parameters such as 'clazz'. | @suppresswarnings | |
org/newsclub/net/unix/AFSocketChannel.java | Unnecessary qualifier 'Objects': 'requireNonNull' is already in scope | @suppresswarnings | |
org/newsclub/net/unix/AFSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
org/newsclub/net/unix/AFSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
org/newsclub/net/unix/AFSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
org/newsclub/net/unix/AFSocketImpl.java | Avoid using a branching statement as the last in a loop. | //nopmd | .AvoidBranchingStatementAsLastInLoop virtualThreadLoop |
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) |