Closed CodingDepot closed 2 months ago
Attention: Patch coverage is 89.65517%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 77.46%. Comparing base (
d0c45be
) to head (f137a7a
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
The
Only
- andNever
-Evaluators have a lot of overlap in their logic, which makes sense regarding their very similar purpose. However, this also causes them to use duplicated code to achieve the same result.Furthermore, over time slight differences in the implementations emerged which makes it increasingly annoying to implement changes for both Evaluators. For example, the
Only
-Evalutor created apass
-Finding for each valid call while theNever
-Evaluator did not. Combining both evaluators makes it more easy to keep the functionality synchronized while still allowing for smaller differences depending on the chosen functionality.This PR also includes an example for a new functionality for both Evaluators. Each finding generated by a
Never
- orOnly
- Evaluator will now include usages of the code asrelatedLocations
.