Fix IPv6 endpoint handling in client and ops tools#18291
Quality Gate failed
Failed conditions
E Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 121).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0LvkHhDvP3uqTMz&open=AZ-OR0LvkHhDvP3uqTMz&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof LocalDate localdate'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0ACkHhDvP3uqTMq&open=AZ-OR0ACkHhDvP3uqTMq&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 131).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORz0rkHhDvP3uqTMa&open=AZ-ORz0rkHhDvP3uqTMa&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '162'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0CkkHhDvP3uqTMs&open=AZ-OR0CkkHhDvP3uqTMs&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'getTTLTables' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORzhIkHhDvP3uqTMU&open=AZ-ORzhIkHhDvP3uqTMU&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Fix this access that will throw a NullPointerException when executed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0EZkHhDvP3uqTMt&open=AZ-OR0EZkHhDvP3uqTMt&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORz7JkHhDvP3uqTMk&open=AZ-ORz7JkHhDvP3uqTMk&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 75 to 64, Complexity from 15 to 14, Nesting Level from 5 to 2, Number of Variables from 11 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0JekHhDvP3uqTMx&open=AZ-OR0JekHhDvP3uqTMx&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Use an "AtomicInteger" for this field; its operations are atomic.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORz-HkHhDvP3uqTMp&open=AZ-ORz-HkHhDvP3uqTMp&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof QueryProcessException queryprocessexception'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0O4kHhDvP3uqTM6&open=AZ-OR0O4kHhDvP3uqTM6&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0LvkHhDvP3uqTMy&open=AZ-OR0LvkHhDvP3uqTMy&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 197).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0NEkHhDvP3uqTM4&open=AZ-OR0NEkHhDvP3uqTM4&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORz7JkHhDvP3uqTMi&open=AZ-ORz7JkHhDvP3uqTMi&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Fix this access that will throw a NullPointerException when executed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0EZkHhDvP3uqTMu&open=AZ-OR0EZkHhDvP3uqTMu&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof Reservation reservation'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0MbkHhDvP3uqTM0&open=AZ-OR0MbkHhDvP3uqTM0&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'fileTTLTables' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORzhIkHhDvP3uqTMS&open=AZ-ORzhIkHhDvP3uqTMS&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORz4xkHhDvP3uqTMg&open=AZ-ORz4xkHhDvP3uqTMg&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof ConfigTableNode configtablenode'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0JekHhDvP3uqTMw&open=AZ-OR0JekHhDvP3uqTMw&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Cast one of the operands of this addition operation to a "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORz-HkHhDvP3uqTMo&open=AZ-ORz-HkHhDvP3uqTMo&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof LocalDate[] localdateArray'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0ACkHhDvP3uqTMr&open=AZ-OR0ACkHhDvP3uqTMr&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 126).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0PnkHhDvP3uqTM9&open=AZ-OR0PnkHhDvP3uqTM9&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 130).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0PnkHhDvP3uqTM8&open=AZ-OR0PnkHhDvP3uqTM8&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORzxdkHhDvP3uqTMY&open=AZ-ORzxdkHhDvP3uqTMY&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Use "nextLong()" instead.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-ORz4xkHhDvP3uqTMh&open=AZ-ORz4xkHhDvP3uqTMh&pullRequest=18291
sonarqubecloud / SonarCloud Code Analysis
Use try-with-resources or close this "Reservation" in a "finally" clause.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-OR0NEkHhDvP3uqTM2&open=AZ-OR0NEkHhDvP3uqTM2&pullRequest=18291