Issue #13501: Kill mutation for CommonUtil-2#13475
Merged
romani merged 1 commit intocheckstyle:masterfrom Aug 9, 2023
Merged
Conversation
Contributor
Author
|
Github, generate report |
Contributor
Contributor
Author
|
Github, generate report |
Contributor
nrmancuso
suggested changes
Jul 29, 2023
src/main/java/com/puppycrawl/tools/checkstyle/utils/CommonUtil.java
Outdated
Show resolved
Hide resolved
Contributor
Author
|
Github, generate report |
61 tasks
Contributor
Contributor
Author
|
Github, generate report |
romani
approved these changes
Aug 7, 2023
Member
romani
left a comment
There was a problem hiding this comment.
Ok to merge if ci and reports are good
Contributor
nrmancuso
approved these changes
Aug 8, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #13501: Kill mutation for CommonUtil-2
Mutation
checkstyle/config/pitest-suppressions/pitest-utils-suppressions.xml
Lines 246 to 262 in bb64c20
Explaination
This method is used in
checkstyle/src/main/java/com/puppycrawl/tools/checkstyle/checks/metrics/AbstractClassCouplingCheck.java
Lines 173 to 175 in f9df519
This method is used to set the property excludedPackages lets suppose if it is set empty then in filter commonUtil.isName never be call so the string never be empty it always true
Diff Regression config: https://gist.githubusercontent.com/Kevin222004/ccd588c72cd541ff98736f08dc687e43/raw/28c14aa0fdf848a5191761ffe4cbbea8c860a0a9/gist.xml
Diff Regression projects: https://gist.githubusercontent.com/Kevin222004/9600f179b602d4c971bdb0a050099005/raw/360a95ed7bb60d7a0956e531199d484c4d6f6617/test-projects.properties
Report label: New-Regression-2