Issue #13109: Kill mutation for MultipleVariableDeclarationsCheck#13197
Conversation
|
Github, generate report |
|
Github, generate report |
57fa60e to
47e3287
Compare
|
https://app.circleci.com/pipelines/github/checkstyle/checkstyle/18962/workflows/ecff56cf-2820-438a-ae44-8bb5be478e44/jobs/309926 similar error noticed in multiple pr |
|
Github, generate report |
|
Github, generate report |
47e3287 to
fd0a037
Compare
|
@Kevin222004 This is not the correct analysis, you missed 2 test cases: void method4() {
int c = // violation 'Only one variable definition per line allowed.'
12; int a = 1;
int cb = 12; java. // violation 'Only one variable definition per line allowed.'
lang.String
asd = "123";
} This is being detected by the code in the master branch, but since you resort to I don't think the current logic is redundant, please use the above-mentioned test cases killing the mutation. |
fd0a037 to
b203ae3
Compare
Yes you are right I missed this test and my calculation become wrong |
bde4677 to
c1356b7
Compare
|
@Kevin222004 , please resolve conflict and and lets finalize review. |
c1356b7 to
b6cb59f
Compare
|
Circleci is restarted |
Issue #13109: Kill mutation for MultipleVariableDeclarationsCheck
Check
https://checkstyle.org/config_coding.html#MultipleVariableDeclarations
Mutation
checkstyle/config/pitest-suppressions/pitest-coding-2-suppressions.xml
Lines 66 to 82 in 3f25c37
Explaination
Test added
Regression
Report-1 :- https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/47e3287_2023184215/reports/diff/index.html
Report-2 :- https://checkstyle-diff-reports.s3.us-east-2.amazonaws.com/47e3287_2023211141/reports/diff/index.html
Diff Regression config: https://gist.githubusercontent.com/Kevin222004/201dae231798cb048eca902b7b21d6ea/raw/6655ab3c5cff01a88fcbc704e671b6be0c441a98/MultipleVariableDeclarationsCheck.xml
Diff Regression projects: https://gist.githubusercontent.com/Kevin222004/21e3934e85f802e2fbd48af06d122364/raw/604256badd733d8568064f371d55657c04b00dfd/test-projects-2.properties
Report label: Latest-Report-2