[client-v2] Error handling #2804
Quality Gate failed
Failed conditions
78.9% Coverage on New Code (required ≥ 80%)
Annotations
Check warning on line 1503 in client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ0m9TEzIqNXeWr2gTBl&open=AZ0m9TEzIqNXeWr2gTBl&pullRequest=2804
Check warning on line 1605 in client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ0m9TEzIqNXeWr2gTBm&open=AZ0m9TEzIqNXeWr2gTBm&pullRequest=2804
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ1P9o7PhtHiJuRVnda_&open=AZ1P9o7PhtHiJuRVnda_&pullRequest=2804
Check warning on line 1458 in client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ0m9TEzIqNXeWr2gTBk&open=AZ0m9TEzIqNXeWr2gTBk&pullRequest=2804
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ1P9o7PhtHiJuRVndbA&open=AZ1P9o7PhtHiJuRVndbA&pullRequest=2804
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ0m9TGxIqNXeWr2gTBp&open=AZ0m9TGxIqNXeWr2gTBp&pullRequest=2804
Check warning on line 1419 in client-v2/src/test/java/com/clickhouse/client/HttpTransportTests.java
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "Thread.sleep()".
See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ0m9TEzIqNXeWr2gTBj&open=AZ0m9TEzIqNXeWr2gTBj&pullRequest=2804
sonarqubecloud / SonarCloud Code Analysis
Replace generic exceptions with specific library exceptions or a custom exception.
See more on https://sonarcloud.io/project/issues?id=ClickHouse_clickhouse-java&issues=AZ0m9TGxIqNXeWr2gTBo&open=AZ0m9TGxIqNXeWr2gTBo&pullRequest=2804