Skip to content

Extract galloping methods into static GallopingStrategy class

Codacy Production / Codacy Static Code Analysis required action Sep 22, 2024 in 0s

1 new issue (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 1
           

Complexity increasing per file
==============================
- Algorithms/Sorters/Utils/GallopingStrategy.cs  4
- Algorithms.Tests/Sorters/Utils/GallopingStrategyTests.cs  1
- DataStructures.Tests/Hashing/HashTableTests.cs  1
         

Clones added
============
- Algorithms/Sorters/Utils/GallopingStrategy.cs  2
         

See the complete overview on Codacy

Annotations

Check warning on line 10 in Algorithms.Tests/Sorters/Utils/GallopingStrategyTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Algorithms.Tests/Sorters/Utils/GallopingStrategyTests.cs#L10

Make 'comparer' 'readonly'.