PVS-Studio Analysis Results


Date:10/16/22 12:00:11
PVS-Studio Version:7.21.64848.1
Total Warnings (GA):215
Fails/Info:3
Group Location Level Code CWE Message
General Analysis ProfinetPlcDiscoverer.java:229 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis StaticHelper.java:1043 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis ProfinetPlcDiscoverer.java:258 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis Plc4xSourceTask.java:140 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 2.
General Analysis StaticHelper.java:1761 Low V6106 CWE-704 Casting expression to short type before implicitly casting it to other type may be excessive or incorrect.
General Analysis StaticHelper.java:1195 Low V6106 CWE-704 Casting expression to short type before implicitly casting it to other type may be excessive or incorrect.
General Analysis CachedDriverManager.java:160 Low V6070 CWE-662 Unsafe synchronization on 'this' instance in class 'CachedDriverManager'.
General Analysis StaticHelper.java:1560 Low V6106 CWE-704 Casting expression to short type before implicitly casting it to other type may be excessive or incorrect.
General Analysis Plc4xSourceTask.java:243 Low V6070 CWE-662 Unsafe synchronization on 'this' instance in class 'Plc4xSourceTask'.
General Analysis StaticHelper.java:1376 Low V6021 CWE-563 The value is assigned to the 'outputByte' variable but is not used.
General Analysis PlcUINT.java:99 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis Plc4XProducerTest.java:59 High V6033 CWE-462 An item with the same key '"test1"' has already been added.
General Analysis CachedDriverManager.java:67 Low V6102 CWE-662 Inconsistent synchronization of the 'queue' field. Consider synchronizing the field on all usages.
General Analysis AdsPlcDiscoverer.java:180 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis AdsProtocolLogic.java:164 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'readDeviceInfoResponse.getMajorVersion()': '%d' is required.
General Analysis AdsProtocolLogic.java:165 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'readDeviceInfoResponse.getVersion()': '%d' is required.
General Analysis Plc4XProducerTest.java:60 High V6033 CWE-462 An item with the same key '"test1"' has already been added.
General Analysis AdsProtocolLogic.java:253 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'sourceAmsNetId.getOctet2()': '%d' is required.
General Analysis StaticHelper.java:1055 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis AdsProtocolLogic.java:165 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'readDeviceInfoResponse.getMinorVersion()': '%d' is required.
General Analysis EipProtocolLogic.java:373 Medium V6013 CWE-595 Numbers 'structuredType' and 'CIPStructTypeCode.STRING.getValue()' are compared by reference. Possibly an equality comparison was intended.
General Analysis PlcWCHAR.java:110 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis CertificateGenerator.java:63 Medium V6021 CWE-563 Variable 'caKeys' is not used.
General Analysis CachedDriverManager.java:221 Low V6070 CWE-662 Unsafe synchronization on 'this' instance in class 'CachedDriverManager'.
General Analysis StaticHelper.java:1315 High V6007 CWE-570 Expression 'year >= 90' is always false.
General Analysis MessageResolver.java:77 High V6003 CWE-570 The use of 'if (A) {...} else if (A) {...}' pattern was detected. There is a probability of logical error presence.
General Analysis StaticHelper.java:1157 High V6007 CWE-570 Expression 'year >= 90' is always false.
General Analysis HexTest.java:267 Medium V6048 CWE-480 This expression can be simplified. Operand 'charRepresentation' in the operation equals 1.
General Analysis StaticHelper.java:1221 High V6007 CWE-571 Expression 'totalms > 999000' is always true.
General Analysis PlcDWORD.java:112 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis StaticHelper.java:1525 Low V6106 CWE-704 Casting expression to byte type before implicitly casting it to other type may be excessive or incorrect.
General Analysis Plc4xSinkTask.java:125 Medium V6021 CWE-563 Variable 'connectionName' is not used.
General Analysis EtsParser.java:83 High V6009 CWE-628 The 'substring' function could receive the '-1' value while non-negative value is expected. Inspect argument: 2.
General Analysis CertificateGenerator.java:64 Medium V6021 CWE-563 Variable 'userKeys' is not used.
General Analysis AdsProtocolLogic.java:815 High V6009 CWE-628 The 'substring' function could receive the '-1' value while non-negative value is expected. Inspect argument: 2.
General Analysis AdsProtocolLogic.java:772 High V6009 CWE-628 The 'substring' function could receive the '-1' value while non-negative value is expected. Inspect argument: 2.
General Analysis StaticHelper.java:558 Low V6106 CWE-704 Casting expression to byte type before implicitly casting it to other type may be excessive or incorrect.
General Analysis RandomPackagesTest.java:1706 High V6019 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis AdsPlcDiscoverer.java:158 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis StaticHelper.java:969 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis StaticHelper.java:1037 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis StaticHelper.java:1031 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis StaticHelper.java:1025 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis StaticHelper.java:963 Medium V6022 Parameter 'data' is not used inside method body.
Fail/Info BaseOptimizer.java:131 V061 The exception during analysis. See logs: F:/git-java/plc4x/.PVS-Studio/logs.
General Analysis StaticHelper.java:1206 Low V6021 CWE-563 The value is assigned to the 'tv' variable but is not used.
General Analysis StaticHelper.java:1207 Low V6021 CWE-563 The value is assigned to the 'tb' variable but is not used.
General Analysis FxmlController.java:104 Medium V6002 The switch statement does not cover all values of the 'TreeEntryType' enum: ROOT.
General Analysis IEC61131ValueHandler.java:195 Medium V6042 CWE-704 The expression is checked for compatibility with type 'java.lang.Integer' but is cast to type 'long'.
General Analysis IEC61131ValueHandler.java:175 Medium V6042 CWE-704 The expression is checked for compatibility with type 'java.lang.Short' but is cast to type 'long'.
General Analysis StaticHelper.java:1483 Medium V6021 CWE-563 Variable 'map' is not used.
General Analysis CANOpenProtocolLogic.java:379 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 2.
General Analysis KnxSpecificationStoreUpdater.java:128 Low V6008 CWE-690 Potential null dereference of 'jsonObject'.
General Analysis StaticHelper.java:2034 Medium V6022 Parameter 'encoding' is not used inside method body.
General Analysis JavaLanguageTemplateHelper.java:110 Low V6002 The switch statement does not cover all values of the 'SimpleBaseType' enum: VUINT, VINT, UNDEFINED.
General Analysis SecureChannel.java:913 Medium V6022 Parameter 'message' is not used inside method body.
General Analysis StaticHelper.java:1395 Low V6021 CWE-563 The value is assigned to the 'local' variable but is not used.
General Analysis StaticHelper.java:1240 Medium V6021 CWE-563 Variable 'ms' is not used.
General Analysis SecureChannel.java:964 Low V6103 CWE-391 Ignored InterruptedException could lead to delayed thread shutdown.
General Analysis StaticHelper.java:1676 Medium V6022 Parameter 'textlists' is not used inside method body.
General Analysis PlcUDINT.java:110 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis PlcUDINT.java:102 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis IEC61131ValueHandler.java:193 Medium V6042 CWE-704 The expression is checked for compatibility with type 'java.lang.Short' but is cast to type 'long'.
General Analysis PlcSINT.java:99 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis PlcEntityInterceptor.java:398 Medium V6022 Parameter 'proxy' is not used inside method body.
General Analysis StaticHelper.java:1473 Medium V6022 Parameter 'textlists' is not used inside method body.
General Analysis StaticHelper.java:1113 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis StaticHelper.java:1095 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis StaticHelper.java:1049 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis KnxHelper.java:52 High V6009 CWE-628 The 'substring' function could receive the '-1' value while non-negative value is expected. Inspect argument: 1.
General Analysis S7AlarmEvent.java:205 Low V6008 CWE-690 Potential null dereference of 'msg'.
General Analysis ProfinetProtocolLogic.java:166 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis PlcDINT.java:101 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
Fail/Info BACnetObjectsDefinitions.java:1113 V061 The exception during analysis. See logs: F:/git-java/plc4x/.PVS-Studio/logs.
General Analysis PlcDINT.java:93 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis OpcuaSubscriptionHandle.java:214 Low V6103 CWE-391 Ignored InterruptedException could lead to delayed thread shutdown.
General Analysis CachedDriverManager.java:267 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis EipProtocolLogic.java:595 Medium V6022 Parameter 'elements' is not used inside method body.
General Analysis AdsProtocolLogic.java:1087 High V6009 CWE-628 The 'substring' function could receive the '-1' value while non-negative value is expected. Inspect argument: 2.
General Analysis OPCUAServer.java:252 Low V6008 CWE-690 Potential null dereference of 'certificate'.
General Analysis EipProtocolLogic.java:142 High V6009 CWE-628 The 'substring' function could receive the '-1' value while non-negative value is expected. Inspect argument: 2.
General Analysis PlcCHAR.java:134 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) < Epsilon.
General Analysis KnxNetIpProtocolLogic.java:246 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'gatewayAddress.getSubGroup()': '%d' is required.
General Analysis KnxNetIpProtocolLogic.java:164 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'clientKnxAddress.getSubGroup()': '%d' is required.
General Analysis OpcuaProtocolLogic.java:946 Medium V6022 Parameter 'identifier' is not used inside method body.
General Analysis PlcLINT.java:90 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis OpcuaProtocolLogic.java:906 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis CBusProtocolLogic.java:59 Medium V6021 CWE-563 Variable 'request' is not used.
General Analysis KnxNetIpProtocolLogic.java:164 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'clientKnxAddress.getMiddleGroup()': '%d' is required.
General Analysis StaticHelper.java:1248 Low V6021 CWE-563 The value is assigned to the 'res' variable but is not used.
General Analysis JavaLanguageTemplateHelper.java:175 Low V6002 The switch statement does not cover all values of the 'SimpleBaseType' enum: VUINT, VINT, UNDEFINED.
General Analysis RequestTransactionManager.java:207 Low V6021 CWE-563 Variable 'closeable' is not used.
General Analysis PlcBYTE.java:104 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis EipProtocolLogic.java:295 Low V6021 CWE-563 The value is assigned to the 'length' variable but is not used.
General Analysis PollLoop.java:149 Medium V6022 Parameter 'addressString' is not used inside method body.
General Analysis StaticHelper.java:1019 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis IEC61131ValueHandler.java:157 Medium V6042 CWE-704 The expression is checked for compatibility with type 'java.lang.Short' but is cast to type 'int'.
General Analysis IEC61131ValueHandler.java:177 Medium V6042 CWE-704 The expression is checked for compatibility with type 'java.lang.Integer' but is cast to type 'long'.
General Analysis MessageValidatorAndMigrator.java:134 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis AbEthProtocolLogic.java:133 High V6037 CWE-670 An unconditional 'return' within a loop.
General Analysis CBusServerAdapter.java:457 High V6066 The type of object passed as argument is incompatible with the type of collection: Byte, Integer.
General Analysis OpcuaSubscriptionHandle.java:287 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis StaticHelper.java:1702 High V6013 CWE-595 Strings 'fields.group(1)' and '""' are compared by reference. Possibly an equality comparison was intended.
General Analysis StaticHelper.java:1499 High V6013 CWE-595 Strings 'fields.group(1)' and '""' are compared by reference. Possibly an equality comparison was intended.
General Analysis Plc4xAbEthProtocol.java:144 Low V6008 CWE-690 Potential null dereference of 'requestContainer'.
General Analysis StaticHelper.java:1194 Low V6106 CWE-704 Casting expression to short type before implicitly casting it to other type may be excessive or incorrect.
General Analysis AdsProtocolLogic.java:253 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'sourceAmsNetId.getOctet3()': '%d' is required.
General Analysis OpcuaSubscriptionHandleTest.java:522 High V6019 CWE-561 Unreachable code detected. It is possible that an error is present.
General Analysis OpcuaConfiguration.java:209 Medium V6021 CWE-563 Variable 'pkiDir' is not used.
General Analysis PlcUINT.java:107 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis HelloInflux.java:93 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis CBusServerAdapter.java:376 Low V6067 CWE-691 Two or more case-branches perform the same actions.
General Analysis PlcINT.java:97 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis PlcINT.java:105 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis PlcLTIME.java:42 Medium V6042 CWE-704 The expression is checked for compatibility with type 'java.lang.Integer' but is cast to type 'long'.
General Analysis AdsProtocolLogic.java:783 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 3.
General Analysis EipProtocolLogic.java:599 Low V6067 CWE-691 Two or more case-branches perform the same actions.
General Analysis S7Step7ServerAdapter.java:266 Medium V6048 CWE-480 This expression can be simplified. Operand 'shortValue >> 8' in the operation equals 0.
General Analysis AdsProtocolLogic.java:253 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'sourceAmsNetId.getOctet1()': '%d' is required.
General Analysis AdsProtocolLogic.java:254 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'sourceAmsNetId.getOctet6()': '%d' is required.
General Analysis BacNetIpProtocolLogic.java:127 Medium V6021 CWE-563 Variable 'apduError' is not used.
General Analysis StaticHelper.java:1107 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis PlcWCHAR.java:118 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis AbEthProtocolLogic.java:122 Medium V6021 CWE-563 Variable 'response' is not used.
General Analysis KnxNetIpProtocolLogic.java:468 High V6009 CWE-628 The 'substring' function could receive the '-1' value while non-negative value is expected. Inspect argument: 2.
General Analysis KnxNetIpProtocolLogic.java:470 High V6009 CWE-628 The 'substring' function could receive the '-1' value while non-negative value is expected. Inspect argument: 2.
General Analysis CBusServerAdapter.java:456 High V6066 The type of object passed as argument is incompatible with the type of collection: Byte, Integer.
General Analysis AdsProtocolLogic.java:608 Low V6036 CWE-457 The value from the uninitialized 'resolvedFields.values().stream().findFirst()' optional is used.
General Analysis Plc4xCommunication.java:128 Low V6067 CWE-691 Two or more case-branches perform the same actions.
General Analysis PlcBOOL.java:110 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis PlcBOOL.java:102 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis AdsProtocolLogic.java:1054 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'curArrayLevel.getNumElements()': '%d' is required.
General Analysis PlcTIME.java:42 Medium V6042 CWE-704 The expression is checked for compatibility with type 'java.lang.Integer' but is cast to type 'long'.
General Analysis S7Step7ServerAdapter.java:296 Medium V6021 CWE-563 Variable 'writeVarRequestParameter' is not used.
General Analysis ModbusPlcDiscoverer.java:143 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis PlcDWORD.java:104 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis StaticHelper.java:1726 Low V6106 CWE-704 Casting expression to byte type before implicitly casting it to other type may be excessive or incorrect.
Fail/Info V061 Unable to start the analysis on 'plc4x-code-generation-protocol-base-mspec' module. By cause: 'Java heap space'.
General Analysis EipProtocolLogic.java:377 Medium V6021 CWE-563 The value is assigned to the 'index' variable but is not used.
General Analysis S7ProtocolLogic.java:406 Medium V6021 CWE-563 Variable 'request' is not used.
General Analysis KnxSpecificationStoreUpdater.java:151 Low V6008 CWE-690 Potential null dereference of 'files'.
General Analysis AdsProtocolLogic.java:1507 Medium V6021 CWE-563 Variable 'addressData' is not used.
General Analysis CBusServerAdapter.java:327 Medium V6021 CWE-563 Variable 'interfaceOptions2' is not used.
General Analysis CBusServerAdapter.java:354 Medium V6021 CWE-563 Variable 'baudRateSelector' is not used.
General Analysis S7ProtocolLogic.java:478 Medium V6021 CWE-563 Variable 'payload' is not used.
General Analysis KnxNetIpProtocolLogic.java:126 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'knxNetIpDriverContext.getGatewayAddress().getMiddleGroup()': '%d' is required.
General Analysis EipProtocolLogic.java:552 Medium V6021 CWE-563 Variable 'field' is not used.
General Analysis EipProtocolLogic.java:562 Low V6021 CWE-563 The value is assigned to the 'length' variable but is not used.
General Analysis AdsProtocolLogic.java:907 Low V6036 CWE-457 The value from the uninitialized 'resolvedFields.values().stream().findFirst()' optional is used.
General Analysis EvaluationHelper.java:33 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) < Epsilon.
General Analysis SecureChannel.java:1112 Medium V6021 CWE-563 Variable 'returnedEndpoints' is not used.
General Analysis Plc4xCommunication.java:137 Low V6067 CWE-691 Two or more case-branches perform the same actions.
General Analysis Plc4xCommunication.java:146 Low V6067 CWE-691 Two or more case-branches perform the same actions.
General Analysis AdsProtocolLogic.java:254 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'sourceAmsNetId.getOctet4()': '%d' is required.
General Analysis AdsProtocolLogic.java:254 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'sourceAmsNetId.getOctet5()': '%d' is required.
General Analysis StaticHelper.java:975 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis BaseFreemarkerLanguageTemplateHelper.java:223 Low V6008 CWE-690 Potential null dereference of 'typeRefRetriever'.
General Analysis SecureChannel.java:562 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis SerialPollingSelector.java:163 Low V6070 CWE-662 Unsafe synchronization on 'this' instance in class 'SerialPollingSelector'.
General Analysis OPCUAServer.java:131 Low V6008 CWE-690 Potential null dereference of 'file.getParentFile()'.
General Analysis WriteBufferBoxBased.java:224 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'value': '%b' is required.
General Analysis KnxNetIpProtocolLogic.java:127 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'knxNetIpDriverContext.getGatewayAddress().getSubGroup()': '%d' is required.
General Analysis SecureChannel.java:665 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis PlcUSINT.java:110 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis PlcUSINT.java:102 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis TriggerHandlerImpl.java:80 Low V6032 It is odd that the body of method 'checkS7TriggerVariable' is fully equivalent to the body of another method 'checkGenericTrigger'.
General Analysis Plc4xSinkTask.java:156 Low V6070 CWE-662 Unsafe synchronization on 'this' instance in class 'Plc4xSinkTask'.
General Analysis SecureChannel.java:650 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis SecureChannel.java:472 Medium V6022 Parameter 'opcuaMessageResponse' is not used inside method body.
General Analysis SecureChannel.java:133 High V6022 Parameter 'driverContext' is not used inside constructor body.
General Analysis SecureChannel.java:566 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis SecureChannel.java:581 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis KnxNetIpProtocolLogic.java:163 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'gatewayAddress.getSubGroup()': '%d' is required.
General Analysis StaticHelper.java:1999 Medium V6022 Parameter 'value' is not used inside method body.
General Analysis StaticHelper.java:1999 Medium V6022 Parameter 'io' is not used inside method body.
General Analysis S7ProtocolLogic.java:896 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 3.
General Analysis PlcSINT.java:107 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis FreemarkerLanguageOutput.java:164 Low V6008 CWE-690 Potential null dereference of 'outputFile.getParentFile()'.
General Analysis FreemarkerLanguageOutput.java:164 Low V6008 CWE-690 Potential null dereference of 'outputFile.getParentFile()'.
General Analysis Plc4xCommunication.java:115 Low V6067 CWE-691 Two or more case-branches perform the same actions.
General Analysis OpcuaConfiguration.java:214 Low V6008 CWE-690 Potential null dereference of 'ckp'.
General Analysis StaticHelper.java:1101 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis StaticHelper.java:1061 Medium V6022 Parameter 'data' is not used inside method body.
General Analysis PollLoop.java:149 Medium V6022 Parameter 'plcType' is not used inside method body.
General Analysis Plc4xSchemaFactory.java:63 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis TagData.java:28 Low V6049 Classes that define 'equals' method must also define 'hashCode' method. Class: 'TagData'.
General Analysis CBusServerAdapter.java:455 High V6066 The type of object passed as argument is incompatible with the type of collection: Byte, Integer.
General Analysis KnxNetIpProtocolLogic.java:125 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'knxNetIpDriverContext.getGatewayAddress().getMainGroup()': '%d' is required.
General Analysis CBusServerAdapter.java:458 High V6066 The type of object passed as argument is incompatible with the type of collection: Byte, Integer.
General Analysis OpcuaSubscriptionHandle.java:177 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis OpcuaSubscriptionHandle.java:395 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis PcapReplayChannel.java:116 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis StaticHelper.java:344 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis OpcuaSubscriptionHandle.java:324 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis CertificateGenerator.java:60 Medium V6021 CWE-563 Variable 'userKeys' is not used.
General Analysis Plc4xSourceTask.java:236 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis DefaultS7MessageProcessor.java:189 Medium V6022 Parameter 'pduSize' is not used inside method body.
General Analysis OpcuaSubscriptionHandle.java:411 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis SecureChannel.java:452 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis NettyChannelFactory.java:131 Low V6054 CWE-486 Classes should not be compared by their name.
General Analysis EipProtocolLogic.java:409 Medium V6013 CWE-595 Numbers 'structuredType' and 'CIPStructTypeCode.STRING.getValue()' are compared by reference. Possibly an equality comparison was intended.
General Analysis KnxNetIpProtocolLogic.java:246 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'gatewayAddress.getMainGroup()': '%d' is required.
General Analysis KnxNetIpProtocolLogic.java:207 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'knxNetIpDriverContext.getGatewayAddress().getSubGroup()': '%d' is required.
General Analysis KnxNetIpProtocolLogic.java:163 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'clientKnxAddress.getMainGroup()': '%d' is required.
General Analysis PlcCHAR.java:124 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) < Epsilon.
General Analysis CertificateGenerator.java:59 Medium V6021 CWE-563 Variable 'caKeys' is not used.
General Analysis Plc4xReadResponseRecordSet.java:60 Medium V6090 CWE-665 Field 'recordSchema' is being used before it was initialized.
General Analysis KnxNetIpProtocolLogic.java:205 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'knxNetIpDriverContext.getGatewayAddress().getMainGroup()': '%d' is required.
General Analysis KnxNetIpProtocolLogic.java:206 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'knxNetIpDriverContext.getGatewayAddress().getMiddleGroup()': '%d' is required.
General Analysis PlcLINT.java:98 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis PlcWORD.java:108 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis PlcWORD.java:100 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis KnxNetIpProtocolLogic.java:162 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'gatewayAddress.getMiddleGroup()': '%d' is required.
General Analysis KnxNetIpProtocolLogic.java:246 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'gatewayAddress.getMiddleGroup()': '%d' is required.
General Analysis KnxNetIpProtocolLogic.java:162 High V6046 CWE-686 Incorrect format. Incompatible types for argument 'gatewayAddress.getMainGroup()': '%d' is required.
General Analysis OpcuaSubscriptionHandle.java:205 Medium V6046 CWE-685 Incorrect format. A different number of format items is expected. Arguments not used: 1.
General Analysis PlcBYTE.java:112 Low V6096 CWE-682 An odd precise comparison. Consider using a comparison with defined precision: Math.abs(A - B) > Epsilon.
General Analysis OpcuaSubscriptionHandle.java:104 Low V6067 CWE-691 Two or more case-branches perform the same actions.