Skip to content

algorithms-y - #4

Merged
krotname merged 45 commits into
mainfrom
algorithms-y
Jun 9, 2026
Merged

algorithms-y#4
krotname merged 45 commits into
mainfrom
algorithms-y

sprint 6

bff3bb6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 2, 2026 in 31s

Quality Gate failed

Annotations

Check warning on line 3 in src/main/java/algorithms/sprint5/Solution.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a private constructor to hide the implicit public one.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfV9LoLvvXVa7xgO&open=AZ58YfV9LoLvvXVa7xgO&pullRequest=4

Check failure on line 30 in src/main/java/algorithms/sprint2/Calculator.java

See this annotation in the file changed.

@sonarqubecloud 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=krotname_Codewars&issues=AZ58YfVYLoLvvXVa7xfp&open=AZ58YfVYLoLvvXVa7xfp&pullRequest=4

Check warning on line 204 in src/main/java/algorithms/sprint6/WaterWorld.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfUyLoLvvXVa7xfO&open=AZ58YfUyLoLvvXVa7xfO&pullRequest=4

Check warning on line 88 in src/main/java/algorithms/sprint0/Utils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfUiLoLvvXVa7xfB&open=AZ58YfUiLoLvvXVa7xfB&pullRequest=4

Check failure on line 243 in src/main/java/algorithms/sprint5/PyramidSort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "timofey" 4 times.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfWFLoLvvXVa7xgS&open=AZ58YfWFLoLvvXVa7xgS&pullRequest=4

Check warning on line 91 in src/main/java/algorithms/sprint2/Calculator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfVYLoLvvXVa7xfn&open=AZ58YfVYLoLvvXVa7xfn&pullRequest=4

Check warning on line 139 in src/main/java/algorithms/sprint4/FindSystem.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfU6LoLvvXVa7xfT&open=AZ58YfU6LoLvvXVa7xfT&pullRequest=4

Check warning on line 202 in src/main/java/algorithms/sprint3/FastSort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfVQLoLvvXVa7xfk&open=AZ58YfVQLoLvvXVa7xfk&pullRequest=4

Check warning on line 0 in src/main/java/algorithms/sprint5/Solution.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this file to a named package.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfV9LoLvvXVa7xgN&open=AZ58YfV9LoLvvXVa7xgN&pullRequest=4

Check warning on line 18 in src/main/java/algorithms/sprint5/PyramidSort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfWFLoLvvXVa7xgU&open=AZ58YfWFLoLvvXVa7xgU&pullRequest=4

Check warning on line 230 in src/main/java/algorithms/sprint6/DorogayaSet.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfUrLoLvvXVa7xfK&open=AZ58YfUrLoLvvXVa7xfK&pullRequest=4

Check warning on line 121 in src/main/java/algorithms/sprint1/SleightOfHand.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfVoLoLvvXVa7xf-&open=AZ58YfVoLoLvvXVa7xf-&pullRequest=4

Check warning on line 57 in src/main/java/algorithms/sprint0/SlidingAverage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfSpLoLvvXVa7xek&open=AZ58YfSpLoLvvXVa7xek&pullRequest=4

Check warning on line 201 in src/main/java/algorithms/sprint8/Crib.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ6JxodtwcirgbXUK-cV&open=AZ6JxodtwcirgbXUK-cV&pullRequest=4

Check failure on line 241 in src/main/java/algorithms/sprint5/PyramidSort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "gosha" 4 times.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfWFLoLvvXVa7xgT&open=AZ58YfWFLoLvvXVa7xgT&pullRequest=4

Check warning on line 30 in src/main/java/algorithms/sprint0/Zip.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfUVLoLvvXVa7xer&open=AZ58YfUVLoLvvXVa7xer&pullRequest=4

Check warning on line 200 in src/main/java/algorithms/sprint2/Deque.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this String concatenation with Text block.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfVgLoLvvXVa7xf0&open=AZ58YfVgLoLvvXVa7xf0&pullRequest=4

Check warning on line 158 in src/main/java/algorithms/sprint2/Deque.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfVgLoLvvXVa7xfy&open=AZ58YfVgLoLvvXVa7xfy&pullRequest=4

Check warning on line 74 in src/main/java/algorithms/sprint0/Zip.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfUVLoLvvXVa7xew&open=AZ58YfUVLoLvvXVa7xew&pullRequest=4

Check warning on line 39 in src/main/java/algorithms/sprint4/FindSystem.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfU6LoLvvXVa7xfU&open=AZ58YfU6LoLvvXVa7xfU&pullRequest=4

Check warning on line 214 in src/main/java/algorithms/sprint5/PyramidSort.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfWFLoLvvXVa7xgR&open=AZ58YfWFLoLvvXVa7xgR&pullRequest=4

Check warning on line 167 in src/main/java/algorithms/sprint7/LevenshteinDistance.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ6CRLiLFWFuAXZ_L8Qh&open=AZ6CRLiLFWFuAXZ_L8Qh&pullRequest=4

Check warning on line 94 in src/main/java/algorithms/sprint0/SlidingAverage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfSpLoLvvXVa7xeq&open=AZ58YfSpLoLvvXVa7xeq&pullRequest=4

Check failure on line 33 in src/main/java/algorithms/sprint6/WaterWorld.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfUyLoLvvXVa7xfP&open=AZ58YfUyLoLvvXVa7xfP&pullRequest=4

Check warning on line 52 in src/main/java/algorithms/sprint1/Solution2.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of System.out by a logger.

See more on https://sonarcloud.io/project/issues?id=krotname_Codewars&issues=AZ58YfV1LoLvvXVa7xgM&open=AZ58YfV1LoLvvXVa7xgM&pullRequest=4