Closed antonioaversa closed 2 years ago
Package | Line Rate | Branch Rate | Complexity | Health |
---|---|---|---|---|
MoreStructures | 100% | 100% | 1887 | ✔ |
Summary | 100% (4911 / 4911) | 100% (1453 / 1454) | 1887 | ✔ |
Minimum allowed line rate is 99%
A test would be appreciated. How can I know this is working?
A unit test showing the issue has been added in 1466850, together with other fixes for out-of-bounds issues, due to lack of check of indexes boundaries.
Without the fix, the test MoreStructures.Tests.Lists.Searching.BinarySearchTests.First_MiddleIndexOverflow
would fail with the following exception:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'Invalid index: -1073741725')
Package | Line Rate | Branch Rate | Complexity | Health |
---|---|---|---|---|
MoreStructures | 100% | 100% | 1900 | ✔ |
Summary | 100% (4941 / 4941) | 100% (1465 / 1466) | 1900 | ✔ |
Minimum allowed line rate is 99%
Package | Line Rate | Branch Rate | Complexity | Health |
---|---|---|---|---|
MoreStructures | 100% | 100% | 1903 | ✔ |
Summary | 100% (4952 / 4952) | 100% (1467 / 1468) | 1903 | ✔ |
Minimum allowed line rate is 99%
Package | Line Rate | Branch Rate | Complexity | Health |
---|---|---|---|---|
MoreStructures | 100% | 100% | 1903 | ✔ |
Summary | 100% (4952 / 4952) | 100% (1467 / 1468) | 1903 | ✔ |
Minimum allowed line rate is 99%
Package | Line Rate | Branch Rate | Complexity | Health |
---|---|---|---|---|
MoreStructures | 100% | 100% | 1903 | ✔ |
Summary | 100% (4952 / 4952) | 100% (1467 / 1468) | 1903 | ✔ |
Minimum allowed line rate is 99%
Kudos, SonarCloud Quality Gate passed!
Minimum allowed line rate is
99%